[...]On 03/29/2012 02:11 PM, Michał Koziarski wrote:
here is the mididings configuration file:
--cut from here------------------
#!/usr/bin/python
from mididings import *
def ev2print(ev):
return "./loadpreset {0:d}".format(ev.program)
run(
Filter(PROGRAM) >> System(ev2print),
)
--until here---------------------
This will call the shell command "./loadpreset" with the program number
of program change events as an input argument. You can put in that shell
script whatever you want. You need mididings
(http://das.nasophon.de/mididings/ from Dominic Sacré) for this to work
(this is not my work). I connected a Behringer foot switch controller
FBC 1010 as a controller.
For the rest of the tools I mentioned please give me one or two more
days... To have at least a minimal bit of documentation :-)
Giso
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.