Re: [LAU] MIDI to systemcommand, exute script etc.

From: Esben Stien <b0ef@email-addr-hidden-stien.name>
Date: Mon Nov 10 2008 - 00:22:50 EET

Nils Gey <ilfhi@email-addr-hidden> 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@email-addr-hidden     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Tue Nov 11 00:15:04 2008

This archive was generated by hypermail 2.1.8 : Tue Nov 11 2008 - 00:15:04 EET