@audiotool/nexus - v0.0.12
    Preparing search index...

    Type Alias RasselbockPattern

    key value
    type entity
    key "rasselbockPattern"
    is

    A Rasselbock pattern, which turns effects and channels on or off for every pattern step.

    type RasselbockPattern = {
        channelPatterns: ArrayField<NexusObject<RasselbockRowPattern>, 5>;
        effectOrder: ArrayField<PrimitiveField<number, "mut">, 7>;
        effectPatterns: ArrayField<NexusObject<RasselbockRowPattern>, 7>;
        groove: PrimitiveField<NexusLocation, "mut">;
        length: PrimitiveField<number, "mut">;
        slot: PrimitiveField<NexusLocation, "immut">;
    }
    Index

    Properties

    Store of the channel pattern splitting the audio to secondary audio outputs.

    effectOrder: ArrayField<PrimitiveField<number, "mut">, 7>

    This list defines the order in which the effects are applied in this pattern. The i-th element defines the "magnitude" of that effect. The audio engine orders the list in magnitudes, and takes the original indices as orders.

    • Example: [0.5, 0.2, 10]
    • Sorted to: [0.2, 0.5, 10]
    • => Effect order: [ 1, 0, 2]
    key value
    default 0
    range full

    Storage of the step pattern of each effect row. The order of effects is independent of effect_order as follows:

    • 0: Shuffle
    • 1: Speed
    • 2: Stop
    • 3: Gate
    • 4: Stutter
    • 5: Scratch
    • 6: Reverse

    Every pattern can have a groove applied individually.

    key value
    default empty location
    required false
    targets api.TargetType.Groove, meaning one of:
    entities.Groove
    length: PrimitiveField<number, "mut">

    Length of the pattern in steps. One step is always 1/64th of a semibreve long.

    key value
    default 16
    range [1, 64]

    The pattern slot in the Rasselbock that this pattern belongs to.

    key value
    default no default, required
    required true
    targets api.TargetType.RasselbockPatternSlot, meaning one of:
    entities.Rasselbock.patternSlots
    immutable true