Core Audio vs. MT32 Emu on a MAC
Moderator: ScummVM Team
Core Audio vs. MT32 Emu on a MAC
Hi folks,
I am a MAC OSX user and just tested MI2 with "Core Audio" + "Mixed Adlib Midi Mode".
The music sounds absolutely superior, if not better than years ago with my original LAPC-I soundcard!!!
I am beginning to think, that the core audio option provides almost the same quality than the roland mt32 emu.
I tested the roland emu as well (yes, with the two rom-files). But I was very dissapointed with it: The music plays like in slowmotion and there are strange "disturbing" noises all the time.
The readme told me that I need a fast computer for the emu-mode. I have a Powermac G4, with 1.25 Ghz and 1.25 GB of RAM. No other Apps are running while executing SCUMMVM. So, what kind of a Mac do I need for a proper Roland MT32-emu - a G5 QUAD?
Nagra
I am a MAC OSX user and just tested MI2 with "Core Audio" + "Mixed Adlib Midi Mode".
The music sounds absolutely superior, if not better than years ago with my original LAPC-I soundcard!!!
I am beginning to think, that the core audio option provides almost the same quality than the roland mt32 emu.
I tested the roland emu as well (yes, with the two rom-files). But I was very dissapointed with it: The music plays like in slowmotion and there are strange "disturbing" noises all the time.
The readme told me that I need a fast computer for the emu-mode. I have a Powermac G4, with 1.25 Ghz and 1.25 GB of RAM. No other Apps are running while executing SCUMMVM. So, what kind of a Mac do I need for a proper Roland MT32-emu - a G5 QUAD?
Nagra
Re: Core Audio vs. MT32 Emu on a MAC
I can also tell you that the Fluidsynth driver (after I finally got Fluidsynth to compile correctly on OS X) also sounds pretty awful using freeware SoundFont collections that I've tried. In my case it's probably down to the speed of my machine, a wee 900MHz iBook G3Nagra wrote:Hi folks,
I am a MAC OSX user and just tested MI2 with "Core Audio" + "Mixed Adlib Midi Mode".
The music sounds absolutely superior, if not better than years ago with my original LAPC-I soundcard!!!
I am beginning to think, that the core audio option provides almost the same quality than the roland mt32 emu.
I tested the roland emu as well (yes, with the two rom-files). But I was very dissapointed with it: The music plays like in slowmotion and there are strange "disturbing" noises all the time.
The readme told me that I need a fast computer for the emu-mode. I have a Powermac G4, with 1.25 Ghz and 1.25 GB of RAM. No other Apps are running while executing SCUMMVM. So, what kind of a Mac do I need for a proper Roland MT32-emu - a G5 QUAD?
Nagra
Jimbob
- eriktorbjorn
- ScummVM Developer
- Posts: 3561
- Joined: Mon Oct 31, 2005 7:39 am
Re: Core Audio vs. MT32 Emu on a MAC
FluidSynth works much of the time on my 450 MHz PIII, and doesn't sound that different to me from my soundcard using the same SoundFont. But I'm still glad I don't have to use it.Jimbob wrote:I can also tell you that the Fluidsynth driver (after I finally got Fluidsynth to compile correctly on OS X) also sounds pretty awful using freeware SoundFont collections that I've tried. In my case it's probably down to the speed of my machine, a wee 900MHz iBook G3
One problem is that the default output level was almost inaudible for me, so I hard-coded a "gain" factor which is probably too loud in some cases. I did submit a patch to make the gain factor customizable, but so far there haven't been any feedback.
Re: Core Audio vs. MT32 Emu on a MAC
Interesting, maybe I'll go back and try a few different configs. I think part of the problem is probably the SoundFonts I'm using and from memory it was a bit loud, so maybe I'll take a look at the patch.eriktorbjorn wrote:FluidSynth works much of the time on my 450 MHz PIII, and doesn't sound that different to me from my soundcard using the same SoundFont. But I'm still glad I don't have to use it.Jimbob wrote:I can also tell you that the Fluidsynth driver (after I finally got Fluidsynth to compile correctly on OS X) also sounds pretty awful using freeware SoundFont collections that I've tried. In my case it's probably down to the speed of my machine, a wee 900MHz iBook G3
One problem is that the default output level was almost inaudible for me, so I hard-coded a "gain" factor which is probably too loud in some cases. I did submit a patch to make the gain factor customizable, but so far there haven't been any feedback.
Jimbob
Re: Core Audio vs. MT32 Emu on a MAC
I've just tried to apply this patch to the latest daily snapshot and it seems to fail patching one hunk of data, this is the rejected section: -eriktorbjorn wrote:One problem is that the default output level was almost inaudible for me, so I hard-coded a "gain" factor which is probably too loud in some cases. I did submit a patch to make the gain factor customizable, but so far there haven't been any feedback.
Code: Select all
***************
*** 411,417 ****
}
// SoundFont
- _soundFontButton = addButton(boss, x, yoffset, "SoundFont: ", kChooseSoundFontCmd, 0, ws);
_soundFont = new StaticTextWidget(boss, x + buttonWidth + 20, yoffset + 3, _w - (x + buttonWidth + 20) - 10, kLineHeight, "None", kTextAlignLeft, ws);
yoffset += buttonHeight + 2 * spacing;
--- 429,435 ----
}
// SoundFont
+ _soundFontButton = addButton(boss, x, yoffset, "SoundFont:", kChooseSoundFontCmd, 0, ws);
_soundFont = new StaticTextWidget(boss, x + buttonWidth + 20, yoffset + 3, _w - (x + buttonWidth + 20) - 10, kLineHeight, "None", kTextAlignLeft, ws);
yoffset += buttonHeight + 2 * spacing;
Jimbob
Re: Core Audio vs. MT32 Emu on a MAC
Use patch utility:Jimbob wrote:I don't fully understand how the diff file works.
patch < file.diff
Then watch for *.rej files which could contain rejected patch chunks when lines to be patched were modified. Then you should apply those chunks manually with text editor.
Eugene
Re: Core Audio vs. MT32 Emu on a MAC
This is what I'm doing but when I try to determine where the rejected output should go I get a bit confused and I don't know exactly where it should go. I'm trying to work backwards from viewing the original options.cpp file but it still not 100% clear what goes where. It's probably me being a bit of a dunce!!!sev wrote:Use patch utility:Jimbob wrote:I don't fully understand how the diff file works.
patch < file.diff
Then watch for *.rej files which could contain rejected patch chunks when lines to be patched were modified. Then you should apply those chunks manually with text editor.
Eugene
Jimbob
- eriktorbjorn
- ScummVM Developer
- Posts: 3561
- Joined: Mon Oct 31, 2005 7:39 am
Re: Core Audio vs. MT32 Emu on a MAC
That part of the patch was just a cosmetic change: removing a space after "SoundFont:" to keep the text from being truncated in the small version of the GUI. I made that change on its own some time after making the patch, I believe, so it should be perfectly safe to ignore it.Jimbob wrote:I've just tried to apply this patch to the latest daily snapshot and it seems to fail patching one hunk of data, this is the rejected section: -
Re: Core Audio vs. MT32 Emu on a MAC
Ah, OK ... maybe that's the reason it compiled fine!eriktorbjorn wrote:That part of the patch was just a cosmetic change: removing a space after "SoundFont:" to keep the text from being truncated in the small version of the GUI. I made that change on its own some time after making the patch, I believe, so it should be perfectly safe to ignore it.Jimbob wrote:I've just tried to apply this patch to the latest daily snapshot and it seems to fail patching one hunk of data, this is the rejected section: -
Cheers,
Jimbob
Interesting, but...
Interesting Stuff but please let´s get back to what I was asking for.
So, what about the MT32-emu compared to Core-Audio under Mac OSX?
Yesterday I tested the Core-Audio and Mixed-Adlib-Midi-Mode with Indy4 Non-Talkie. I have a very strong feeling that it sounded exactly like 12 years ago with the LAPC-I roland-card.
Am I right with this assumption? If so, MAC users wouldn´t need the mt32-emu, would they?
Thanks, Nagra
So, what about the MT32-emu compared to Core-Audio under Mac OSX?
Yesterday I tested the Core-Audio and Mixed-Adlib-Midi-Mode with Indy4 Non-Talkie. I have a very strong feeling that it sounded exactly like 12 years ago with the LAPC-I roland-card.
Am I right with this assumption? If so, MAC users wouldn´t need the mt32-emu, would they?
Thanks, Nagra
Re: Interesting, but...
Yes, sorry about that.Nagra wrote:Interesting Stuff but please let´s get back to what I was asking for.
As sev mentioned, the MT-32 emu needs a fast computer to work correctly with x86. With no Altivec routines / optimisations the Mac version is going to suffer badly. So to answer your original question a nice fast G5 may be able to cope with the MT-32 option. Things may get a bit better with the switch to Intel but this is only a guess!Nagra wrote:So, what about the MT32-emu compared to Core-Audio under Mac OSX?
Yesterday I tested the Core-Audio and Mixed-Adlib-Midi-Mode with Indy4 Non-Talkie. I have a very strong feeling that it sounded exactly like 12 years ago with the LAPC-I roland-card.
Am I right with this assumption? If so, MAC users wouldn´t need the mt32-emu, would they?
Thanks, Nagra
Currently I've found the CoreAudio or the Quicktime sound drivers to be the better options for MacOS X. So far I've been unable to get anything decent from the MT-32 or the Fluidsynth drivers but this is probably due to the speed of my machine.
Jimbob
Re: Interesting, but...
No, it couldn't be so. First. Since you specified an usual MIDI device, ScummVM remapped some MT-32 instruments for you. MT-32 is not a General MIDI, so it has to be remapped. Second, MT-32 is more than a usual MIDI device. It's power is in patching, i.e. creating completely new instruments, and it does that on-the-fly. There is just no analogs in MIDI for that, you will need to create different instruments for each patch and modify MIDI messages so they will use those new instruments.Nagra wrote:Yesterday I tested the Core-Audio and Mixed-Adlib-Midi-Mode with Indy4 Non-Talkie. I have a very strong feeling that it sounded exactly like 12 years ago with the LAPC-I roland-card.
Just for your comarison, here are several MI tunes pre-recorded from a real MT-32:
http://www.crossfire-designs.de/downloa ... island.ogg
http://www.crossfire-designs.de/downloa ... sland2.ogg
I also recommend to read this whole great article.
Eugene
Yeah, right. You could have saved that money by just asking the right persons ...
I am the Mac OS X maintainer of ScummVM, and wrote large parts of the current CoreAudio driver. I also have an MT-32.
The CoreAudio output sounds very differently from the real MT-32.
The MT-32 won't work with ScummVM, unless you enabled a certain hack in the ScummVM source code, recompile it, and then do the right things in the Apple MIDI setup. So, unless you want the MT-32 just to rip the ROMs, it won't be of any use to you for now, I am afraid.
Finally, the MT-32 emu sucks up large amounts of CPU power. It's barely usabel on my 1.5Ghz G4, with all optimisations one; and 'barely' means that often it still produce stutters etc. Unless somebody optimizes it (e.g. by providing mac specific implementations of certain core routines), this won't change.
I am the Mac OS X maintainer of ScummVM, and wrote large parts of the current CoreAudio driver. I also have an MT-32.
The CoreAudio output sounds very differently from the real MT-32.
The MT-32 won't work with ScummVM, unless you enabled a certain hack in the ScummVM source code, recompile it, and then do the right things in the Apple MIDI setup. So, unless you want the MT-32 just to rip the ROMs, it won't be of any use to you for now, I am afraid.
Finally, the MT-32 emu sucks up large amounts of CPU power. It's barely usabel on my 1.5Ghz G4, with all optimisations one; and 'barely' means that often it still produce stutters etc. Unless somebody optimizes it (e.g. by providing mac specific implementations of certain core routines), this won't change.