#define c 3830 // 261 Hz
#define d 3400 // 294 Hz
#define e 3038 // 329 Hz
#define f 2864 // 349 Hz
#define g 2550 // 392 Hz
#define a 2272 // 440 Hz
#define b 2028 // 493 Hz
#define C 1912 // 523 Hz
As you can see, it shows note names, and frequencies for those notes. I am using a pizeo buzzer on Pin 9 of the Arduino. I was wondering if anyone new any MORE pizeo Note Names and their corosponding frequencies. As you can see, right here I have the C major scale. I would like to get the full C chromatic scale.
Does anyone know more Note names and their corrosponding frequencies? Thanks in advance!
Note that those other numbers are the cycle time in microseconds. To get them, invert the frequency (to get seconds per cycle) and multiply by 1,000,000 (to get microseconds per cycle).
johnwasser:
Did you even TRY Google? A quick search for "note frequencies" turned up a chart of 9 octaves of chromatic notes: Note Frequencies
Note that those other numbers are the cycle time in microseconds. To get them, invert the frequency (to get seconds per cycle) and multiply by 1,000,000 (to get microseconds per cycle).
I saw the page you linked to, but I did not know the second part. Thank you.