Better Music for GM ScummVM (and DOSBox) games

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
User avatar
Raziel
ScummVM Porter
Posts: 1376
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet

Re: Better Music for GM ScummVM (and DOSBox) games

Post by Raziel »

@cwadge

That looks and sounds so cool.

I'm no hardware guy at all, never soldered any electronics, but could probably activate someone to do it.

Thank you for that idea
slx
Posts: 58
Joined: Thu Jan 22, 2009 3:23 am

Re: Better Music for GM ScummVM (and DOSBox) games

Post by slx »

Hello, please help me! I can use it in SCUMMVM but how can I use this soundfont with DOSBox?
User avatar
sev
ScummVM Lead
Posts: 2100
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Re: Better Music for GM ScummVM (and DOSBox) games

Post by sev »

slx wrote: Fri Nov 13, 2020 1:52 pm Hello, please help me! I can use it in SCUMMVM but how can I use this soundfont with DOSBox?
This is offtopic here, you'd better ask dosbox folks about their software.
slx
Posts: 58
Joined: Thu Jan 22, 2009 3:23 am

Re: Better Music for GM ScummVM (and DOSBox) games

Post by slx »

sev wrote: Fri Nov 13, 2020 10:50 pm
slx wrote: Fri Nov 13, 2020 1:52 pm Hello, please help me! I can use it in SCUMMVM but how can I use this soundfont with DOSBox?
This is offtopic here, you'd better ask dosbox folks about their software.
OK!
Kirtai
Posts: 12
Joined: Sat Apr 10, 2021 10:00 pm

Re: Better Music for GM ScummVM (and DOSBox) games

Post by Kirtai »

cwadge wrote: Sat Oct 31, 2020 1:46 am A friend and I had kicked around the idea of building a Raspberry Pi based solution that runs both the latest FluidSynth + FatBoy and MUNT as daemons. Setup a button/switch to the GPIO to toggle which receives the MIDI input, maybe even an MT-32 style LCD and a 3D printed case to look like an old-school desktop MIDI module. Unfortunately I haven't had the time to pursue this at all, but it might be a fun weekend DIY project for somebody. :wink:
It already exists. https://github.com/dwhinham/mt32-pi/. There's even hats for it with DACs and controls.
User avatar
cwadge
Posts: 107
Joined: Thu Feb 08, 2018 9:02 pm
Location: USA
Contact:

Re: Better Music for GM ScummVM (and DOSBox) games

Post by cwadge »

Kirtai wrote: Tue May 11, 2021 10:50 pm It already exists. https://github.com/dwhinham/mt32-pi/. There's even hats for it with DACs and controls.
That's really awesome
User avatar
Raziel
ScummVM Porter
Posts: 1376
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet

Re: Better Music for GM ScummVM (and DOSBox) games

Post by Raziel »

@Kirtai
@cwadge

Is anyone using that solution together with ScummVM already?
I'd like to know how hard ist may be to set up.

Also, what i don't really understand right now, can that Pi distinguish between MT-32 and GM/GS or will everything be fed into either one or the other?
Playing MT-32 games with MT-32 emu and GM/GS with fatboy on the same hardware would be heaven...
Kirtai
Posts: 12
Joined: Sat Apr 10, 2021 10:00 pm

Re: Better Music for GM ScummVM (and DOSBox) games

Post by Kirtai »

Raziel wrote: Thu May 13, 2021 9:19 am Also, what i don't really understand right now, can that Pi distinguish between MT-32 and GM/GS or will everything be fed into either one or the other?
Playing MT-32 games with MT-32 emu and GM/GS with fatboy on the same hardware would be heaven...
You can switch it between MT-32 & GM mode and there's also a way to switch soundfonts in GM mode.

There are hardware interfaces (see here for details and here for ones already designed).

There's also sysex support for changing the setup too. https://github.com/gmcn42/mt32-pi-control is a tool to do this but any sysex tool should be able to work with the commands here.

As for setting it up, it should appear as a standard MIDI device, like any other external synth.


Aside, this thread on Vogons shows some that people have made. The one in the second post is particularly nice.
User avatar
Raziel
ScummVM Porter
Posts: 1376
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet

Re: Better Music for GM ScummVM (and DOSBox) games

Post by Raziel »

@Kirtai

Sweet, I already found the vogons thread and the mini mt-32 looks awfully cute...wanna have :-)

Yes, I know about the manual switch, but is there any way to tell the pi hardware to use mt-32 emu on mt-32 games and fluidsynth/fatboy on GM/GS games on the fly?
Because I won't know which game uses which when I start it (launcher)

I dont think scummvm could do it since it simply sends the stuff to the hardware.

Anyway, many thanks for the answer.

Now I gotta find someone who can solder :-)
Kirtai
Posts: 12
Joined: Sat Apr 10, 2021 10:00 pm

Re: Better Music for GM ScummVM (and DOSBox) games

Post by Kirtai »

Raziel wrote: Thu May 13, 2021 1:11 pm Yes, I know about the manual switch, but is there any way to tell the pi hardware to use mt-32 emu on mt-32 games and fluidsynth/fatboy on GM/GS games on the fly?
Because I won't know which game uses which when I start it (launcher)

I dont think scummvm could do it since it simply sends the stuff to the hardware.
The sysex commands let it be controlled by software. The tool I linked could set it to MT-32 mode with something like

Code: Select all

mt32-pi-ctl -p <midi port> -m
and to GM mode with this

Code: Select all

mt32-pi-ctl -p <midi port> -g
There's options to select which soundfont or MT-32 model to use too.

I don't know how to integrate that into ScummVM though. Maybe an option to send custom MIDI messages when a game is loaded? (Since that's what sysex messages are). Or a per-game script?

And yes, the mini MT-32 is very cute :)
User avatar
Raziel
ScummVM Porter
Posts: 1376
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet

Re: Better Music for GM ScummVM (and DOSBox) games

Post by Raziel »

@Kirtai

Thank you, yes i found the commands, there's even a build for Amiga :-)

But that would only work for, as you wrote, per-app/game scripts, but unfortunately not for ScummVM.
The special SYSEX sounds intruiging...probably need to give away one of those Pis to a dev, so that it could be integrated...
Post Reply