[Musix-users] Re: Musix 0.50

Marcos Guglielmetti marcospcmusica at gmail.com
Wed Aug 30 16:37:20 CEST 2006


El Jueves, 17 de Agosto de 2006 22:12, Sean Edwards escribió:
      > 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.

Wow, that's difficult to do

      >
      > Did I mention that I play guitar?  

I dont remember, I think you didnt

      > 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. 

Thats great

      > So, 
      > there it was, a utility to parse the incoming MIDI
      > stream from my foot pedal and launch a file, any file.

I played with a band in a few years ago, and that kind of utility could made 
my life easier: i went with my PC and i had to start the audio tracks with 
thoe mouse, looking at the PC monitor, so, I can understand you.

      >  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.
      
That's fine

      > 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.
      
Great idea

      > 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
      
Mmm.. that's not difficult at all

      > 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
      
mmm..... I really dont know how could we do it...  maybe using some of this 
apps:

jack_bufsize          jackeq                jack_load                     
jack_simple_client
jack_connect                  jack_lsp    jack_snapshot
jackd                 jack_freewheel        jack_metro            jack-rack.sh          
jackstart
jack_disconnect       jack_impulse_grabber  jack_monitor_client   jackrec               
jack_transport
jack-dssi-host   
 jack_showtime         jack_unload


      > 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. 

Yes, but it's not so difficult to make a command-line and X app at the same 
time... you could use gmessage or kdialog for X if it has to be 
interactive... and dialog for console, or "read", etc.

      > 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.
      
Oh... well, let's do it in the command line ¿do you have a script to show us?

dispmidi /dev/midi | grep Program | cut -f 4 | xargs -i script.sh {}

do you have this script.sh? this should have all the changes you want to do?

      > What do you think?
      >
      > -=Sean Edwards=-
      >
      >
      >
      >
      >
      >
      >
      > --- Marcos Guglielmetti <marcospcmusica at gmail.com>
      >
      > 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
      > >
      > > <marcospcmusica at gmail.com>
      > >
      > >       > 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
      > >       > > Musix-users at lists.ourproject.org
      >
      > 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
      > >       > Musix-users at lists.ourproject.org
      >
      > 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
      > > Musix-users at lists.ourproject.org
      >
      > 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
      > Musix-users at lists.ourproject.org
      > 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




More information about the Musix-users mailing list