Scummvm sound engine

All the inane chatter goes in here. If you're curious about whether we will support a game, post HERE not in General Discussion :)

Moderator: ScummVM Team

Post Reply
bunjee
Posts: 1
Joined: Fri Feb 20, 2009 10:59 am

Scummvm sound engine

Post by bunjee »

Hey there,

Greetings forum,
I'm developping a midi sequencer.

I have a few "technical" questions,

How does scummvm emulates sound playback ?
Are you using sound banks of any kind to do so ?

Is there any iMuse open source port ?
Would this be legal ?

Thanks.
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3561
Joined: Mon Oct 31, 2005 7:39 am

Re: Scummvm sound engine

Post by eriktorbjorn »

bunjee wrote: How does scummvm emulates sound playback ?
Are you using sound banks of any kind to do so ?
If I understand your question correctly, it depends. I know that a game engine typically uses the MidiDriver class (sound/mididrv.cpp) class to detect what kind of music driver is available, and to create one. It then sends music events to be played to this driver. In the simplest case, it can use one of the standard MIDI parsers (sound/midiparser*) for help.

The actual music driver can be platform-dependent (backends/midi/*) or emulated (sound/softsynth/*). The game engine shouldn't have to care which.

I'm probably not familiar enough with the implementation to answer any more specific questions, though.
bunjee wrote: Is there any iMuse open source port ?
Would this be legal ?
You mean to create data for the iMuse player in the SCUMM engine? I'm not aware of any. I have no idea about the legal aspects.
Post Reply