On Sat, Dec 19, 2009 at 11:11:45AM -1000, david wrote: > Gabriel M. Beddingfield wrote: > > > Add and change lines as you see fit. These are all decimal > > note numbers. When you're done, save the file and issue the > > 'make' command. > > > > To run it, make sure you start jackd with the -Xseq option > > to create the bridge between ALSA MIDI and JACK MIDI. Then, > > run this program. Use something lack qjackctl to insert it > > between your input and output ports on the 2x2. > > > > Hope it helps!! > > Hmmm, couldn't the same thing have been done using midish???? > yep, for instance to exchange notes 60 and 61: dnew 0 nil wo # register 0 as output device dnew 1 "MyClient:MyPort" ro # register 1 as input devices fnew myfilt # create a filter fmap {any 1} {any 0} # map anything on 1 -> 0 fmap {note 1 60} {note 0 61} # map note 60 -> note 61 fmap {note 1 61} {note 0 60} # map note 61 -> note 60 i # start processing at this stage, midish processes notes from MyClient:MyPort and sends the result on midish:midish/0, example: $ aseqdump -l |grep midish 130:0 midish midish/0 applications connecting to "midish:midish/0" will see what you play on MyClient:MyPort, but with notes 60 and 61 exchanged. -- Alexandre _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user