Combining CV and Pot Control in Pure Data

Hello!

I’m attempting to add CV control over pots that already exist in a Pure Data patch. With only the pots (Ctrl1 through Ctrl4), the patch works well when flashed to my Patch.Init. My thought was that I could add Ctrl5 through Ctrl8 to the same parameters to have control via CV, but it’s been a little more difficult than I thought. I have been able to make it work with Ctrl2 / Ctr6 (controlling pitch), but the same aproach doesn’t work with Ctrl1 / Ctrl5. I can use either or and it works great. When I add both, control over the pot goes away. I’ve tried a bunch of ways to combine the signal, but haven’t had any luck. Could someone advise me of a way to include both of these controls on a single parameter?

Thank you!

Some immediate observations:

Why do you have arguments for [exp~] ?
This object does an e^$input exponentiation for your signal.

It looks like you are trying to use [expr~] which is not supported.

I recommend that you convert all @hv_param controls to a [sig~] or [line~].
In Daisy these objects output a new value at every audio cycle which can interrupt some processing down the line.

Please read the Heavy tip-and-tricks as well.

To make Ctrl1 and Ctrl5 to work together you may need to put an explicit [+ ] to add them up?

Thank you for the exp~ advice, and for the Tips and Tricks link- There’s a bunch of great stuff in there that I now have saved for reference.

As far as using sig~ or line~ with @hv_param, where would you place it? The Tips and Tricks section mentions osc needing sig~ before the inlet- So maybe at the end of the line before the audio source?

using the + does work! I did try that previously and didn’t realize it was working. It’s because the pot is now acting as kind of a slew control. If it’s open all the way, the CV has little to no affect. That’s actually kind of cool and useful.

1 Like