explanation Sound

           In this post we'll play around with sound. So we will need speakers to generate sound and simple musical tones. Basically, to make the speaker reads then we have to switch off the speakers according to the frequency of the sound we want to ring. Life and death of the speaker will make a spool of speaker vibrating (moving back and forth) and produce sounds with a certain tone.

Soudn

Sound


           A middle-class music sound around 440 Hz. Still remember what it Hz? Hz stands for Hertz. Hertz is the number of cycles per second. Thus, if we want to play music A middle class, then we have to turn on and turn off the speakers as each 440 times in one second.

           To switch off the speakers as much as 440 times each, we can use the delay function (). Previously we have to make the LED blink by utilizing delay. Our treatment of the LED will apply on the speakers, but with a faster tempo.

           How to calculate the delay that we need to get a cycle of 440 Hz (440 Hz tone) is a way:


           Why frequency multiplied by 2? Sound waves are waves of analog (analog signal) which is a sine wave. That is, one full cycle is 1 High / peak and low 1 / valley. High condition is when the speakers are turned on, while the low condition is when the speaker is turned off. Therefore, we need a second delay to 1 Hz. Because 440 Hz is 440 cycles, each cycle at 440 Hz multiplied by 2. Hopefully graphic below provides an understanding of how to determine the delay. The figure below merely examples 6 Hz because frequencies will not be heard by the human ear.

Siklus Frekuensi dan dela

Cycle Frequency and delay


Subscribe to receive free email updates:

0 Response to "explanation Sound"

Post a Comment