scala.list
Examples
Arguments
scales [list]
The name of a scale from the scala archive stores that scale in an array of scales, indexed from 0.
You can also let scala.list choose a scale at random from the scala archive at codegen time, using the word
instead of a scale name. Watch the Max console to see which scale was picked.Note that the archive linked above may include recently-added scales not yet available in RNBO.
Inlets
input [number, bang]
A bang received in the inlet will output the scale at the current index. A number received in the inlet will set the index and output that scale.
Outlets
out [list]
Outputs the scale in list format. See the mtof reference for more information on this list format.
Fixed Attributes
These attributes must be set in the object box and determine the behavior of the object at runtime.
scales [list] (default: random)
The name of a scale from the scala archive stores that scale in an array of scales, indexed from 0.
You can also let scala.list choose a scale at random from the scala archive at codegen time, using the word
instead of a scale name. Watch the Max console to see which scale was picked.Note that the archive linked above may include recently-added scales not yet available in RNBO.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
input [number, bang]
A bang received in the inlet will output the scale at the current index. A number received in the inlet will set the index and output that scale.
See Also
Name | Description |
---|---|
mtof | Convert between MIDI notes and frequencies. |
ftom | Convert between frequencies and MIDI notes. |
scala.scl | Scala SCL parser |
scala.kbm | Scala KBM parser |
mtof | Convert a MIDI note number to frequency |
mtof~ | Convert a MIDI note number to frequency at signal rate |