PDA

View Full Version : Delphi to capture all currently playing audio to a wav file?



paul_nicholls
08-11-2006, 04:25 AM
Hi all,
Using Delphi 5 is there anyway of grabbing whatever audio (sounds, music, etc) that is currently playing through the current output device (speakers, headphones, whatever) and create an uncompressed .wav file from the data?

I want to grab some sounds and music from a C64 game running under the WinVICE C-64 emulator program, and I thought that doing this could be the way to go with getting the sounds...

And as I use Delphi 5 a lot... :-)

cheers,
Paul.

paul_nicholls
08-11-2006, 04:30 AM
If necessary I can also use Freepascal as I have Lazarus using Freepascal 2.0.4.

So if anyone has some Freepascal code as well I could use this too :-)

cheers,
Paul

JernejL
08-11-2006, 09:19 AM
Use goldwave or sound forge to record wave from output or input sources..

Nitrogen
08-11-2006, 03:29 PM
I think he means real time..

Yea, have a look at DirectSound, or the FMOD library or OpenAL (I dont know about that though)

Both DS and FMOD support recording from a microphone, so I guess it could be an easy step up from there to full 'what u hear'

JernejL
08-11-2006, 04:47 PM
He said he just has to record some sound out of a C64 emulator.. he could easily use even a windows sound recorder to do that..

paul_nicholls
08-11-2006, 10:35 PM
Thanks guys, I will try the suggestions and see how I go :-)

cheers,
Paul.