pxt-calliope/docs/reference/music.md

16 lines
185 B
Markdown
Raw Normal View History

2016-04-05 22:23:42 +02:00
# Music
```cards
music.playTone(0, 0);
music.ringTone(0);
music.rest(0);
2016-04-05 22:54:48 +02:00
music.noteFrequency(Note.C);
2016-04-05 22:23:42 +02:00
music.beat();
music.tempo();
music.changeTempoBy(20);
music.setTempo(120);
```