enable/disable patch with midi

vj dobermann's picture

Hi,

I would like to enable and disable sprite patches (15 in total in the comp.) using midi protocole. In my case, my midi controler send a 0 to disable the patch and 127 to enable the patch.

Does someone knows how to do that ?

Thanks in advance

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

franz's picture
Re: enable/disable patch with midi

plug your midi to the enable pin of your sprite

vj dobermann's picture
Re: enable/disable patch with midi

i've founded how to do, i don't know if it's the correct way but it works fine ;)

PreviewAttachmentSize
qc_conditional.png
qc_conditional.png26.87 KB

-polygon's picture
Re: enable/disable patch with midi

a nice hack for making an on off button is using a counter and % 2 math patch.

see example.

in your case you should probably use one more math patch to divide by the max value of the midi button, to scale the range 0-127 to 0-1.

PreviewAttachmentSize
onoff.qtz3.33 KB