Discussion:
[MPlayer-users] Karaoke and MIDI in Mplayer...
b***@aliceposta.it
2004-01-05 13:22:17 UTC
Permalink
Hi all!
First of all, your player is wonderfull... I use GeexBox and I can view/listen
anything I want on an old pIII 450MHz...
Anything except MIDI files and karaoke.
I thnk if you add this feature in your player, then it will be the best
player ever.
I found 2 midi/karaoke players for linux, and the rve plugin for mplayer:

http://perso.wanadoo.es/antlarr/kmid.html
http://gkaraoke.sourceforge.net/
http://sourceforge.net/projects/rve

Is there any canche that you add this feature? maybe the links below could
help you...
thanks in advance and good work!

byez
Andrea
Adam Nielsen
2004-01-05 15:36:30 UTC
Permalink
Post by b***@aliceposta.it
I thnk if you add this feature in your player, then it will be the best
player ever.
I'm not sure the mplayer developers would add MIDI playback, as mplayer is
primarily a video player rather than an audio player. You might be better
off using something like XMMS, which is an audio only player similar to
Winamp, and only using mplayer when you want to watch video.
You might also want to check out Timidity, which is a software wavetable
synthesiser that can play MIDIs very nicely with a good SoundFont, even if
your soundcard doesn't have wavetable support.

I have written a plugin for XMMS which will play MIDIs through Timidity (and
will automatically load a song-specific SoundFont if one exists.) You can
get it here: http://members.optushome.com.au/a.nielsen/ There's also a link
to XMMS and Timidity on that page.

Cheers,
Adam.
Dmitry Baryshkov
2004-01-05 21:26:59 UTC
Permalink
Hello,
[skipped]
Post by Adam Nielsen
You might also want to check out Timidity, which is a software wavetable
synthesiser that can play MIDIs very nicely with a good SoundFont, even if
your soundcard doesn't have wavetable support.
I have written a plugin for XMMS which will play MIDIs through Timidity (and
will automatically load a song-specific SoundFont if one exists.) You can
get it here: http://members.optushome.com.au/a.nielsen/ There's also a link
to XMMS and Timidity on that page.
Compile MPlayer with XMMS support, install MIDI plugin for XMMS and be happy :)
--
With best wishes
Dmitry Baryshkov.
Adam Nielsen
2004-01-06 03:17:23 UTC
Permalink
Post by Dmitry Baryshkov
Compile MPlayer with XMMS support, install MIDI plugin for XMMS and be happy
Yes, I tried to do that last night but I couldn't figure out how to make use
of the XMMS support! Is there anything special you have do to? (-ac xmms or
something?)

Cheers,
Adam.
Dmitry Baryshkov
2004-01-06 10:15:15 UTC
Permalink
Post by b***@aliceposta.it
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Post by Dmitry Baryshkov
Compile MPlayer with XMMS support, install MIDI plugin for XMMS and be happy
Yes, I tried to do that last night but I couldn't figure out how to make use
of the XMMS support! Is there anything special you have do to? (-ac xmms or
something?)
-demuxer xmms IIRC.
BTW: It will fallback to XMMS, if MPlayer can't play
file properly.
Post by b***@aliceposta.it
Cheers,
Adam.
_______________________________________________
RTFM!!! http://www.MPlayerHQ.hu/DOCS
Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users
b***@aliceposta.it
2004-01-05 15:55:26 UTC
Permalink
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Post by b***@aliceposta.it
I thnk if you add this feature in your player, then it will be the best
player ever.
I'm not sure the mplayer developers would add MIDI playback, as mplayer is
primarily a video player rather than an audio player. You might be better
off using something like XMMS, which is an audio only player similar to
Winamp, and only using mplayer when you want to watch video.
You might also want to check out Timidity, which is a software wavetable
synthesiser that can play MIDIs very nicely with a good SoundFont, even
if
your soundcard doesn't have wavetable support.

I have written a plugin for XMMS which will play MIDIs through Timidity (and
will automatically load a song-specific SoundFont if one exists.) You
can
get it here: http://members.optushome.com.au/a.nielsen/ There's also a
link
to XMMS and Timidity on that page.

Cheers,
Adam.

Yeah, I know... the problem is I use GeexBox, and Geexbox includes only Mplayer....
so I asked this...
thanks anyway
bye!
James MS Anderson
2004-01-05 15:57:58 UTC
Permalink
Couldn't mplayer check to see if timidity is installed, then launch that
to play midi files?
Post by b***@aliceposta.it
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Post by b***@aliceposta.it
I thnk if you add this feature in your player, then it will be the best
player ever.
I'm not sure the mplayer developers would add MIDI playback, as mplayer is
primarily a video player rather than an audio player. You might be better
off using something like XMMS, which is an audio only player similar to
Winamp, and only using mplayer when you want to watch video.
You might also want to check out Timidity, which is a software wavetable
synthesiser that can play MIDIs very nicely with a good SoundFont, even
if
your soundcard doesn't have wavetable support.
I have written a plugin for XMMS which will play MIDIs through Timidity (and
will automatically load a song-specific SoundFont if one exists.) You
can
get it here: http://members.optushome.com.au/a.nielsen/ There's also a
link
to XMMS and Timidity on that page.
Cheers,
Adam.
Yeah, I know... the problem is I use GeexBox, and Geexbox includes only Mplayer....
so I asked this...
thanks anyway
bye!
_______________________________________________
RTFM!!! http://www.MPlayerHQ.hu/DOCS
Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users
Andrea
2004-01-05 16:31:50 UTC
Permalink
Geexbox Is a minidistribution on a cd that runs only mplayer for playing
video and audio files.
The only thing we (me and many other geexbox users) need is midi and
karaoke support in mplayer.
bye

