Skip to content

Music

Stl.Music

Import

import "_IVLS/std-library/nodes/components/music.ksp"

Node: Stl.Music

Uses: Init

Overview

Stl.Music

Music theory data library providing scale, tuning, and degree tables for Kontakt instruments.

- 42 named musical scales with semitone interval arrays (`scale_table`)
- Short and long display name arrays for all scales
- 11 microtuning presets with per-semitone cent offsets (`microtunings`)
- Short and long display name arrays for all tunings plus a Custom slot
- Scale degree to semitone and semitone to degree conversion arrays
- `scale_fill` working buffer for scale computation

Constants

Constant Value Description
music.NUM_SCALES 42 integer
music.MAX_NOTES_PER_SCALE 8 integer
music.NUM_TUNINGS 11 integer

API

Name Description
node Stl.Music Pure data node providing scale, tuning, and degree reference tables under the m...

Nodes

node Stl.Music

Callbacks: Init

Pure data node providing scale, tuning, and degree reference tables under the music family.


Example

// TODO: Add usage example

See Also