Tone Generator

The Tone Generator module allows you to use a Circuit Playground Bluefruit as a simple monophonic synthesizer.

  • Press a key on the piano keyboard at the bottom to play a corresponding note on the CPB's built-in speaker.
  • Try pressing keys in sequence to perform a song.

Frequency values

The Tone Generator's keyboard can play notes C4 through G5. Below, you can see the frequency values for each of the included notes.

Note Frequency(Hz) Wavelength(cm)
C4 261.63 131.87
 C#4/Db4  277.18 124.47
D4 293.66 117.48
 D#4/Eb4  311.13 110.89
E4 329.63 104.66
F4 349.23 98.79
 F#4/Gb4  369.99 93.24
G4 392.00 88.01
 G#4/Ab4  415.30 83.07
A4 440.00 78.41
 A#4/Bb4  466.16 74.01
B4 493.88 69.85
C5 523.25 65.93
 C#5/Db5  554.37 62.23
D5 587.33 58.74
 D#5/Eb5  622.25 55.44
E5 659.25 52.33
F5 698.46 49.39
 F#5/Gb5  739.99 46.62
G5 783.99 44.01
This guide was first published on Dec 16, 2019. It was last updated on Dec 16, 2019.
This page (Tone Generator) was last updated on Aug 06, 2020.