ListTrig:
Filter:
Classes (extension) | UGens > Buffer

ListTrig : UGen : AbstractFunction : Object
ExtensionExtension

Emit a sequence of triggers at specified time offsets

Description

The data stored in the [Buffer] atbufnum should be a (single-channel) ordered list of time offsets in seconds. ListTrig will then emit a trigger signal (a single-sample value of 1, at control rate) at each of those times, which are measured from the beginning of the synth's existence, or from the most recentreset trigger (which also resets reading back to the beginning of the buffer).

Theoffset parameter can be used to modify the offsets globally. For example, to delay the list of values all by half a second, use anoffset of 0.5. (Theoffset value is only updated at initialisation or reset.)

Behaviour is undefined if the buffer's values are not in ascending order. If the buffer contains two or more adjacent equal values, it will skip over the duplicates (i.e. only one trigger will be output, and its value will still be 1).

numframes tells the UGen the size of the buffer. If not set, this will automatically be filled withBufFrames.kr(bufnum), which is typically what you want to use anyway.

Class Methods

Inherited class methods

Undocumented class methods

ListTrig.kr(bufnum: 0, reset: 0, offset: 0, numframes)

Instance Methods

Inherited instance methods

Examples