Prev Previous Post   Next Post Next
Old 10-19-2017, 12:09 AM   #1
wyged
Human being with feelings
 
Join Date: May 2017
Posts: 1
Default Toggle OSC values

So i have the following script:

@midimsg

msg1 == 0x90 ? + msg2 == 0x40 ? + msg3 == 0x7f ? oscsend (MQ_OSC,"/flash/1", 1);
msg1 == 0x80 ? + msg2 == 0x40 ? + msg3 == 0x7f ? oscsend (MQ_OSC,"/flash/1", 0);

When I push a key on APC Mini controller i get the OSC message "/flash/1 1.000(float)"

When I release the key, i get the message "/flash/1 0.000(float)".

Question:

How can i make it so that when i first press the key i will get "/flash/1 1.000(float)", and at the second press "/flash/1 0.000(float)" ?

Thanx
wyged is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.