x


Can you capture audio from Unity?

Is there a way to capture the audio from Unity into a file?

more ▼

asked Nov 18, 2009 at 05:39 PM

noradninja gravatar image

noradninja
925 44 40 62

(comments are locked)
10|3000 characters needed characters left

6 answers: sort newest

The only existent method that Unity API is offering is this:

"EditorUtility.ExtractOggFile
static function ExtractOggFile (obj : Object, path : string) : bool

Description

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.

more ▼

answered Nov 18, 2009 at 06:57 PM

ericksson gravatar image

ericksson
2k 15 20 54

I actually was looking for a way to capture all the audio playing when the game is running, oh well. Thanks.

Nov 18, 2009 at 08:51 PM noradninja
(comments are locked)
10|3000 characters needed characters left

if the unity file is running inside a browser, the audio is not recorded no matter what software you try to use!!!

more ▼

answered Mar 20, 2013 at 10:24 PM

animaytor gravatar image

animaytor
1

(comments are locked)
10|3000 characters needed characters left

for mac i can advise you Macvide ScreenCap (macvide.com/Macvide_screencap/), very easy and helpful progfor grabbing screen...

more ▼

answered Jun 16, 2011 at 12:54 PM

miniklop gravatar image

miniklop
1

(comments are locked)
10|3000 characters needed characters left

The fraps tool set captures audio and video from any running application, including a Unity game. It's very easy to set up and use.

more ▼

answered Nov 25, 2010 at 05:27 PM

yoyo gravatar image

yoyo
8.1k 59 67 124

(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered Nov 18, 2009 at 11:45 PM

Jessy gravatar image

Jessy
18.1k 207 173 283

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x8531
x1594

asked: Nov 18, 2009 at 05:39 PM

Seen: 4532 times

Last Updated: Mar 20, 2013 at 10:24 PM