VOGONS


First post, by Z_God

User metadata
Rank Newbie
Rank
Newbie

When I try to run mt32d, I get the following error:
opening mt32
Init ALSA digital
Error setting HW params: Invalid argument

Ready to process events
mt32d: pcm.c:1050: snd_pcm_writei: Assertion `pcm->setup' failed.
Aborted

Any idea what to do?
I'm using SUSE 9.0 with kernel 2.4.21 and ALSA 0.9.7.
Thanks in advance.

Reply 1 of 5, by Tristan

User metadata
Rank Newbie
Rank
Newbie

Thanks for the update. Unfortunately ALSA is not documented as well as I would have liked so I am not entirely sure what is wrong. I have changed some of the internal parameters that may be causing the problem. You can download a newer version using the link at the bottom of this message.

If the problem persists then it may be helpful if you could post some information about what sort of sound card you have. Just the basic information like if it is an onboard or if it is something unusual.

Once again, thanks for the feedback.

http://adam.rau.ac.za/~td/mt32-2-19.tar.bz2

Reply 2 of 5, by Z_God

User metadata
Rank Newbie
Rank
Newbie

I'm really sorry for replying so late.
I just tried out the 3-15 version and it seems to work great. Although it seems to work faster than the Windows version, my pc is probably still too slow for it. I can play simple midi files with it now though. (My specs: AMD Athlon 1GHz, 512MB RAM, Via686a)
Thanks a lot for the port.

Reply 4 of 5, by Magamo

User metadata
Rank Member
Rank
Member

I'm running up against something interesting with mt32d. I get fairly consistant Output buffer underrun errors. More than likely My system just can't handle this yet (PIII/600) It causes a lot of crackling and the like... and if I try and use the -s (SSE enable) switch, things get all the worse (March 28 version)

Reply 5 of 5, by Tristan

User metadata
Rank Newbie
Rank
Newbie

Sorry about the long time for a reply (very very busy with work
stuff) and thank you for the feedback.

You will get a click/pop every time there is a buffer underrun. You
might also have noticed that the latency increases if there are a
lot of underruns. If you use it, mt32d/xmt32, with Dosbox then a
PIII 600Mhz computer will not keep up since Dosbox is a real CPU
monster. I with my old PIII 550Mhz I could get very few underruns
if I turned reverb down and just tried playing midi files with a simple
midi player like pmidi.

SSE support is a bit clicky in the last version so it is switched
off by default since I have been very busy so it is a low priority fix.
3DNow support has never been tested since I don't have an AMD
computer to test with.

A few instruments (like the harpsicord) clip (click) at maximum volume.
I am not sure if this is a problem unique to the Linux version and I
do not currently have a suitable windows computer to test the original
version with. I will take a closer look at this issue when I can.

Thanks again