Alphabot2 for micro:bit User Manual
26 / 76
PLAY A MELODY
Blocks for music can be found on Music package.
1. Place start melody repeat block to on start or forever
2. Choose one melody like birthday and set it to repeat once.
3. Download the script to your micro:bit and test if the melody is played.
【Tips】
sound is generated by shaking of object. People speak by shaking our vocal cord in
different frequency. Buzzer works in the same way, it generates different tones when
getting high/low level with different frequency from control board. You can change
the tone for different sounds.