Repository navigation
Description
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 updated after FEATURE: Config files move to Wakes' storage #52 (v0.8.2, PR v0.8.2: config files on the drive (#52) #57)
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.ccsetsmods.trigger_patched = true, so Plaits never
seesTRIGGER_UNPATCHED. The string'ssustaininput (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 tolevelinmidi.cnfg(unbound by default since v0.8.2), or a Marbles route to LEVEL.
voice.ccpassesp.accent = compressed level, andstring_voice.ccdoes 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 toleveldoes to it. -
Upstream's drone, for reference. It only runs on the active string. Dust density = TIMBRE⁴
(density = brightness²,brightness = TIMBRE²), at a rate of0.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
sustainpath.
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