Ascene . Agraph . Aengine
. Anode
Songbook . Song
WSLoader . Sound Loaders
Random . Rhythm . TimeKeeper
MIDI . OSC . HID . Piano
Plot . Envelope . Util
Music Theory with Tonal
Wherein we present to the MusicAPI Song class interface. For more details on the
Songs.hzformat see here.Songs (and this API) are usually constructed and employed indirectly by Songbook.
| Method | Description |
|---|---|
constructor(astSong, astSongbook, songId) |
Creates a Song from that subset of the songbook representing a single song. Used by Songbook class to instantiate a Song. |
GetId() |
Returns the song id. |
GetName() |
Returns the song name. |
GetAnodeInits() |
Returns an array of AnodeInits defined within the song. |
async *Perform(iscene, anodeMap, optoins) |
A lower-level entrypoint to Perform a song via this MusicAPI. |