capturing sound
Blitz3D Forums/Blitz3D Programming/capturing sound
| ||
Would it be possible to capture audio that the soundcard is currently playing in raw format or wav? I want to set the recording side of the soundcard to "what u hear" to capture anything it plays then get this audio data, sample by sample and pass it to the STDIN of a commandline audio encoder such as oggenc. Is this possible in Blitz? Windows API? |
| ||
You could use this: http://blitzbasic.co.nz/codearcs/codearcs.php?code=845 Here is the decls file: edit: Or you could use the MCI commands: |
| ||
I think there's also a working example in the archives. There's also an example on how to control the mixer, so you could mute certain devices. |