Midi Feedback Loop Problem

Discuss Lemur and share techniques.
Post Reply
jcblemur
Newbie
Posts: 18
Joined: 23 Mar 2017 18:22

Midi Feedback Loop Problem

Post by jcblemur »

Hi Everyone,

I want to use my Lemur for my midi CC faders with Cubase, which is easy. But I also want the Lemur faders to move just like flying faders would on a console. That way my MIDI CC data is represented on the Lemur. When I try and do this, I keep running into feedback issues. Any advise?
midikinetics
Newbie
Posts: 41
Joined: 15 May 2015 17:46
Contact:

Re: Midi Feedback Loop Problem

Post by midikinetics »

You need some way to disambiguate between when your finger is on the control or not. Typically this is done with the `z` expression of a fader. So in the script where you send MIDI, say something like `if (z) { ctlout(...) }`
jcblemur
Newbie
Posts: 18
Joined: 23 Mar 2017 18:22

Re: Midi Feedback Loop Problem

Post by jcblemur »

That's exactly what I'm looking for!

I didn't know z did that. Thanks!
jcblemur
Newbie
Posts: 18
Joined: 23 Mar 2017 18:22

Re: Midi Feedback Loop Problem

Post by jcblemur »

Okay, so I think I'm almost there, but it's not exactly right yet. I've posted some screen shots of what I'm doing, maybe someone can help?
Attachments
Midi Input.png
Midi Input.png (8.94 KiB) Viewed 5033 times
Fader Script.png
Fader Script.png (15.1 KiB) Viewed 5033 times
midikinetics
Newbie
Posts: 41
Joined: 15 May 2015 17:46
Contact:

Re: Midi Feedback Loop Problem

Post by midikinetics »

Not sure exactly what you're trying to do, but I think you need only change On Expression to `x`.
jcblemur
Newbie
Posts: 18
Joined: 23 Mar 2017 18:22

Re: Midi Feedback Loop Problem

Post by jcblemur »

Hi midi kinetics.

What I'm trying to accomplish is have a fader that both sends and receives MIDI CC. However, I need to break the feedback loop that is created by this.

So what I'm trying to do is have the fader send out CC to Cubase only when I touch it. But I also want it to move when it receives CC Cubase. However when it is receiving CC from Cubase, it can't also send out CC. Otherwise the feedback loop will be complete.

Is that clear?

Basically a flying (motorized) fader with CC data.
midikinetics
Newbie
Posts: 41
Joined: 15 May 2015 17:46
Contact:

Re: Midi Feedback Loop Problem

Post by midikinetics »

Right, still should just be the need to change On Expression to `x` and then check for `z` to disambiguate between pressed/not pressed.
Post Reply