I am trying to play wav file using arduino and speaker I saw few examples (ex. http://playground.arduino.cc/Code/PCMAudio). But I don't understand few things and at least one of them is fundamental for succeding in that task.
I understand that having x bit audio at y sample means:
- I must play x samples per second.
- Each sample should be played for 1/y seconds.
I manged to convert my audio to 8 bit 8000 Hz byte array. I don't understand what are those 8 bit values. (I know they are sample values but what does they mean). What am I supposed to do with them to play sample? Are they max voltage % or something?