euglug.org

[Eug-lug] MIDI on Gentoo

작성자

카테고리:



Bob MillerFri Jul 9 07:15:40 PDT 2004

Those of you who weren't at last night's clinic might be interested to
know that I got MIDI working on my Laptop last night.  This morning I
configured it on the other two Gentoo boxes at home.

Here's what I had to do.

0.  Read the Gentoo Linux ALSA Guide.
    http://www.gentoo.org/doc/en/alsa-guide.xml

1.  Emerge media-sound/timidity and media-sound/timidity-eawpatches.
    Start timidity:

	# rc-update add timidity default
	# /etc/init.d/timidity start

2.  Emerge media-sound/pmidi.

3.  Either:

	$ pmidi -p 128:0 somefile.midi

    or click on somefile.midi in Konqueror.

I also emerged lilypond, a music typesetting program.  Lilypond can
generate MIDI files, which I can now play.

Fun fact: I haven't had a MIDI-capable machine for over four years,
but I used to maintain the MIDI drivers for SGI's IRIX.  I also worked
closely with the engineer who wrote SGI's software MIDI synth, which
was a very fun project.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     kbob at jogger-egg.com