Hello,
I am trying to create a template that will allow me to control various functions within my DAW (Pro tools). So far everything is going great except when it comes to controlling pan knobs and I am not sure how to go about troubleshooting the problem.
When I pan a track left or right in my DAW, I also see it move in Lemur the same way...nice and smooth all the way from 0 (hard left) to 127 (hard right). However, when I turn the knob in Lemur, the panning in my DAW is very sporadic. First, it moves in the opposite direction of how I turn my knob. Second, it takes only a very small range of motion to make my panning go all the way right or left in my DAW. In other words, everything is reflected correctly when receiving data from my DAW but there is some problem with sending it. I have a suspicion that it may be because my knob is sending and receiving data at the same time causing erratic behavior. I set up a monitor object to monitor my knob but it dosen't seem helpful because everything shows up as normal both when I move it in Lemur or when it reacts to changes I make in my DAW. I feel like this is probably some sort of common problem with sending and receiving data at the same time but I'm not sure the appropriate search term for this to find a solution. Any thoughts?
Erratic Pan Knob Behavior
Re: Erratic Pan Knob Behavior
'Feedback'
'MIDI Feedback'
'MIDI Feedback'
Re: Erratic Pan Knob Behavior
^^
what he said, to avoid this, send in and out on diffrent cc's, and have a listener for the knobs z value to detect a touch.
listening to z will allow you to determine which takes precedence, if z == 1 lemur takes precedence, if z == 0, your DAW takes precedence
what he said, to avoid this, send in and out on diffrent cc's, and have a listener for the knobs z value to detect a touch.
listening to z will allow you to determine which takes precedence, if z == 1 lemur takes precedence, if z == 0, your DAW takes precedence
Re: Erratic Pan Knob Behavior
yep, this is sometimes necessary.Traxus wrote:listening to z will allow you to determine which takes precedence, if z == 1 lemur takes precedence, if z == 0, your DAW takes precedence
In other words, deactivate the knob's x mapping, create two scripts for the knob, one for input (executed on MIDI in), one for output (executed on x). In the input script start with if(z==1) return;, then add the input command (MIDI_ARGS). This will prevent any feedback from the host.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Re: Erratic Pan Knob Behavior
Thanks guys!
That gives me some good info about what to look for and try. I am not super familiar with all the aspects of scripting yet so it may take me some time to fully understand the approach you described...but I am slowly getting it. I appreciate your help!
That gives me some good info about what to look for and try. I am not super familiar with all the aspects of scripting yet so it may take me some time to fully understand the approach you described...but I am slowly getting it. I appreciate your help!