Feature request

41 views
Skip to first unread message

fjo...@gmail.com

unread,
Aug 24, 2014, 12:36:33 AM8/24/14
to midi-shap...@googlegroups.com
This is an amazing VST, it helped me strongarm a DJ controller into being the USB DAW controller I always wanted. Just one thing though, it would be amazing if you could use the variables as "state storage", that is being able to effect the variables from input instead of only vice versa.... maybe a drop down menu in place of the (y=) part of the formule (A&Y=) etc.... or some other means of manipulating the variables inside of formulas.... it would make me so very happy

Rob

unread,
Aug 24, 2014, 11:46:58 AM8/24/14
to midi-shap...@googlegroups.com
Hey glad your getting some use out of it. If you create a new mapping and set the output type to "Parameter" you can select which variable you want to control. I think you should be able to achieve what you're looking for with that but let me know if you have any issues.

fjo...@gmail.com

unread,
Aug 24, 2014, 9:17:51 PM8/24/14
to midi-shap...@googlegroups.com
You're right~ Thanks so much for the prompt reply. It was what I'm looking for, however there are still some issues. I'm trying to use the variables as binary switches, and my complicated formula (nesting two binary switches within one number, where the tens digit functioned as an 1/0 on/off, as did the ones digit for a seperate switch) didn't work, so i tried to simplify it. A is set to an Integer with min/max values of 0/1, and the function of my controller input sets the formula of y=if(a=1,0,1) but that doesn't work, though it should hypothetically? Am i missing something?
Many thanks

Rob

unread,
Aug 25, 2014, 1:07:41 PM8/25/14
to midi-shap...@googlegroups.com
What you're describing should work. How are you triggering the mapping? I'll attach a sample program (Toggle A.mssp) that toggles variable A every time the mod wheel (CC1) changes.

I'll also attach a program (Bitmask.mssp) that stores the state of toggles in one variable. Instead of useing the units column and 10s column like you tried this example uses to first bit and the second bit. MSS lets you do bitwise operations (& - And, | - Or, ^ - Xor) so that should simplify the equations. So to toggle bit 1 you could do something like:
(A^1) / 3

Note that I'm only dividing my 3 because that is the max value of the variable. To check whether the first bit is set you could do:
A & 1

In the sample program changing Mod or Pitch Bend will toggle a bit in A. When A changes, the state of each bit will be stored in the second and third variable.

Anyway let me know if you can get the simple case with just one toggle working.
Toggle A.mssp
Bitmask.mssp
Reply all
Reply to author
Forward
0 new messages