surge-synthesizer / surge-rack

Take Surge and factor it into modules for VCV Rack
GNU General Public License v3.0
168 stars 13 forks source link

New Module - Dual Function. #638

Open Torinbob opened 1 year ago

Torinbob commented 1 year ago

A dual Function generator that has (at least) 5 modes:

Mode 1: AD Envelope (trigger) Mode 2: AHR Envelope (or maybe ASR?) - (gate) Mode 3: Cycle - a cycling AD envelope (in effect unipolar LFO) Mode 4: Burst - An LFO inside an envelope where frequency of cycles and length of envelope combine to create a burst Mode 5: LFO - A Surge LFO with Rate, Phase, Deform and Amplitude controls

For stage 1-3, the Rise and Fall of the envelope would be a continuous log>Lin>Exp curve, with Shape knobs for each segment.

Something like this:

Screenshot 2022-11-16 at 23 16 40
Torinbob commented 1 year ago

Pyer suggested maybe having both an ASR envelope (where sustain stage was based on gate length), and an AHD envelope (where hold stage was based on a knob setting). In the latter scenario there would only be one shape knob that shaped both Attack and Decay stages (as opposed to separate knobs for each with the ASR)

Given there are four knobs per channel, we could maybe even include an ADSR mode...

The Length in Burst mode could either be a time in seconds (so number of cycles depends on frequency) or a fixed number of N cycles (so time it takes to complete depends on frequency and N)

Note: Maybe better to swap the trig/gate and Main Out and the EOR/EOC out rows around.

baconpaul commented 11 months ago

So @Torinbob just peeking at this

I think the items will need a clock and a trigge/gater; the clock sets tempo for tempo sync the trigger/gate does trigger/gate

so I propose having the inputs for each cycle be trigger/gate and clock and the outputs being EOC and OUT where EOC is swappable to mean different end markers (either end of entire envelope or end of a segment in the burst repeat and ad modes).

Torinbob commented 11 months ago

@baconpaul - that all sounds very sensible. So just to check I understood right, The EOC could be set be be an EOR (End of Rise) instead in the settings?

baconpaul commented 11 months ago

Exactly. Just like the egxvca has lots of end options in 2.2

XtremeSounds commented 4 months ago

I like it