On Saturday 11 September 2004 10:33 am, Danilo Horta wrote:
> When i try to play some mid file as a simple user on kmid, it shows
> "Player :: There are no midi ports !". I can play anything else but
> midi. So i tried "ls -la mid" and it shows

> Seens to be correctly, right? any help?
>
> I'm using Debian Testing and i have ALSA configured properly.

You answered the wrong question.  I have a /dev/sda15 but that doesn't mean I 
have anything on the other side of it to do anything useful.  (I don't.)

->ls -la /dev/sda15
brw-rw----    1 root     disk       8,  15 Dec 31  2003 /dev/sda15


Whether you have anything useful on the other side of any ports you have, or 
even whether you have any ports at all, is entirely dependant on what 
hardware you have in the box.  The vast majority of common, cheap soundcards 
out there do not have any MIDI capability, and in order to play MIDI on them, 
you must use a software synth like QSynth to translate MIDI data into an 
audio stream playable on the card.  The SB PCI series, the Ensoniq AudioPCI 
series, the on-board Intel and VIA chips and many, many others fall into this 
category.

To find out what ports you have, install pmidi (the package is called "pmidi")  
and then run pmidi -l from a command line.  On my box, with a Sound Blaster 
Live!, I have lots of ports.  64:0 is the external joystick port MIDI 
interface, and 65:* are the on-board hardware synth.

->pmidi -l
 Port     Client name                       Port name
 64:0     EMU10K1 MPU-401 (UART) - Rawmi    EMU10K1 MPU-401 (UART)
 65:0     Emu10k1 WaveTable                 Emu10k1 Port 0
 65:1     Emu10k1 WaveTable                 Emu10k1 Port 1
 65:2     Emu10k1 WaveTable                 Emu10k1 Port 2
 65:3     Emu10k1 WaveTable                 Emu10k1 Port 3

Anyway, since KMid reports no ports, I expect you'll find pmidi -l doesn't 
return anything.  In that case, the most probable outcome is that your only 
choice is to run something like QSynth.  (You'll also need to acquire a 
soundfont for it.  There are none currently available that meet anyone's 
guidelines for free redistribution, so you'll have to find one on the web for 
yourself and download it independently.)

If you need more help, probably take it off-list.  I haven't had much time to 
read this list lately, but I have managed to wade through my inbox almost 
every day.

-- 
Michael McIntyre  ----   Silvan <[EMAIL PROTECTED]>
Linux fanatic, and certified Geek;  registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/
http://rosegarden.sourceforge.net/tutorial/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to