Stuck with a SynthEdit project?

Month: October 2024

Adding an ADSR Time readout to a Knob in Synthedit.

This is a question I have seen asked on the Synthedit group, and the Forum, so I thought it would be a useful sub-control & conversion prefab post to save others the hassle of re-inventing the wheel as it were. Whilst it’s a definite advantage in SE, not everyone is a mathematics wizard (including me!)

Converting voltage to time for the ADSR2 module.

The heart of the process of adding a time readout for the Knob is using this small prefab Volts2-ADSR-Time. The conversion takes place in the Waveshaper2B module using the formula (10^(x * 0.4-3))*10 – (note the order of the brackets).
This method is not 100% accurate, but is close enough for our purposes.
once the input Voltage has been converted to the correct curve it’s then converted to a GUI float value, and from there to on converted to a text string, and displayed in the ED Text Entry box. By connecting the second text box to the PatchMemory Float3 module and changing its name to the appropriate Attack/Decay/Sustain label we have a convenient way of adding a control name to the Knob.

You don’t have to use one of the Vector knobs, you can just as easily use the standard sub control Image2 as a control knob.

I have made the prefab available as a download here but as you can see from the screenshots you will need some third party modules, and the vector control is only for V1.5.

Making a (very) basic Synthesizer in SynthEdit.

I’m covering this as (as when I first started out in SynthEdit there are a few little “gotchas” that can leave you scratching your head.

I’m getting no audio out, what’s “broken”?

It’s tempting to jump straight and in leave out the VCA and ADSR… if you do you may well not get any audio out of it, just a low frequency buzzing. Synthedit expects the VCA to be there, and to be connected to the Trigger and Gate plugs.

The ADSR isn’t triggering properly when I play quickly.

You must have both the Trigger, and the Gate connected for the ADSR to work correctly, these two signals work as follows;
Trigger: This is a short pulse received every time a key on the keyboard is depressed. This initiates the ADSR cycle.
Gate: This is necessary for the sustain portion of the ADSR envelope to be present. If it’s not connected then at best you’ll just get the Attack and Decay cycle, or it will just fail to work correctly .

The Tuner (AKA Detuner).

I recommend connecting this module up, and having a look at what goes on inside it, as it will give you an insight into how the 1 volt/Octave pitch to voltage works in SynthEdit. The octaves are just steps of one volt, and the fine tune knob is set with a maximum value of 0.083 V so that you can fine tune against other instruments, or if you have two oscillators you can vary the pitch of one to get a (very) basic chorus effect.
I have added a Level Adjust module on the output and fed this to the Pitch plug on the VCF, that gives us the classic “Moog” filter sweep sound especially with the Resonance or “Q” turned up to about 8 Volts.

I’m getting a pronounced click at the start of the note, why?

This often occurs when you have a very short (or zero) attack time set, it’s unavoidable, just set the attack time so the click disappears.

Measuring Pitch voltage.

I tried to measure the voltage on the Pitch plug on the MIDI-CV2 module and the readings don’t match what I would expect. Why is this?
Because of the way SynthEdit works you’ll just keep getting voltages coming and going as keys are depressed your Synth will work out what’s going on, but the voltmeter can’t make sense of it.
Likewise if you hook up the ‘scope to the VCO while you’re playing you will see multiple signals instead of one composite audio signal. This is normal, and is due to the way SynthEdit handles Polyphonic operation. You’ll only see a single signal if you force the Synth to operate as “Monophonic” i.e. one note at a time.