I play guitar and sing in a couple of bands. In a few weeks, I will be going out of town to play and sing. Unfortunately, I am on my own, neither band can travel. So, I will go by myself with some backing tracks. Did I mention that I play guitar? Even though there is great software available for playing audio files (ecasound is my favorite), I can't use my hands. I have a very powerful MIDI foot pedal, the FCB101 from Behringer, but there is no software that I have found to control the loading and playback of audio files via MIDI. After years of searching, I came across dispmidi from Div Slomin: http://www.sreal.com:8000/~div/midi-utilities. I am not a developer, but I was able to hack the code to output MIDI information into a useful format. So, there it was, a utility to parse the incoming MIDI stream from my foot pedal and launch a file, any file. Here are a couple of commads I used: dispmidi /dev/midi | grep Program | cut -f 4 | xargs -i script.sh {} dispmidi /dev/midi | grep Program | cut -f 4 | xargs -i ecasound {}.wav The first command takes the program number and pipes it into a script via xargs and the script launches the file. The second command actually launches a file named with the number of the MIDI program number. When that MIDI program number is detected, the corresponding file is launched. So, there it is. MIDI controlled (well, more like started than controlled) playback of audio files. As I said before, I am not a developer, but I have some enhancements I would like to make: 1) Read a configuration file to set MIDI channel and directory where the playback files reside 2) Make it alsa/jackd aware so as to be able to send out MIDI signals. For example, be able to send a MIDI sequence in real-time, synchronixed to audio file playback 3) Keep it a command-line utility. It doesn't take a lot of computing power to stream a .wav file through a sound card so it would be useful task for older hardware. Also, I plan to run this headless and it would be easier to do this from a command line rather than having to set up some GUI frambuffer application. What do you think? -=Sean Edwards=- --- Marcos Guglielmetti <[email protected]> wrote:
El Mi�rcoles, 16 de Agosto de 2006 23:50, Sean Edwards escribi�: > This is turning into a project and will have to wait > until next week. Last night I just received enought > parts to build another PC, so I will put 0.40 on that > and try the upgrade. > > Also, if you have the time and are interested, I would > like to discuss a package addtion to Musix that I am > working on.
Ok, come on
> -=Sean Edwards=- > > --- Marcos Guglielmetti <[email protected]> > > wrote: > > El Mi�rcoles, 16 de Agosto de 2006 14:44, Sean > > > > Edwards escribi�: > > > But, if you want to try now: just boot with > > > > Musix > > > > > 0.50, clic on "Install" icon, select knoppix > > > > method, > > > > > select package upgrader.... then choose a > > > > hard disk > > > > > partition where Musix or Knoppix is > > > > installed and > > > > > Synaptic will appear, choose your packages > > > > to be > > > > > upgraded, and apply > > > > And then try to upgrade all musix-* packages from > > internet using apt-get > > > > -- > > Marcos Guglielmetti > > * Director del desarrollo de Musix GNU+Linux, 100% > > Software Libre > > * CD Donwload: (http://www.musix.org.ar/en/) > > (www.pc-musica.com.ar/musix) > > * Videos, programas y otras cosas en: > > ftp://musix.ourproject.org/pub/musix/ > > * Reporte de errores a: > >
https://www.musix.org.ar/wiki/index.php?title=Problemas-Bugs
> > > *IRC: #musix channel on freenode > > > > > > _______________________________________________ > > Musix GNU+Linux - www.musix.org.ar > > Musix-users mailing list > > [email protected] > >
https://lists.ourproject.org/cgi-bin/mailman/listinfo/musix-users
> > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > _______________________________________________ > Musix GNU+Linux - www.musix.org.ar > Musix-users mailing list > [email protected] >
https://lists.ourproject.org/cgi-bin/mailman/listinfo/musix-users
-- Marcos Guglielmetti * Director del desarrollo de Musix GNU+Linux, 100% Software Libre * CD Donwload: (http://www.musix.org.ar/en/) (www.pc-musica.com.ar/musix) * Videos, programas y otras cosas en: ftp://musix.ourproject.org/pub/musix/ * Reporte de errores a:
https://www.musix.org.ar/wiki/index.php?title=Problemas-Bugs
*IRC: #musix channel on freenode
_______________________________________________ Musix GNU+Linux - www.musix.org.ar Musix-users mailing list [email protected]
https://lists.ourproject.org/cgi-bin/mailman/listinfo/musix-users
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com