All functions for FM music.
Methods
-
inner NoteOff(voice, note, octave)
-
Stop playing a note.
Parameters:
Name Type Description voicenumber the voice between 0-8. notenumber the note frequency. octavenumber the octave. -
inner NoteOn(voice, note, octave)
-
Start playing a note.
Parameters:
Name Type Description voicenumber the voice between 0-8. notenumber the note frequency. octavenumber the octave. -
inner SetInstrument(voice, instrument)
-
Convert the contents of a JS object into an instrument and set the parameters to the given voice.
Parameters:
Name Type Description voicenumber the voice between 0-8. instrumentFmInstrument an instrument definition.