Skip to content

FEATURE: Bowing (the drone) on the string engine #56

Open

Description

@Worldwave

Note

Reminder (Adara): edit this description once #52's engine work is in: the
engines.cnfg stack, the hyphenated engine names (string, modal), and the
"Bipolar parameters" wording.

Description

Plaits' string engine (slot 12 of the default stack in engines.cnfg) can be plucked or bowed. With nothing patched into TRIG, Plaits
excites the string continuously with dust noise instead of a pluck, so it drones like a bowed
string, and TIMBRE sets how dense the dust is. Wakes always treats TRIG as patched, so string
can only be plucked. The bowed sound can't be reached.

Adara's question: does LEVEL do anything on string? If not, could it drive bow density?

Module / Page

PLAITS: the string engine, and the modal engine, which has the same drone path. Both are in the default 16-engine stack (engines.cnfg).

Current Behaviour

What the code does (v0.8.2):

  • TRIG is always patched. sp1_synth.cc sets mods.trigger_patched = true, so Plaits never
    sees TRIGGER_UNPATCHED. The string's sustain input (string_engine.cc:
    parameters.trigger & TRIGGER_UNPATCHED) is always false, and the dust excitation never runs.

  • LEVEL is not idle on string. When LEVEL is connected, Plaits uses it as accent: the
    SETTINGS LEVEL fader above 5 %, MIDI velocity when it is bound to level in midi.cnfg (unbound by default since v0.8.2), or a Marbles route to LEVEL.
    voice.cc passes p.accent = compressed level, and string_voice.cc does three things with it:

    • brightness += 0.25 · accent · (1 − brightness)
    • damping += 0.25 · accent · (1 − damping), so the note sustains longer
    • scales the excitation by accent

    When LEVEL is not connected, accent is fixed at 0.8. String is an "already enveloped" engine, so
    the LPG is bypassed and LEVEL has no other effect. Repurposing LEVEL as bow density would
    take accent away from string, including what a velocity binding to level does to it.

  • Upstream's drone, for reference. It only runs on the active string. Dust density = TIMBRE⁴
    (density = brightness², brightness = TIMBRE²), at a rate of 0.00005 + 0.99995 · density²,
    with amplitude × accent.

    Unpatching TRIG in Plaits also changes other things in voice.cc:

    • no internal decay envelope on TIMBRE / MORPH / FM
    • the LPG is bypassed when LEVEL is unpatched too
    • the engine CV is followed continuously

    Modal's voice has the same sustain path.

Proposed Behaviour

To be decided. Options:

  • A. LEVEL → bow density on string (and modal). Costs those engines their accent.
  • B. A drone switch. A control that unpatches TRIG for string and modal, giving upstream's
    bowed/drone behaviour exactly, with TIMBRE as the density. It needs a control to live on,
    and a rule for PLAY, RWD, the FFWD burst, Marbles' TRIG routes and MIDI notes while it is on.
  • C. Drone on string and modal whenever TRIG is unrouted and silent. Probably not:
    behaviour that depends on routing state is what Adara called "unpredictable" when skipping unrouted outputs was proposed (BUG: Distortion costs so much CPU it causes crashing with some modes #22).

CPU: the dust excitation runs every sample on one string while droning. This is not measured
yet, and it needs Adara's yes before it ships.

Controls

To be decided with the option.

Version

v0.8.2

Activity

  1. added this to the M8 milestone on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new capability or behaviour

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions