Skip to main content

Module program

Module program 

Source
Expand description

Top-level program AST nodes (directives, pattern lines).

Structs§

ArrangeItem
One entry in an arrange line: a section and how many times in a row.
FxCall
A call on an engine filter: the name the performer wrote, plus its arguments.
GroupDef
An instrument group (§7): member patterns share one bus filter chain.
PanSweep
A swept stereo position: pan sine 4, pan sq 1 0.6, pan tri 0.5hz.
PatternDef
A pattern definition: [;] <name> <instrument> "<mini>" [@ span] [| transform ...]
PitchRoot
A pitch root (for scales/directives) — uppercase, with optional accidental.
Program
A complete parsed source file.
SectionDef
An instrument section (§8.2): a named block of a stated length in cycles.
Span
Where a line sounds inside its section — @ 3..8, @ 5.., @ ..4, @ 8.

Enums§

Accidental
Accidental applied to a pitch.
ArpMode
Arpeggiator mode.
FxArg
One argument to an FxCall.
FxValue
An argument’s value, which may travel across the line’s ramp span.
LfoRate
How fast an LFO runs.
LfoWave
LFO shapes available to a swept parameter.
NoteLetter
One of the seven note letters.
Ramp
A value that may travel over the line’s Transform::RampSpan.
RampCurve
How a range gets from one end to the other across the ramp span.
ScaleMode
Musical scale / mode.
SourceLine
A single parsed line from the source.
Transform
A transform applied after the mini-notation via |.