[LAU] sending program change from the commandline

Pedro Lopez-Cabanillas pedro.lopez.cabanillas at gmail.com
Fri May 6 12:23:53 UTC 2011


On Friday 06 May 2011, alessandro.filippo at infinito.it wrote:
> You could use KASEQ in shell
> scripts. http://kmetronome.sourceforge.net/kaseq.shtml

Thanks for mentioning Kaseq. I thought that nobody was using this program anymore. The problem with Kaseq is that DCOP is deprecated. I'm planning to migrate it to DBus and release a new version some day, time permitting.

> --------- Original Message --------
> Da: "Atte André Jensen" <atte at email.dk>
> To: "linux audio users" <linux-audio-user at lists.linuxaudio.org>
> Oggetto: [LAU] sending program change from the commandline
> Data: 05/05/11 23:21
> 
> 
> 
> Hi
> 
> Is there an commandline application that'll allow me to send program 
> change (and bank select) from the commandline? I'm trying to setup 
> something to flip programs on my hardware synths quickly between songs 
> in a live setting...

It is easy to make this utility in C++ with Drumstick, like the attached one. The destination is hard-coded to "KMidimon:0", but I'm sure that you can change or add your own MIDI interface easily. To build it, you need to install Qt4 and Drumstick development libraries first. Put both files: sndpgmchg.pro and sndpgmchg.cpp, at some directory and compile the program using the commands:

$ qmake
$ make

Regards,
Pedro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sndpgmchg.pro
Type: application/vnd.nokia.qt.qmakeprofile
Size: 84 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20110506/be8dcca9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sndpgmchg.cpp
Type: text/x-c++src
Size: 2426 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20110506/be8dcca9/attachment.cpp>


More information about the Linux-audio-user mailing list