Notes from Frequencies
You can use musical note frequencies in the chart below for the tone block’s f parameter to play music.

Example:

This block plays a B6 note for half of a second. Using this chart, you’re able to create songs with the piezospeaker and the cyber:bot.
The notes to the first line of the Happy Birthday song go in the following order: D – D – E – D – G – F. Matching the notes with their frequencies, we can make the following program.
Example project: happy_birthday
This example project plays out the first line of “Happy Birthday.”
- Set the project’s name to happy_birthday, enter the blocks below, and then click Download.
- Set PWR to 1.

Did you hear your cyber:bot play Happy Birthday?
- Set PWR to 0.