ModPlug Central

OpenMPT Development (Archive) => Bug Reports => Bug Report Archive => Topic started by: Tocs1001 on January 13, 2009, 23:00:08

Title: 1.17.02.48(?) OpenMPT not producing sound.
Post by: Tocs1001 on January 13, 2009, 23:00:08
I just downloaded OpenMPT to convert some Mid's to .it, I also need to edit them a little, but when I hit play I hear no sound, I've tried every sound device. What am I doing wrong?

PS. Sorry if this is the wrong forum to ask in but there was no "Help" sort of forum
Title: .48(?) OpenMPT not producing sound.
Post by: Rakib on January 14, 2009, 00:37:34
You need to install/add a sound bank/midi library. But this is usually shipped with direct x so it's strange it doesn't produce any sound.

Alternative it may be that you are using an incorrect sound device, try using different devices modplug find.

And the last thing that pops in my mind is you manually assign samples to each of the instruments the midi's have. Read the tutorial on how it is done.
Title: .48(?) OpenMPT not producing sound.
Post by: Tocs1001 on January 14, 2009, 02:14:15
Ah, my Midi Library is unmapped, perhaps it doesnt know where DirectX's midi library is? Because I'm on a x64 XP system. I mapped a beeping sound to it lol, works pretty good then! Just wish it sounded like it should.
Title: .48(?) OpenMPT not producing sound.
Post by: LPChip on January 14, 2009, 14:50:26
By default the banks are not loaded in. You need to manually load/add a soundbank. Then you can import a midi file to get the sounds in.

Do note that OpenMPT wasn't designed to do this, so it might not get you the desired effect.
Title: .48(?) OpenMPT not producing sound.
Post by: Saga Musix on January 14, 2009, 15:47:56
GM.DLS is always loaded if it could be found in the system, so this is not really true, LPChip. Midi Import + Midi Library should work without any additional work.
Title: .48(?) OpenMPT not producing sound.
Post by: LPChip on January 14, 2009, 18:23:07
It never was enabled at my end by default, even when that file is in the system directory.
Title: .48(?) OpenMPT not producing sound.
Post by: Saga Musix on January 14, 2009, 18:30:51
That's really strange, because it should be possible to load midi instruments and midi files by default, without doing anything.
Title: .48(?) OpenMPT not producing sound.
Post by: Rakib on January 14, 2009, 22:03:10
Same here, it was loaded automatically.
Title: .48(?) OpenMPT not producing sound.
Post by: psishock on January 14, 2009, 22:19:24
Same here.
Title: .48(?) OpenMPT not producing sound.
Post by: LPChip on January 15, 2009, 09:47:23
I tell you something weird.

I have once added the gm.dls file and it indeed shows in my treeview. I can even play sounds from there.

But when I import a midi file, it doesn't copy the samples. Maybe we're having a bug here?
Title: .48(?) OpenMPT not producing sound.
Post by: Relabsoluness on January 15, 2009, 22:43:58
Moved to bug reports.

Quote from: "LPChip"But when I import a midi file, it doesn't copy the samples. Maybe we're having a bug here?
Does the "Midi Library" in treeview have all instruments mapped correctly?

Edit: Check the ini-file, block "[Midi Library]". For some reason it's doesn't always seem to save those paths as absolute paths, so for example moving the program from a drive to another may cause the MIDI import fail to map instruments (confirmed with a test case).
Title: .48(?) OpenMPT not producing sound.
Post by: LPChip on January 16, 2009, 06:30:13
I'll check it out when I get home. For the record, I'm using .52.
Title: .48(?) OpenMPT not producing sound.
Post by: Saga Musix on January 16, 2009, 13:55:38
Quote from: "Relabsoluness"Edit: Check the ini-file, block "[Midi Library]". For some reason it's doesn't always seem to save those paths as absolute paths, so for example moving the program from a drive to another may cause the MIDI import fail to map instruments (confirmed with a test case).
Didn't either rewbs or you implement this behaviour on request (using relative paths if file is on the same drive)?
Title: .48(?) OpenMPT not producing sound.
Post by: Relabsoluness on January 16, 2009, 20:52:56
Quote from: "Jojo"Didn't either rewbs or you implement this behaviour on request (using relative paths if file is on the same drive)?
'No' would be my best guess at the moment.
Title: .48(?) OpenMPT not producing sound.
Post by: Saga Musix on January 16, 2009, 21:23:21
Okay, it's possible that I mix something up here. It could also be that I remember this from XMPlay, where someone also had some problems with SoundFont paths.
Title: .48(?) OpenMPT not producing sound.
Post by: LPChip on January 17, 2009, 10:33:43
Quote from: "Relabsoluness"Moved to bug reports.

Edit: Check the ini-file, block "[Midi Library]". For some reason it's doesn't always seem to save those paths as absolute paths, so for example moving the program from a drive to another may cause the MIDI import fail to map instruments (confirmed with a test case).

I just checked it and they were mapped to H:\windows\.... I never have had windows on an H: drive. Weird. Corrected this to C now.

Now it loads fine. :)
Title: .48(?) OpenMPT not producing sound.
Post by: Saga Musix on January 17, 2009, 13:02:21
Did you ever run OpenMPT from H:\?