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 » 23 Sep 2019 22:48

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
Regular
Posts:52
Joined:15 May 2015 17:46
Contact:

Re: Midi Feedback Loop Problem

Post by midikinetics » 24 Sep 2019 15:35

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 » 24 Sep 2019 17:11

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 » 24 Sep 2019 20:38

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.94KiB)Viewed 5741 times
Fader Script.png
Fader Script.png (15.1KiB)Viewed 5741 times

midikinetics
Regular
Posts:52
Joined:15 May 2015 17:46
Contact:

Re: Midi Feedback Loop Problem

Post by midikinetics » 28 Sep 2019 08:41

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 » 29 Sep 2019 16:41

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
Regular
Posts:52
Joined:15 May 2015 17:46
Contact:

Re: Midi Feedback Loop Problem

Post by midikinetics » 03 Oct 2019 15:51

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