Is there a way to capture the audio from Unity into a file?
asked Nov 18, 2009 at 05:39 PM
The only existent method that Unity API is offering is this:
Saves an AudioClip or MovieTexture to a file.
Will save an Ogg Vorbis or Ogg Theora file at the specified path. "
I never used it though, and I never seen it being used before. I hope it helps you. If you want to capture all the sound that you can hear at a specific time in Unity (e.g. multiple sounds playing at the same time) to a single audio file, I don't think there's any method of doing that.
For Audacity (PC):
For Wiretap (Mac):
Alternatively, on Mac OS 10.6 (Snow Leopard), you can use Quicktime X to do a screen capture and use an internal or external mic to record your speakers, though you'll get ambient room noise and computer hum as well.
NOTE: All these methods will record every sound your computer makes, so watch out for IM/Mail notifications and Mac volume adjustment blips.
You can use Soundflower (OS X, free) to route audio as you please. It's more complicated that Wiretap, because you need another app for recording, but it's free and has always worked perfectly for me.
I have never used Virtual Audio Cable, but it's apparently the Windows equivalent of Soundflower.
Also, Audacity runs on OS X, too, and would be an appropriate tool to use with either of these utilities, though it's redundant, given "What U Hear". Although I don't like Audacity, the tools I do like do not offer a simple "What U Hear" choice.
answered Nov 18, 2009 at 11:45 PM