General

Interface send MIDI note

Started by nieto on .

Sign in or create an account to join the conversation.

4 posts

Topic starter
Hello
I want to know if it is possible that when I select an interface (page) on my Ipad, it sends a MIDI Note ON
(To automatically select a page on my Isadora software)
thank you
Ok I think this should work!
_________________________________

You can do that by using an expression which will look up the current interface - the built in variable is "current_interface". (user manual 13.6 chapter)

Create an expression on the project root level, name it IntMon for example (InterfaceMonitor). Assign it to "current_interface" so that
IntMon=current_interface
This will return the index number of the interface so if for example you want a note on message when the 3rd interface is selected you need to add a script, again project root level:

On Expression IntMon, any
if (IntMon==2) noteout(0,64,127,1);
The above script will send a midi note 64 on, (thats an E on the 6th octave me thinks) with 127 velocity on midi channel 1 - alter it tyour desired settings

( noteout(target,note,vel,chan), page 131 of manual)


A second approach would be to script a pad into selecting the desired interface

on expression x, rising from zero (up arrow)
selectinterface(2);
And then just map the same pad to the desired midi note on! (or even repeat the noteout function in the script just like thwe first one)

;)