Skip to content

pkgs/audio/songs

Stores built-in song, note, tempo, voice and metronome definitions, and render scores as PCM chunks.

Go API References

Core structure and main function

SymbolFunction
Song / Note / VoiceExpress song metadata and multi-voice notes.
Tempo / TimeSignature / MetronomeDescribe the beat and time structure.
BeatNote / BeatVoice / NConstruct a melody with beats.
All / ByID / ByNameIndex built-in songs.
RenderOptions / DefaultRenderOptionsConfigure PCM render.
VoiceToChunkRender voice to the specified PCM format.

The Songs package has built-in musical notation and synthesis logic, but does not own playback devices, user playlists, or product resource storage.