Go Down

Topic: what are the values for different tones? (Read 283 times) previous topic - next topic

TitusV

hey all, can anyone give me the numeric values for different tones for the tiny speakers on Arduino? as in, C = ?, D = ?. ask if you need more information.

slipstick

Search for "pitches.h". They're all in there.

Steve

DVDdoug

Musical Note Frequencies.

You'll have to round to integer (and I don't think you get 1Hz resolution).   And, if you are using a "tiny" amplified speaker or piezo speaker/transducer it won't produce the low octaves.  (You can't directly connect a 4 or 8-Ohm speaker.)

Go Up