[LAU] MIDI to systemcommand, exute script etc.

Esben Stien b0ef at esben-stien.name
Sun Nov 9 17:22:50 EST 2008


Nils Gey <ilfhi at gmx.de> writes:

> Do you know any ways to receive midi events to start programms

This is really easy with SuperCollider. This applications has some
really stupid;) ways to work with MIDI, though, that needs some
fixing. It also does not do JACK MIDI.

var p, l;
(
  ~bcfNoteOffResponder=NoteOffResponder({|src,chan,num,val|
    if(src==1310720,
      if(chan==0,
      {
        if(num==14,{//BANK 5,LOWER BUTTON 1
        p=Pipe.new("notify-send -t 100000000 -u critical \"ATTENTION: Jabber\"", "r");	
        });
      });
    )};
  )
)

-- 
Esben Stien is b0ef at e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n



More information about the Linux-audio-user mailing list