Summary of [Said Alyami] – [Funny Cartoon Sounds with a twist] arduino
This project creates a cartoon sound effects controller using two Arduinos and Pure Data (Pd). Four photo sensors trigger specific saved sound files, while a fifth sensor adjusts playback speed. The system allows users to play loops of sounds like Crazy Frog or Oompa Loompa by blocking light on sensors, with independent speed control for each track.
Parts used in the Funny Cartoon Sounds Controller:
- Hard disk for saving 4 sound files
- Crazy Frog sound file
- Bird is the Word sound file
- Oompa Loompa sound file
- Guitar chord sound file
- Arduino1 microcontroller
- Arduino2 microcontroller
- Four photo sensors for Arduino1
- One photo sensor for Arduino2
- Pure Data (Pd) software patch
Introduction
My project is about providing multiple saved cartoon sounds then do funny effect on them through controlling the speed of play either faster or slower.
it contains 4 sound files: Crazy Frog, Bird is the Word “by Family Guy”, oompa loompa “by Willy Wonka movie”, and a guitar chord to give one of the cartoon background sounds.
Functional Description
The project work through saving 4 sound files on hard disk to be called when operating, Arduino1 work through Com port 5 and its connected to 4 photo sensors , each one of them will work as a switch to be On when its dark to the value (SensorValue/4)> 100 which is very dark , and will be Off when less than that value.
The second Arduino is connected through Com 6 and work on one photo sensor that will provide the value for changing the speed of playing any sound file up and down , depending on the value of the sensor reading. Making it possible to play different files with one hand on one Arduino and control the speed of the playing through the other hand on the other Arduino.
on the Pd, I have created a sound player that play in loops so that when playing one file, you don’t need to replay the file again and again.
Technical Description
I could do the function of the 4 sensors on Arduino 1 through Switches, however I preferred to use photo sensors to get more knowledge about that and make it more cool about controlling the On-Off function.
The Pd patch work on 2 active com port, for com port 1 that tells the patch which sensor is pressed, I let the arduino send specific value for each sensor in ASCII, for file 1 which is triggered through sensor 1 the value sent is 48 , for file 2 and sensor 2 the value is 49 , for sensor 3 and 4 the vlues are 50 and 51. when there is no sensor is triggered then the default value is 88
For more detail: [Said Alyami] – [Funny Cartoon Sounds with a twist]
- How does the system determine when a sensor is active?
A sensor works as an On switch when its value divided by four is greater than 100, indicating it is very dark. - What happens if no sensor is triggered on the first Arduino?
The system sends a default ASCII value of 88 to the Pd patch when no sensor is triggered. - Can I control the playback speed of the sounds?
Yes, a second Arduino connected to a photo sensor changes the playing speed up or down based on the sensor reading. - How many sound files are included in this project?
The project contains exactly four sound files stored on the hard disk. - Why were photo sensors chosen over physical switches?
The author preferred photo sensors to gain more knowledge about them and make the control mechanism cooler. - How does the Pd patch handle repeated sound playback?
The patch plays files in loops so the user does not need to replay the file repeatedly. - Which communication ports do the Arduinos use?
Arduino1 uses Com port 5 and Arduino2 uses Com port 6. - What values does Arduino1 send to identify specific sensors?
It sends ASCII values 48, 49, 50, and 51 corresponding to sensors one through four respectively.