Sound and Music
Reading MIDI files and finding melodies, for context.sound().
| Name | Description |
|---|---|
music.readMidi | The notes of a Standard MIDI File, given as bytes or Base64 (whitespace ignored). |
music.melody | The top line of notes: at each moment the highest note starting, unless a higher one still rings. |
music.hz | The frequency of a MIDI pitch, in hertz. |