cvOSCcv stepping problem

Hello everybody! I’m having trouble receiving OSC messages from a max patch to cvOSCcv module in vcv. The connection works for every channel but, as you can seen in the screenshot, all the datas arrive like there’s a bad timing issue. All the values are like after a sample&hold. The clipping of the data is hearable if you connect it to a vca, it’s really slow. From max I’e tried everything, but I’m quite sure the problem is not on that side. Can someone help me? Thank you very much. Fra

1 Like

You may be able to make it work for you by adjusting:

Send Frequency (Hz) - (as of v2.0.5)(Context Menu) Choose the default send frequency (if no trigger is present) in the context menu. The default is 100 Hz.

Change Threshold - (as of v2.0.8)(Context Menu) Choose the default send change threshold (if no trigger is present) in the context menu. The default is 0.05.

from the github readme

1 Like

Thanks for reply. Unfortunately I had already tried to change frequency and threshold but nothing affects the problem.

I suggest you first try triple-checking the OSC stream coming out of your source (Max), with something like Protokol(free), that will tell you definitively if it is transmitting what you think it is before it gets into VCVRack.

Then, assuming that looks OK, suggest you contact the cvOSCcv module developer for further help. I just took a very quick look through the code , on the OSC → CV receiving route, I cannot see any sampling / sample rate reductions. It should get each received OSC message packet, then handles them in the process() function (so at full VCV audio rate).

The “Send Frequency” and “Change Threshold” settings are for when you are using cvOSCcv to convert from CV to OSC (outbound), so thats why they would not have had any effect afaik.

exactly, I got the direction wrong.

for the inputs, the sensitivity is not exposed in the GUI, but the parameter is configurable.

rightclick the cvOSCcv module to copy preset.

paste it into a plaintext editor, edit and copy paste into the rack module.

modify “channelSensitivity” in “inputchannels”

... 

"inputChannels": [
  {
    "chNum": 1,
    "path": "/ch/1",
    "dataType": 1,
    "convertVals": 0,
    "clipVals": 0,
    "minV": -5.0,
    "maxV": 5.0,
    "minOSC": 0.0,
    "maxOSC": 1.0,
    "channelSensitivity": 0.004999999888241291
  },

...

According to github, that parameter is only used in one place in the code base:

This is in the code that handles CV → OSC afaik, not OSC → CV.

Also that function valChanged() is never used (according to Github), the cvOSCcv module uses the valChanged(float threshold) which is set by that change threshold setting.

The clipping of the data is hearable if you connect it to a vca, it’s really slow.

This makes me wonder if @frapellegrino86 is trying to send an audio stream from Max to VCVRack via OSC ? What sample rate / data change rate are you trying to transmit from Max to VCVRack ?