Cv plugin requests

There are 2 plugins i would really like to see:

CV to MIDI: Basically just the inverse of “MIDI to CV mono”. It has a gate, pitch, and (optional) velocity input, and a midi output. On a rising edge on gate it sends a “note on” command with the note and velocity corresponding to the pitch and velocity inputs at that point in time. On the falling edge it sends the “note off” command

Sample and Hold: On a rising edge on the gate input, it samples another cv input and outputs that value constantly until the next rising edge on the gate

PS I am willing to try to develop these plugins myself. Is there a guide somewhere to help me get started, and would it be possible to see the source code of the “MIDI to CV mono” plugin?

3 Likes

This last part is easy, source for it and other CV plugins is in GitHub - mod-audio/mod-cv-plugins: Control Voltage Plugins

Cardinal / Rack has a CV to MIDI internal plugin, starting around Cardinal/plugins/Cardinal/src/HostMIDI.cpp at main · DISTRHO/Cardinal · GitHub
So maybe works as inspiration

2 Likes

I made a very crude version using PD/hvcc and it kind of works, but proper gate detection is a bit hard using our limited objects.

The quickest way would be to use CardinalMini and simply pass the two CV inputs to the Host Midi CV and Gate outputs and connect to its Midi Output port.

4 Likes