This forum is read-only. Please post new topics in our Q&A forum.

automatically fading controller on a button press

General discussion about MIDI Translator

Moderators: florian, DvlsAdvct

Post Reply
stoecklem
Power User
Posts: 22
Joined: Mon Nov 06, 2006 11:56 am

automatically fading controller on a button press

Post by stoecklem » Sat Mar 03, 2007 8:16 am

Hello

I was wondering what might be the best way to be able
to push a button(MIDI note on or keystroke) and then have that trigger a continuous controller fading from 0-127 at a defined rate. I push it again then it triggers the same fade each time.

I havent used MT in awhile, but I know that it might now include simple math, which you can increase the fader in increments triggered by timers.
It seems like this might require a lot of translators. Is this the only way to do this?

thanks

User avatar
florian
Bome Software: Founder
Posts: 2435
Joined: Thu Apr 28, 2005 10:09 pm
Location: Munich, Germany
Contact:

Post by florian » Tue Mar 13, 2007 9:46 am

Hi,

sorry for the late reply!

Your task is actually quite easy with Midi Translator Pro (public beta version available at http://www.bome.com/midi/translator/ ). You just need two translator entries:
  1. a translator entry for the trigger (button push), which will start the (periodical) timer with 127 repetitions. Also, in the Rules (aka step math), it will set a global variable (e.g. ga) to 0. The delay of this timer defines the rate of the fade.
  2. a translator entry that is triggered by the timer. With the Rules, it will increment ga (and limit it to 127 if it should exceed it). The Outgoing Action of this translator entry is then the MIDI message to send, with the variable as value parameter.
See http://www.bome.com/forums/viewtopic.php?t=432 for a more advanced example of how to do a fade with MT Pro.

Regards,
Florian

Post Reply