Good time of the day, Rob.

Big thanks for Your time and answer! You wrote:

> You can use timidity for midi files.  I wrote this a while back to
> convert a bunch of midi files to ogg.  Beware -- it deletes the midi
> files after conversion.
> 
> #!/bin/bash
> 
> for file in *.mid; do
>         WAVFILE=$(basename $file mid)wav
>         OGGFILE=$(basename $file mid)ogg
>         timidity $file -Ow -o $WAVFILE && rm $file
>         ffmpeg -i $WAVFILE -acodec vorbis $OGGFILE && rm $WAVFILE
> done
> 
> 
> I'm sure there are better ways of doing it.  Also, note that it uses
> ffmpeg.  That has been replaced in Debian with something else.
> ffmpeg is still available in the 3rd-party deb-multimedia repo, but I
> think you might as well use oggenc instead of ffmpeg anyway.

No problem, I will solve that convertion myself. I thought I could play
MIDI w/ mplayer2 - I did install/remove a lot of software - thinking it
will help me w/ some sound fonts, etc. I too use timidity for playing
MIDI.


Sthu.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50e710d8.2691980a.6812.ffff8...@mx.google.com

Reply via email to