Skip to content

@liminal-hq/undertone / s

Function: s()

s(input): Pattern<ControlPatch>

Defined in: control.ts:59

Starts a pattern of synth voices or registered samples: a word matching one of the seven synth SoundTypes behaves exactly like sound(); any other word becomes a sample name (see samples.ts's registerSample()), validated against the registry at play time rather than here, since registration can happen after the pattern is built. Accepts a mini-notation string ("bd ~ [bd bd] sd", "<gm_acoustic_bass>").

Parameters

input

string

Returns

Pattern<ControlPatch>