Page 1 of 1

Implementation of midi fader start

Posted: 25 Jul 2022 19:53
by Alexandre
Hello,
I want to implement a fader start system using a midi controller with faders.
I want the next track to load when I reach the bottom and that the track plays when I rise the fader.
I've tried to do it by using the command PLS_CURRENT_PLAYPAUSE_D with auto unloading when I reach a value (ex : 8) and PLS_CURRENT_LOAD_A_NEXT when I reach 0.
Howver sometimes my controller miss some step (and therefore doesn't pass through the value 8) and the command won't start. So I'm looking for another way to implement a robust midi fader start, if you have an idea.

Have a good day,
Alexandre

Re: Implementation of midi fader start

Posted: 25 Jul 2022 23:58
by radio42
When your fader doesn’t pass exact values, you need to implement something like < threshold. Eg. If the fader at least passes a minimum value of 15, you could use a conditional expression:
LessEq(15)
See the user manual appendix for details.