Implementation of midi fader start

You have a question or need an advice about how to do something? Ask it here!
Post Reply
Alexandre
Posts: 3
Joined: 12 Dec 2020 10:46
Implementation of midi fader start

Post 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
User avatar
radio42
Site Admin
Posts: 8349
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Implementation of midi fader start

Post 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.

Post Reply