mm.Player is a class that playes
Below you can play the same melody using each of the available players
You can start, stop, pause and unpause a Player:Play state:
You can update the tempo at which a
mm.Player is playing a
NoteSequence by calling
setTempo(). To see this,
start one of the melodies below, and adjust the tempo slider.
Using the SoundFont player, you can control the timing of the attack or the release of a key. This is useful if you need real-time note playing, rather than of a predetermined NoteSequence.
If you want to use a connected MIDI output, you can use a
to output to it: