Programming Sound Extracting with the ScummVM API

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

Moderator: ScummVM Team

michaelklaube
Posts: 33
Joined: Fri Feb 01, 2013 3:36 pm

Post by michaelklaube »

I do have the flag "ENABLE_HE" already set in the prepocessor macro settings:)
michaelklaube
Posts: 33
Joined: Fri Feb 01, 2013 3:36 pm

Post by michaelklaube »

I got it!
michaelklaube
Posts: 33
Joined: Fri Feb 01, 2013 3:36 pm

Post by michaelklaube »

Hello interested forum members,

I used "--music-driver=core" as settings but cannot get coreaudio.cpp to break while debugging. It seems that the coreaudio code isn't used.

Everytime there is the SDL code invoked.

Can anybody help?
michaelklaube
Posts: 33
Joined: Fri Feb 01, 2013 3:36 pm

Post by michaelklaube »

I understood that coreaudio is only linked for Mac OS X < 10.6. Ok. But CoreMidi isn't used either?
michaelklaube
Posts: 33
Joined: Fri Feb 01, 2013 3:36 pm

Post by michaelklaube »

Hello again,

I figured something out:

I use two games:
-Indy 3 Mac
-King's Quest VI Mac.

But only for the KQIV game there is a MidiDriver_CoreMIDI instantiated.
For Indy3 there is none.

Can somebody tell me why?
michaelklaube
Posts: 33
Joined: Fri Feb 01, 2013 3:36 pm

Post by michaelklaube »

Got it.

If I enable the MIDI by tweaking the source code, there is a CoreMIDIDriver instantiated by I cannot hear the music while the game plays.

Indy3 doesn't do MIDI.

That's why.
michaelklaube
Posts: 33
Joined: Fri Feb 01, 2013 3:36 pm

Extract & Convert

Post by michaelklaube »

I did it!!!
Finally I could convert the extracted raw 16 bit audio data of various LucasArts adventures to aiff files and now I can put them into my iTunes lib.

Am I allowed to post a short snippet of my works here in this forum?
User avatar
somaen
ScummVM Developer
Posts: 372
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

If by "my works", you mean converted audio files from the game data, then no.

If however you mean an explanation of how you did it, then yes.
michaelklaube
Posts: 33
Joined: Fri Feb 01, 2013 3:36 pm

Post by michaelklaube »

Okay, means I am not allowed to post an audio file. Explanation instead is to complex to put in some sentences. But, however, thanks to all the forum members who answered to this thread.

Cheers, Michael
Post Reply