Spread the love

With a little bit of modification we can produce a Detuner Prefab that looks a little more “Moog” like in appearance, but still retains the ease of tuning obtained with preset steps. All we need is a Quantizer module, and a means of converting DSP Volts to a GUI text readout. The structure is shown below. There are a few value settings to take note of, but other than that no great surprises. I’ll take it section by section for the settings.

The Semitone Knob.

For this control as it covers a range of 1 octave we set the Knob so it has a maximum of 1 volt. The value is then fed into the Quantizer module which is set to steps of 0.08333 volts (0.8333 V = 1 Semitone). We then feed this into a divider with the Input 2 plug set to 0.08333, to a QTNVolts2GUIFloat converter, from there to a Float to Text converter (set the Decimal Places plug to 0) and finally to our ED Text module to display the Semitone number.

The Octave Knob.

For this control as it covers a range of +/- 3 octaves we set the Knob so it has a minimum of -3 volts and a maximum of 3 volts. The value is then fed into the Quantizer module which is set to steps of 1 volt (1 Volt per Octave). No divider is needed for this control, to a QTN Volt2GUIFloat converter, then to a
Patch Memory Float Out3, from there to a Float to Text converter (set the Decimal Places plug to 0) and finally to our ED Text module to display the Octave number.

The Fine Tune Knob.

For this control as it covers a range of +/- 1 Semitone (Yes the original is just up one semitone but I feel +/- 1 semitone is far more useful. we set the Knob so it has a minimum of -0.08333 volts and a maximum of of 0.08333 volts. The Quantizer module is not needed as we want continuous fine tuning, not steps. We then feed this into a divider with the Input 2 plug set to 0.08333, to a QTN Volts2GUIFloat converter, from there to a Float to Text converter (set the Decimal Places plug to 3) and finally to our ED Text module to display the fine tuning.

The end result:

Improving the Semitone readout.

Maybe you’re like me and have to work out which note corresponds to which number. There’s a way to get round this.
First you need to make sure the Knob has a Maximum value of 1 and not the default maximum of 10.
We convert the output of the quantizer to a GUI floating point value the same as the original knob, then the Float value is converted to Integer to feed to the Choice Plug on the Switch<Text module. This module is used to switch between the GUI Fixed String modules to display the note names in a text entry module.

The final layout using the notes option rather than semitone number.

Plugs on the Prefab “Module”

Visible: Set this one to “True”.
Label: The text label you want to have under the control.
Text ARGB: The colour of the text label and value in ARGB format.
BG ARGB: The background colour for the text label and value.
Write Label: Only set this to true when you want to change the label text.
Black/White Scale: Sets the scale around the control to black or white.
Decimal Places: Only really needed on the Fine Tune control. Otherwise leave the value set at 0.