You are not logged in.

#1 2007-04-30 13:20:11

festgreifaah
Member
Registered: 2006-06-12
Posts: 51

[solved] audacious + amidi-plugin + timidity++

I'm trying to play midi files with audacious.

So, I start the timidity daemon with the script in /etc/rc.d.
Afterwards I can select the midiports in amidi-plugin's configuration dialog.

But I can't play any midis.
When I load a midi and start playing it, nothing happens, although the player indicates that it's in play-mode.
When I press stop, audacious hangs and I have to kill it.

dmesg has the following output

rtc: lost some interrupts at 1024Hz.

Does anyone know the meaning of this?[

Last edited by festgreifaah (2007-05-03 19:25:55)

Offline

#2 2007-05-01 12:01:57

George_K
Member
From: Russie, Saint-Pétersbourg
Registered: 2006-09-27
Posts: 75

Re: [solved] audacious + amidi-plugin + timidity++

At first try to play midi with timidity: 'timidity filename.mid'.
Also there are pmidi and kmid timidity frontends.
Then try to blacklist snd-rtctimer: add 'blacklist snd-rtctimer' to your /etc/modprobe.conf and reboot (because rmmod can`t cleanly remove it).

Offline

#3 2007-05-01 15:15:31

festgreifaah
Member
Registered: 2006-06-12
Posts: 51

Re: [solved] audacious + amidi-plugin + timidity++

Thanks for reply.

Playing midis using "timidity filename.mid" works.
But, for convenience I'm trying to get audacious to play midi files.

With timidity in alsa sequencer client mode, there seems to be an error.
I tried pmidi, but I get the same error.
Since I don't use kde, I can't try kmid.

There's no snd-rtctimer module loaded, only snd_timer.

Offline

#4 2007-05-01 17:49:21

George_K
Member
From: Russie, Saint-Pétersbourg
Registered: 2006-09-27
Posts: 75

Re: [solved] audacious + amidi-plugin + timidity++

Please describe problem with pmidi in detail.
Also install amidi-plug and try to play midis in xmms - it`s problem reporting is more informative than audacious`s.

Offline

#5 2007-05-02 21:09:18

festgreifaah
Member
Registered: 2006-06-12
Posts: 51

Re: [solved] audacious + amidi-plugin + timidity++

Using pmidi to play midi files just doesn't work. There is no sound.
dmesg gives the same output as mentioned above (rtc: lost some interrupts at 1024Hz).

I installed xmms and compiled amidi-plug to work with xmms.
It's the same.
There are no error messages.

Is there some other place, where I should look for error messages?

Offline

#6 2007-05-03 11:15:47

George_K
Member
From: Russie, Saint-Pétersbourg
Registered: 2006-09-27
Posts: 75

Re: [solved] audacious + amidi-plugin + timidity++

It seems to me that a problem is in your /etc/timidity++/timidity.cfg
To test this as root stop timidity daemon and launch it by hand: "timidity -iAv" (v stands for verbose). After it play something with pmidi.
Also try to run 'timidity file.mid' as root

Last edited by George_K (2007-05-03 11:16:23)

Offline

#7 2007-05-03 11:47:27

festgreifaah
Member
Registered: 2006-06-12
Posts: 51

Re: [solved] audacious + amidi-plugin + timidity++

Playing timidity as root works (timidity midifile.mid).
I used -iAvvv to gather more information.

This ist the output when I try to play a midi with pmidi

Open output: s, ALSA pcm device
requesting fragment size: 8192
Requested buffer size 32768, fragment size 8192
ALSA pcm 'default' set buffer size 33868, period size 3760 bytes
Audio device queue size: 33868 bytes
Write bucket size: 3760 bytes (21 msec)
pass_playing_list() nfiles=0
TiMidity starting in ALSA server mode
Opening sequencer port: 128:0 128:1 128:2 128:3
Requested buffer size 32768, fragment size 8192
ALSA pcm 'default' set buffer size 33868, period size 3760 bytes
Midi Event 0: ME_RESET 0 3 255
Midi Event 940: ME_NONE 0 3 255
Midi Event 1880: ME_NONE 0 3 255
Midi Event 2820: ME_NONE 0 3 255
output data (2048)

There are of course many more Midi Event lines mixed with "output data (2048)" but the midi event is the same: ME_NONE 0 3 255

Offline

#8 2007-05-03 13:43:25

George_K
Member
From: Russie, Saint-Pétersbourg
Registered: 2006-09-27
Posts: 75

Re: [solved] audacious + amidi-plugin + timidity++

The output sent by you says that you don`t have sound fonts or they are not properly configured.
You should install fluidr3 or soundfont-sgm180 from AUR or any other sound font to /usr/share/soundfonts/ and then add
something like 'soundfont /usr/share/soundfonts/SGM-180v1.5.sf2' to your /etc/timidity++/timidity.cfg
If you would not be able to hear sound again, please post your timidity config here.

Offline

#9 2007-05-03 18:45:41

festgreifaah
Member
Registered: 2006-06-12
Posts: 51

Re: [solved] audacious + amidi-plugin + timidity++

Sorry. I bothered you with this problem, although your first post solved it all.

When I look for modules, timidity -iA wasn't running. That's the reason, why no snd_rtctimer module was loaded.

I did, what you said. I blacklisted it and now it works.

Thanks for your help and sorry for bothering so long.

Now I'm happy. big_smile

Offline

Board footer

Powered by FluxBB