That age old Midi issue again

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Jonesey
Level 1
Level 1
Posts: 6
Joined: Tue Aug 10, 2010 1:44 pm

That age old Midi issue again

Post by Jonesey »

I can run most midi apps in wine through timidity with no problem but there are quite a few apps which don't allow you to assign the midi output to timidity such as Media Player Classic or WM player 6. They try to use the windows default which is of course MS synth or Emu10k1.

There must be a way of mapping the midi output in wine from such apps to timidity but I just can't get it to work. I have tried all the suggested registry tweeks I have found online but most are several years out of date so none of them work any more.

Interestingly I get midi sound output from MS synth using the dxdiag music test but nothing else which is puzzling because it is shown as the win default in dxdiag so in theory apps like WM player should use it and work?.

Any help getting this one final remaining wine issue solved would be great. I am working with wine versions 1.1.3.5 and 1.2 on PCLinuxOS Minime 2009 and 2010 respectively. DirectX 9.0c installed with no errors .
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

They try to use the windows default which is of course MS synth or Emu10k1.
They would use the standard MIDI output...

MIDI through the softsynth works for me if I start out with a clean wineprefix, start Timidity as an ALSA server in the background, run winecfg, open the audio tab once, and press OK. It'll pick up on Timidity at that point (or in my case, Fluidsynth, but I used Timidity in the past so I know it works).

If this didn't work, do you have a sound card that already has its own MIDI support? Wine will prefer that over default MIDI if that's the case.

Lastly, if none of this work, check out aconnect (or was it alsaconnect? Hm). It lets you bind MIDI ports to other ones (like the standard 14:0 to Timidity).
Jonesey
Level 1
Level 1
Posts: 6
Joined: Tue Aug 10, 2010 1:44 pm

Post by Jonesey »

I have an older SB live soundcard which supports midi but with soundfonts

I tried using aconnect using the default client 14:0 and timidity 128:0 and aconnect said the connection was already subscribed !?. So why no sound output I wonder?.
Jonesey
Level 1
Level 1
Posts: 6
Joined: Tue Aug 10, 2010 1:44 pm

Post by Jonesey »

DaVince wrote:
start Timidity as an ALSA server in the background, run winecfg, open the audio tab once, and press OK. It'll pick up on Timidity at that point (or in my case, Fluidsynth, but I used Timidity in the past so I know it works).
Forgot to say thats my config right now. Timidity is already recognized and listed in winecfg so should be the default.. :oops:
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Hmm. Is there any reason why you're not using the sound card's own soundfont support?

If Timidity is able to take that kind of thing over for you, or if you even NEED stuff like Timidity, excuse the ignorance. I've only ever run Linux on computers with sound cards that have no kind of hardware MIDI support whatsoever. :)
Jonesey
Level 1
Level 1
Posts: 6
Joined: Tue Aug 10, 2010 1:44 pm

Post by Jonesey »

DaVince wrote:Hmm. Is there any reason why you're not using the sound card's own soundfont support?
The function is not supported under Linux :(
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Jonesey wrote:
DaVince wrote:Hmm. Is there any reason why you're not using the sound card's own soundfont support?
The function is not supported under Linux :(
Really? I've had an application installed once that lets you set the soundfont, though I personally had no use for it, so I removed it.

I looked around a bit, and the command is called sfxload, at least according to this page:
http://www-uxsup.csx.cam.ac.uk/pub/doc/ ... 18s09.html
Jonesey
Level 1
Level 1
Posts: 6
Joined: Tue Aug 10, 2010 1:44 pm

Post by Jonesey »

Thanks DaVince the drinks are on me. The loadsfx command directed to my timidity soundfont loaded the sf into the soundcard memory and PRESTO !! midi working in all respects.

Only prob is the sf is to large for the onboard memory of the card so I'm looking around for a smaller more compatible one.

I'm one happy bunny.

Cheers :D
Locked