Monthly Archives for May 2015
Resampling digitized audio
We have seen how to reduce the size of the digitized guitar string sound, to make it fit into the microcontroller Flash memory. Reproducing the original sound at the same frequency is easy: it just requires feeding the digitized values … Continue reading
Squeezing audio samples into Arduino memory
I digitized 6 seconds of a guitar string sound, on a single channel (i.e. monophonic) using a 44.1 kHz sampling rate, so the digitized sound contained: 44100 samples/s * 6 s = 264600 samples Each sample from my PC audio … Continue reading
How a PWM DAC works
We have seen that a sound is digitized using a microphone to transform it into an electric signal, then by reading the istantaneous voltage of that signal at regular intervals with an Analog to Digital Converter (ADC), getting a series … Continue reading