Hi, I made a patch that has a group of sliders and allows me to save my presets with ssad. The patch works ok, the problem is that when i use a midi controller.
when I'm playing with my midi controller and i change my preset in my patch and then i continue playing with my midi controller, the pd patch is gonna make a jump in the values of my slider, because my midi controllers has a memory and remember the last value it was playing.
I was wondering which is the best way to avoid this problem. is it possible to upload my data (preset) to my midi controller?
cheers
R.
On 29/08/13 11:28, Ronni Montoya wrote:
when I'm playing with my midi controller and i change my preset in my patch and then i continue playing with my midi controller, the pd patch is gonna make a jump in the values of my slider, because my midi controllers has a memory and remember the last value it was playing.
exactly how the midi controller works here depends on the controller, and how it is set up
I was wondering which is the best way to avoid this problem. is it possible to upload my data (preset) to my midi controller?
assuming the controller you are talking about is rotary knobs or sliders, then some of them have sliders with motors which will move the slider to match a value sent to that channel, but without motors obviously the position of the slider IS the memory of the last setting and you can't change that without using your fingers!
BUT with some controllers you can set them to not send data until you have moved the slider to match the last value you sent to that channel. Clumsy, but much better than jumping back to the old value as soon as you move the slider.
If you are a little careful the pd gui sliders and hardware motor sliders can be set to reflect each other and avoid fighting each other in a feedback loop.
With rotary encoders, if they are the type which can rotate endlessly then usually they just work easily, and if your controller has leds around the knob to indicate the channel's current value then these are updated when you send to that channel.
Rotary encoders with a fixed start and end point are like the sliders without motors, see above, they are fine when they are the only thing controlling a single channel, or when any new preset sent or channel switching is always to the fully up or down setting.
If you are talking about buttons, often the controller has options regarding what the send, if they act as toggles or send set values etc.
Simon