Page 1 of 1

Control voltage (CV) to OSC – how to "magnify" the signal?

Posted: Sun Apr 21, 2019 22:01
by subset
Hi there,

I'm working with a musician who can give me CV input that I'm able to convert to OSC and use in Resolume. However, the CV signal only gives me values in the 0-1.5 range.

Do any of you suggest a way to "translate" or "magnify" a CV or an OSC signal, say by multiplying it by ten or by mapping it on to a 0-100 range?

Thank you!

Re: Control voltage (CV) to OSC – how to "magnify" the signal?

Posted: Tue Apr 23, 2019 10:55
by Zoltán
Resolume expects OSC input for floats in the range of 0f-1f.

If all your CV inputs are converted to 0-1.5f, and you want to use the whole range of the CV input, try normalizing the values to 0-1f range, and send those values to Resolume.

Re: Control voltage (CV) to OSC – how to "magnify" the signal?

Posted: Thu May 09, 2019 02:22
by subset
Thank you for the reply, Zoltán!

Do you have any pointers on how to do the normalization/mapping?

Re: Control voltage (CV) to OSC – how to "magnify" the signal?

Posted: Thu May 09, 2019 07:44
by Zoltán
The mapping is described in this support article: https://resolume.com/support/en/osc

To get 0-1 float range, you take your digitized CV values, and divide that by the maximum value of the CV data. this will give you a number between 0 and 1. Then you can send this number as float to an OSC address to Resolume.