note
Plays the given note name or midi number. A note name consists of
- a letter (a-g or A-G)
- optional accidentals (b or #)
- optional (possibly negative) octave number (0-9). Defaults to 3
Examples of valid note names: c, bb, Bb, f#, c3, A4, Eb2, c#5
You can also use midi numbers instead of note names, where 69 is mapped to A4 440Hz in 12EDO.
note("c a f e") note("c4 a4 f4 e4") note("60 69 65 64") note("fbb1 a#0 cbbb-1 e##-2").sound("saw")