In data Mon, 05 Jan 2004 15:57:58 +0000, James MS Anderson
Post by b***@aliceposta.it
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Couldn't mplayer check to see if timidity is installed, then launch that
to play midi files?
Post by b***@aliceposta.it
[Automatic answer: RTFM (read DOCS, FAQ), also read
DOCS/bugreports.html]
[Automatic answer: RTFM (read DOCS, FAQ), also read
DOCS/bugreports.html]
Post by b***@aliceposta.it
I thnk if you add this feature in your player, then it will be the
best > player ever.
I'm not sure the mplayer developers would add MIDI playback, as mplayer
is primarily a video player rather than an audio player. You might be
better off using something like XMMS, which is an audio only player
similar to Winamp, and only using mplayer when you want to watch video.
Post by b***@aliceposta.it
I found 2 midi/karaoke players for linux, and the rve plugin for
You might also want to check out Timidity, which is a software wavetable
synthesiser that can play MIDIs very nicely with a good SoundFont, even
if your soundcard doesn't have wavetable support.
I have written a plugin for XMMS which will play MIDIs through Timidity
(and will automatically load a song-specific SoundFont if one exists.)
You can get it here: http://members.optushome.com.au/a.nielsen/ There's
also a link to XMMS and Timidity on that page.
Cheers,
Adam.
Yeah, I know... the problem is I use GeexBox, and Geexbox includes only
Mplayer.... so I asked this...
thanks anyway
bye!
_______________________________________________
RTFM!!! http://www.MPlayerHQ.hu/DOCS
Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users
_______________________________________________
RTFM!!! http://www.MPlayerHQ.hu/DOCS
Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Adam Nielsen
2004-01-06 03:24:46 UTC
Permalink
Post by Andrea
Geexbox Is a minidistribution on a cd that runs only mplayer for playing
video and audio files.
Oh ok, that makes more sense.
Post by Andrea
The only thing we (me and many other geexbox users) need is midi and
karaoke support in mplayer.
Is there any reason why you have to have MIDI files mixed in with other format
files? If you only want to play a bunch of MIDIs you can use Timidity by
itself - "timidity *.mid" However since Timidity is probably not installed,
it would be a much cleaner solution to include XMMS + plugins with Geexbox (I
can't imagine running Linux without XMMS!!!)

Cheers,
Adam.
Andrea barb3tta
2004-01-06 10:29:38 UTC
Permalink
Post by b***@aliceposta.it
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Post by Andrea
Geexbox Is a minidistribution on a cd that runs only mplayer for playing
video and audio files.
Oh ok, that makes more sense.
Post by Andrea
The only thing we (me and many other geexbox users) need is midi and
karaoke support in mplayer.
Is there any reason why you have to have MIDI files mixed in with other format
files? If you only want to play a bunch of MIDIs you can use Timidity by
itself - "timidity *.mid" However since Timidity is probably not installed,
it would be a much cleaner solution to include XMMS + plugins with Geexbox (I
can't imagine running Linux without XMMS!!!)
Cheers,
Adam.
Hi, I use geexbox because is a small distribution that lets me play any
kind of media, turning my pc into a HTPC, so it would be nice if that
distribution can play midi and view lyrics on the screen.
If you use geexbox with a small pc connected to a TV, you can wach
movie, listen to music and do some karaoke with your friends..... i
think it would be great!!!
doe xmms + midi plugin show lyrics?

thanks a lot,
cheers
Andrea
Adam Nielsen
2004-01-07 03:23:13 UTC
Permalink
Post by Andrea barb3tta
If you use geexbox with a small pc connected to a TV, you can wach
movie, listen to music and do some karaoke with your friends..... i
think it would be great!!!
Hmm...I think it would be difficult to get mplayer to show the lyrics. You'd
probably have to set them as subtitles, but I think mplayer will need some
video before it will display them (maybe generate blank video on the fly?)
Post by Andrea barb3tta
doe xmms + midi plugin show lyrics?
Mine doesn't, I'm not sure about the others (there's one, maybe two others.)
I think running Timidity from the command line *might* show them.

Cheers,
Adam.

D Richard Felker III
2004-01-05 20:06:55 UTC
Permalink
Post by b***@aliceposta.it
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Couldn't mplayer check to see if timidity is installed, then launch that
to play midi files?
No. It's a horrible ugly hack.

Rich
Adam Nielsen
2004-01-06 03:39:19 UTC
Permalink
Post by D Richard Felker III
Post by James MS Anderson
Couldn't mplayer check to see if timidity is installed, then launch that
to play midi files?
No. It's a horrible ugly hack.
You could actually do it in such a way that it's not *too* bad, the way I
wrote the XMMS plugin was only a little bit ugly. Timidity can be used
almost like a library - you give it the MIDI data, and it will return a
stream of PCM samples which you can then play however you want. It would
certainly be cleaner if there was such a thing as "libtimidity" though (which
shouldn't really be too hard to make, for those who are really keen on
getting MIDI support ;-))

Just out of curiosity, if there was a nice clean solution in the form of
libtimidity or something similar, would the developers be interested in
adding support for it in mplayer? (also given that it's trivial to identify
a MIDI file, with quite possibly a 100% success rate so nothing would ever be
wrongly identified as a MIDI file.)

Cheers,
Adam.
Loading...