PDA

View Full Version : midi support



daviskacer
05-29-2004, 05:05 PM
PROBLEM:
Cannot play midi with playmidi. Results in the following message.
Playmidi 2.4 Copyright (C) 1994-1997 Nathan I. Laredo, AWE32 by Takashi Iwai
This is free software with ABSOLUTELY NO WARRANTY.
For details please see the file COPYING.
playmidi: No playback device found.

Audio Hardware:
SB Live! emu10k1

contents of lsmod

md5 8064 1
ipv6 248736 8
snd_mixer_oss 19072 0
snd 49540 1 snd_mixer_oss
radeon 103964 30
via_agp 9856 0
sworks_agp 11424 0
sis_agp 9472 0
nvidia_agp 10012 0
intel_mch_agp 12044 0
intel_agp 18968 1
efficeon_agp 10496 0
ati_agp 10636 0
amd64_agp 12872 0
amd_k7_agp 10124 0
ali_agp 9600 0
autofs 19456 1
af_packet 21124 0
agpgart 31564 12 via_agp,sworks_agp,sis_agp,nvidia_agp,intel_mch_ag p,intel_agp,efficeon_agp,ati_agp,amd64_agp,amd_k7_ agp,ali_agp
emu10k1 86276 1
sound 80232 1 emu10k1
soundcore 12000 4 snd,emu10k1,sound
ac97_codec 19840 1 emu10k1
e100 32896 0
mii 8448 1 e100
emu10k1_gp 7040 0
gameport 8192 1 emu10k1_gp
parport_pc 38176 0
parport 38848 1 parport_pc
8250 34448 0
serial_core 22912 1 8250
usblp 14976 0
joydev 12608 0
evdev 11520 0
tsdev 9984 0
usbhid 45120 0
ds 17920 0
yenta_socket 20736 0
pcmcia_core 58240 2 ds,yenta_socket
thermal 14992 0
processor 20672 1 thermal
fan 7564 0
button 9496 0
battery 12428 0
ac 8076 0
rtc 15432 0
cloop 15456 1
ohci1394 33792 0
ieee1394 305296 1 ohci1394
usb_storage 66816 0
ohci_hcd 20864 0
uhci_hcd 31112 0
usbcore 94420 7 usblp,usbhid,usb_storage,ohci_hcd,uhci_hcd
ide_cd 40576 0
ide_scsi 17540 2

lspci
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R200 QL [Radeon 8500 LE]
0000:02:02.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
0000:02:02.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 06)
0000:02:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
0000:02:08.0 Ethernet controller: Intel Corp. 82562EZ 10/100 Ethernet Controller (rev 02)

no /proc/sound exists.
root@ttyp2[dev]# cat /dev/sndstat
cat: /dev/sndstat: No such file or directory
root@ttyp2[dev]# ls -al /dev/sndstat
lrwxrwxrwx 1 root root 11 May 17 14:14 /dev/sndstat -> /proc/sound

Problem also exists with other midi applications as well.

redss
11-17-2004, 05:05 AM
I've been trying to get midi working also, but I don't think anybody has gotten midi working under knoppix (liveCD anyway). I'm sure midi can get working using ALSA drivers and a harddisk install, but I dont know what kind of hoops you have to jump thru to get it working.

Anybody who's gotten midi working please chip in!

Jakykong
11-18-2004, 11:21 PM
Wierd...
I work on both lice CD and HD install. I have the same sound card as daviskacer. I never have to do anything.

It works just fine for me!

redss
11-18-2004, 11:30 PM
YOU GOT MIDI WORKING???? ON LIVE CD????

Do you mean to say you have /dev/sequencer configured? Were you able to run Rosegarden, using the external midi ports? If so, you're the FIRST I've heard to get it working!

I heard that Rosegarden requires ALSA, so did you use the ALSA cheatcode?

Does that soundcard have midi built into it, as opposed to a USB midi interface?

If you could please share all the specifics you went through (such as what knoppix version, cheatcodes, etc) that would be AWESOME!

finferflu
03-16-2006, 02:34 PM
I've got the same problem with my Realtek AC'97 Audio sound card (Knoppix distro version 4.0, HD installation).
When I try to open a midi file with playmidi I get the same message.


So I went to check on KInfoCenter>Sound and I found:

Midi devices: NOT ENABLED IN CONFIG


Now, I configured my sound card using
alsaconf but the only thing I had to do was selecting my sound card, and everything else went on automatically.
My question is: how can I configure my midi device?

thanks for your help ^__^

maxIT
03-16-2006, 06:57 PM
Wierd...
I work on both lice CD and HD install. I have the same sound card as daviskacer. I never have to do anything.

It works just fine for me!

It's look like your motherboard come with ac97 sound chip built in... (http://www.knoppix.net/forum/viewtopic.php?t=13172&highlight=timidity)
For others, get timidity

finferflu
03-16-2006, 08:46 PM
I tried also to use timidity, here's what I get


mmanu@knoppixbox:~$ timidity /home/mmanu/downloads/Crawling.mid
/etc/timidity/freepats.cfg: No such file or directory
timidity: Can't read any configuration file.
Please check /etc/timidity/timidity.cfg

Even though it looks like a problem relative to the configuration file, I think the problem lays in the configuration of my sound card. But I'm not that expert.

Any other suggestion?

thanks ^__^


Update:

Well, I think I was wrong (obviously ^__^), after I downloaded freepats, I could hear the file, but still the software I really want to use does not work. I really would like to use Rosegarden4, but I can hear no sound. I thought the problem was my sound card not being able to play midi sounds, but since timidity works, I don't know what I can think about...

nad
03-18-2006, 02:45 PM
You may need to disable the KDE Sound System; KMenu -> Control Center -> Sound and Multimedia -> Sound System , in order that another sound server is able to use the configured sound devices.

finferflu
03-19-2006, 12:54 PM
Thanks for your advice,
but after I made sure that the Sound System was disabled, I tried again with no result...

finferflu
03-23-2006, 04:09 PM
Ok, I found out myself, here's the solution:

http://rosegarden.sourceforge.net/tutorial/en/chapter-2.html

hope it can be helpful for sombody else as well