Simulator: This function only works on the Calliope mini and in some browsers.
Rest
Rest (play no sound) through pin PO
for the amount of time you say.
music.rest(400)
Parameters
ms
is a number saying how many milliseconds the Calliope mini should rest. One second is 1000 milliseconds.
Example
let frequency = music.noteFrequency(Note.C)
music.playTone(frequency, 1000)
music.rest(1000)