Scaling hertz to CV without using midi thru MOTU Ultralite soundcard. Microtonality. retune~

davidu's icon

Hey, I'm composing a track in which I'll want to read out the sound of an instrument using retune~, which gives pitch information in hertz. I would like to transpose the hertz to CV without using midi. So that I am not limited to a 12 tone scale.
I am using a MOTU UltraLite mk3 soundcard from which I would like to go directly to the CV input of the oscillator. Can anyone help me with a suitable formula for converting hertz to CV?
All the information on the web points me in the direction of expert sleepers or the use of a midi. For me, it is important to have a smooth transition between pitches. The instrument that will be the source is the violin so I do care about microtonality. I would like to point out that I am a beginner so please be understanding. Thank you in advance!

Source Audio's icon

do you know what voltage your hardware expects ?
if you know what freq min and max voltage
range produces, scale your frequency readout to that.
output using sig~

davidu's icon

I read somewhere on the web that Motu Ultralite mk3 has +/- 4.6V outputs, but i can't confirm it.
To be honest i don't know how to scale it right :(

Source Audio's icon

you need several infos.
in first place about hardware VCO that you want to use,
it's voltage range ( for example 0 - 5, -5 ~ +5 etc)
and if it is V/Oct based or Hz/v
then you use voltmeter and measure dc voltage output
on your Motu Ultralite.
in max use sig~ to set output for measurement.
----

I just measured Motu Audio Express mk2 outputs:
on line outs unbalanced it is - 5 ~ +5 volts
balanced -phase ~ + phase it is - 10 ~ + 10 volts

My measurement of Motu ultralite mk2 few years ago:
Motu ultralite outputs -4.6 to +4.6 volts DC for audio signal from -1. to +1. on line outs,
unbalanced. If one takes balanced out DC between - phase and + phase it is double,
-9.2 to +9.2 dc.On phones output it is -4.9 to + 4.9
If You need exact -5 to +5 volt could use balanced out, and scale cycle output.




davidu's icon

@source audio thx for help!

I will use feew eurorack oscillators (Verbos CO, HO, Xaoc Devices Odessa). All of them have 1 volt/octave trimmed CV inputs. I don't know the voltage range but it should be around 10V .

Do you know exactly what formula I can scale this with in my patch, assuming the output from the card is +/- 5V and the oscillator runs in Volt/Oct? I know I should do it myself but I clearly can't:(
I have attached a simple patch using retune~.

manmachine_pitch_cv_try1_5.maxpat
Max Patch

Source Audio's icon

if v out is -5 ~ 5 in 1v/oct, then you have range of
+/−5 octaves.

your receiving oscilator will have 0 v = some note.
let's say C4 / midi 60, freq 261.625565 Hz

C3 will be -1v, C5 +1v and so on.

Max Patch
Copy patch and select New From Clipboard in Max.