fanboi
2008-08-04 04:19:09
yo. so i made this little finetuner script here so that when i hold down a momentary toggle button on my controller, it will send out pp/4, which is what i am looking for. i have it set up so that when i hit the trigger button it will activate the twiddler preset (as i call it :p), and otherwise have it deactivated.
now, all this is fine, but theres a catch: right now, it just sends out 1/4 of my cc values meaning that whenever i hit the trigger button it will jump from say value 112 to 28. hardly ideal behaviour.
so what i want is a way to know what cc my controller was currently at, then when i hit the trigger it will continue from this point upwards/downwards with the pp/4 rules, then when i release the trigger go back to normal behaviour.
basicly this will be a finetuner, so when i hit the trigger i will be able to make small adjustments, and when its not triggered big (or normal, if you wish).
with that said, heres my setup:
also, since im pretty new to this im not sure if this is the easiest way of doing this either, so yeah please.. bare with me eh?
edit: btw, the _Tweak preset is currently empty (or rather, its just a throughput) so theres no need to include it in the setup i guess.
now, all this is fine, but theres a catch: right now, it just sends out 1/4 of my cc values meaning that whenever i hit the trigger button it will jump from say value 112 to 28. hardly ideal behaviour.
so what i want is a way to know what cc my controller was currently at, then when i hit the trigger it will continue from this point upwards/downwards with the pp/4 rules, then when i release the trigger go back to normal behaviour.
basicly this will be a finetuner, so when i hit the trigger i will be able to make small adjustments, and when its not triggered big (or normal, if you wish).
with that said, heres my setup:
Code: Select all
--------------- Preset _Activate_Twiddler;
Translator 1: active
Options: stop=false
Incoming: MIDI B0 02 7F
Outgoing: activate preset "_Twiddler;"
Translator 2: active
Options: stop=false
Incoming: MIDI B0 02 7F
Outgoing: deactivate preset "_Tweak;"
Code: Select all
--------------- Preset _Twiddler;
Translator 1: tweak test 1
Options: stop=false
Incoming: MIDI B0 2B pp
Rules:
pp=pp/4
Outgoing: MIDI B0 2B pp
Code: Select all
--------------- Preset _Deactivate_Twiddler;
Translator 1: deactivate
Options: stop=false
Incoming: MIDI B0 02 00
Outgoing: activate preset "_Tweak;"
Translator 2: deactivate
Options: stop=false
Incoming: MIDI B0 02 00
Outgoing: deactivate preset "_Twiddler;"
edit: btw, the _Tweak preset is currently empty (or rather, its just a throughput) so theres no need to include it in the setup i guess.