ashp
Seeker
Posts: 2
|
Post by ashp on Jul 25, 2019 19:42:42 GMT
Dear Community,
I'm looking for a way to implement single and double tap for AKAI AFX for buttons using Midifire iOS:
91 17 7F to 91 1B 7F for channel 2-5 if a button is pressed once the LED will light up if let's say second button is pressed (91 18 7F) LED for the other buttons reset to zero within that channel, if one of the buttons is double pressed then the LED flashes and Buttons 1D to 24 are shifted by 64 and sends out 91 81 7F or whatever velocity.
Also button 90 01 7F toggles channel shift from CH1 to CH6 and 90 02 7F toggles values in CH1 shifted to CH7 toggle with CH8 reset back to ch1 by toggling 90 01 7F
I know this may be a big ask but I've seen the Blue Velvet Scene in the scenes club that convinces me this may be possible. also is communication two way as I would like to keep LED feedback for the shifted values. please note this controller sends note on and velocity when a button is depressed and a note off zero velocity when a button is let go, pads act the same way with the velocity being from 1-127
Regards, Ash
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jul 26, 2019 8:00:34 GMT
Hi ashp , Yes, I think this is doable but would have to examine your requirements more closely. I'm offline for a week or so from today, so if no-one else has followed this up (most likely!) then I will have a look at this when I return. Regards, Nic.
|
|
ashp
Seeker
Posts: 2
|
Post by ashp on Jul 26, 2019 9:21:31 GMT
Hi nic, thanks for your reply, I’m really excited. Let me know if you would like me to clarify any specific requirement / functionality that your unsure about, once you are back will be glad to assist
Also out of curiosity I know streambyter / midifire is for iOS and macOS but are there any plans to make this possible for windows in their app store as a UWP app?
Hope to hear from you soon
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Aug 2, 2019 11:04:45 GMT
Hi ashp , What I suggest we do is reuse Blue Velvet, but treat it as a black box and just do stuff in a separate module after it has detected single or double tap. We might also need a module beforehand to force everything to channel 0 - you can just use a Channel Strip here and set remap outgoing to 1. The routing will look like this: afx -> Channel Strip -> Blue Velvet -> Custom Module -> afx +> destination(s) After Blue Velvet, the note's channel will be set depending upon whether it is a single or double tap as follows: channel 3 - single tap (byte 0 will be 92) channel 5 - double tap (byte 0 will be 94) So, each of the AFX messages we are interested in will be of the form: 92 XX YY for single tap 94 XX YY for double tap where XX is the note number and YY is the note value You then need an IF clause to trap each of the messages coming from Blue Velvet and inside each of these IF clauses would contain logic and event send rules. Something along the line of (for example) # channel 2 button single tap IF M0 == 92 17 7F # do logic and send any events here END # channel 2 button double tap IF M0 == 94 17 7F # do logic and send any events here ENDand you'll need an IF clause to handle your SHIFT IF M0 == 92 01 7F # set shift flag here END You will want an 'NX = XX +B' at the end of the script to block all incoming note events so only the events explicitly generated get sent. To set an LED on the afx I guess you just need to send a note on/off back to to the afx to explicitly set the LED to what you want. If you want to flash LEDS then you need a loop to do that. Hopefully, this is enough to get you started and moving in the right direction. Please post here if you need further help in adding the 'meat' to your IF clauses. PS - there are currently no plans for a windows version, I'm afraid. Regards, Nic.
|
|