Mutable Instruments Beads code

That reminds me, I need to test the other versions more.

Is anyone working on implementing polyphony yet?

I think @oliver.wagner mentioned this somewhere, maybe on the VCV sub-Reddit.

That would be incredible.

I’ve got a few large patches nearly lined up for Audible Instruments, which hopefully Vortico will approve for the plugin. Includes re-sync to the complete upstream DSP code + VCV work-arounds. Beads I’ve got completely working, Plaits-1.2 as well, sizable rework effort on Marbles to get it in line with actual hardware. Although Marbles +high step Y is elusive because of out-of-bounds memory. Also includes fixes such as getting decimation settings on Braids and other small issues all throughout the plugin.

Anyway, I did notice Hemmer’s Beads adds randomization per module – probably a good call to add that.

Polyphony is definitely out of scope for a clone, but it could be achievable. I am not sure that would go into the “Audible Instruments” plugin though.

If anyone wants to take a look through this – I could use either testing or feedback on it. If you’ve got large patches that are heavily Audible Instruments inspired just loading those and seeing if this all works would help.

I was just looking at adding the Beads code in until it snowballed into looking at full re-sync with upstream.

If anyone is willing to test this and doesn’t want to make their own installs – I can also make platform builds for these as well. The Plaits 1.2 branch includes all the above work in total.

I would like to test them, but I need windows binaries.

Robot Boy runs fine on Windows, from Github or the library.

Not sure if I found a bug but it seems like with the 1.2 firmware and alternative navigation both checked, when I try to use the new models like 6-OP FM 1, editing the LGP response/decay doesn’t do anything.

Does this mean it’s out of scope for the official clone, or just in general? Guessing it could be done in alternative versions, a la Sanguine Mutants for example :wink:

Unless there’s a technical reason that makes it difficult, or CPU performance issues for example.

What I meant is its unlikely the hardware clone versions (in Audible Instruments) would go down the road of Polyphony, but people who’ve already cloned beads might have it or be adding it now. I just meant specifically within the one plugin.

Rayliam,

I completely understand the confusion on the LPG setting, that one actually caught me by surprise too while I was playing around with it. Turns out this one is by design though, here’s some extra details about how the LPG is configured.

Plaits 1.2: When the LPG Applies

The low-pass gate is skipped whenever lpg_bypass is true (eurorack/plaits/dsp/voice.cc:236). That happens in one of two ways:

  1. The engine reports that its output is already enveloped.
  2. Neither LEVEL nor TRIG is patched.

The Rack module passes the patched flags straight through from the firmware (src/Plaits.cpp:636-637) and doesn’t change them.

Always bypassed

These engines are registered with already_enveloped = true in voice.cc:43-68. They make their own decay envelope, so the LPG never applies, and the LPG response/decay settings do nothing for them.

New 1.2 bank:

  • 6-op FM (all three slots: banks 1, 2 and 3)

Percussive bank:

  • Inharmonic string (modal string / Karplus)
  • Modal resonator
  • Analog bass drum
  • Analog snare drum
  • Analog hi-hat

Bypassed only in some conditions

These engines change the flag while they render.

Chiptune (chiptune_engine.cc:73): the LPG is bypassed when TRIG is patched, because the engine’s clocked arpeggiator envelopes itself. With TRIG unpatched, the LPG behaves normally.

  • TRIG unpatched (chord mode): OUT plays a full chord and AUX plays the bass. The engine’s own envelope is off, so the LPG applies as it does for most models.
  • TRIG patched (arpeggiator mode): each trigger steps the arp and resets an internal decay envelope. The TIMBRE attenuverter sets the envelope, not DECAY:
    • At center, notes hold until the next trigger.
    • Turning it either way shortens the decay.
    • Clockwise also applies the envelope to the bass on AUX. Counter-clockwise leaves the bass steady.
  • Gotchas:
    • Patching TIMBRE CV while TRIG is patched turns the internal envelope off, but the LPG stays bypassed, so the arp plays with no envelope.
    • The LEVEL CV and the DECAY/LPG response settings have no effect in arp mode.

Speech (speech_engine.cc:71,124): the LPG is bypassed only when both of these are true:

  • HARMONICS is in the word-bank region (the upper ⅔, LPC words).
  • TRIG is patched, so the engine replays the word’s prosody.

In the naive, SAM or LPC phoneme region, or with TRIG unpatched, the LPG still applies.

LPG applies normally

Every other model goes through the LPG whenever LEVEL or TRIG is patched:

  • VA-VCF
  • Phase distortion
  • Wave terrain
  • String machine
  • Classic VA
  • Waveshaping
  • 2-op FM
  • Grain / formant
  • Additive
  • Wavetable
  • Chords
  • Swarm
  • Filtered noise
  • Particle noise

Applies to every model

If neither LEVEL nor TRIG is patched, the LPG is bypassed for all engines (!level_patched && !trigger_patched).

Thanks for the response. That’s why I wasn’t sure if it was a bug or not because I could understand how the LPG may not apply for those FM sounds. But still felt like I should ask anyway.

I’ll most likely make a version; but I don’t know when :slight_smile:

Agree with all this, latest build should be fixed. I think it’s superseded by PlasmaChroma’s version, but pushing for completeness (also because my fork also has Ripples (2020) and other tweaks which I like)! :slight_smile:

Oh wow, I’ll have to check out Ripples on your build Hemmer. How accurate do you think your modelling is, that one is completely analog isn’t it? Or is it pretty much the original Ripples algorithm shaped into the update? I’m curious about the high-pass section.

For some reason your patch crashes my Windows box

Hemmer build

Thread 20 received signal SIGSEGV, Segmentation fault.
[Switching to thread 20 (Thread 24496.0x219c)]
plaits::Voice::Render (this=0x4c1910f8, patch=..., modulations=..., frames=0x4ae7f3a0, size=12) at eurorack/plaits/dsp/voice.cc:118
118         e->Reset();

PlasmaChroma build

Thread 20 received signal SIGSEGV, Segmentation fault.
[Switching to thread 20 (Thread 22104.0x573c)]
0x00007fff24b9808a in plaits::Voice::Render (this=0x4c06aac8, patch=..., modulations=..., frames=0x4ae6f360, size=12) at eurorack/plaits/dsp/voice.cc:233
233       bool already_enveloped = pp_s.already_enveloped;

(post deleted by author)

There’s a load of detail in this thread: Pole Mixing and Mutable Instruments Ripples (2020) clone

Basically involved sitting down with the two schematics and working out what had changed from Ripples v1. Fun project!

hmmm, very odd
 No windows box to test here.

So one thing that occurs to me here, if you’re switching out for different versions of Audible Instruments – it’s likely that you’re going to encounter some enumeration differences in IDs, particularly for something that isn’t really settled yet between these going forward. I wouldn’t count on patch comparability here due to divergent changes in it.

If a patch was originally made using the old official library version that should continue to work though as I’ve tried not to break that case.