Skip to contentSkip to conversation

why no midi?

DISCUSSION qozmo x xx 3 participants 6 messages Apr 21, 1999 – Apr 25, 1999 Sound

lore
Share & tools
lore

qozmo x xx

author
#0 lore raw

hey, i'm running redhat5.2 on my machine and i used sndconfig to configure my soundblaster16 card. everything that i've tested so far works fine (it plays sound samples and records sound samples), with the exception of playing midi. i've tried calling playmidi with this command:

playmidi filename.mid

maybe there are other options that i need in this command, but as far as i could discern from reading the playmidi man page, this should play my file (but i've been wrong before).
if i'm not wrong, and this command should play my midi file, what possible problems could be causing this? the card actually uses 2 DMA settings under win95 and i just used the first of those when i set up sound in linux, could this have anything to do with it? hopin somebody can help me out,
qozmo

ps- yeah, i already read the entire sound-howto
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

#1 lore raw

did you do the following?
chmod a+rw midi*
if you didn't do this you should also do
chmod a+rw dsp*
chmod a+rw audio*
chmod a+rw mixer*
chmod a+rw sndstat
chmod a+rw sequencer
(as root or su of course)
--
*******************************************
Darcy Parker
Mechanical Engineering
Computer Aided Automation Option
University of British Columbia
*******************************************

author
#2 lore raw
In reply to qozmo x xx
Quoted 10 lines · On Wed, 21 Apr 1999 00:00:39 -0700 Darcy Parker <[email protected]> writes:

did you do the following?
chmod a+rw midi*
if you didn't do this you should also do
chmod a+rw dsp*
chmod a+rw audio*
chmod a+rw mixer*
chmod a+rw sndstat
chmod a+rw sequencer
(as root or su of course)
--

all of these files already had these permissions on them, but i tried it anyway, and nothing changed. is there any other reason that might be why my midi stuff isn't working?
thanx again,
qozmo
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

#3 lore raw
In reply to qozmo x xx
Quoted 3 lines · qozmo x xx

all of these files already had these permissions on them, but i tried it anyway, and nothing changed. is there any other reason that might be why my midi stuff isn't working?

playmidi as shipped in RH 5.2 is broken for FM synth; either upgrade to a later release, or do:

cd /etc/midi
for foo in *; do ln -s midi/$foo ../$foo ; done

That should fix the problem.

Bill

author
#4 lore raw
In reply to qozmo x xx
Quoted 11 lines · On Wed, 21 Apr 1999 22:05:26 -0400 Bill Nottingham <[email protected]> writes:

playmidi as shipped in RH 5.2 is broken for FM synth; either upgrade to a later release, or do:

cd /etc/midi
for foo in *; do ln -s midi/$foo ../$foo ; done

That should fix the problem.

Bill

ok, i did try that command, and it worked, now i can play midi. what exactly did this command line do (and what is foo?)? thanx for the help,
qozmo
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

#5 lore raw
In reply to qozmo x xx
Quoted 11 lines · qozmo x xx
Quoted 7 lines

cd /etc/midi
for foo in *; do ln -s midi/$foo ../$foo ; done

That should fix the problem.

Bill

ok, i did try that command, and it worked, now i can play midi. what exactly did this command line do (and what is foo?)? thanx for the help,

foo is just a variable name. Basically, it just makes symlinks for some playmidi files (drums.o3/sb, std.o3/sb) from /etc (where playmidi is incorrectly looking for them) into /etc/midi (where they actually are). The correct fix is to build playmidi with the proper paths, but this works.

Bill