Reputation: 38
Hi I'm making a game about recording in-game audio, but all I can do is recording with internal microphone, the default input audio device. I try to see the list of devices in Unity with Microphone.devices
, but depend of my Windows configurated devices, I need a solution to work in any computer. Maybe something related to FMOD custom DSP, faking a audio card or some solution in Unity API, I need a north. How I'm using the code:
myAudioClip = Microphone.Start ( null, false, 10, 44100 );
To save a audio file I'm using that script: https://gist.github.com/darktable/2317063
And that line:
SavWav.Save("myfile", myAudioClip);
My question is: How to record my application output audio as a input data too in Unity.
Upvotes: 1
Views: 3134
Reputation: 3019
You can't do that in Unity. The furthest you can go is record individual AudioClips.
To record system output use NAudio. It's a .NET library, hope it will work on Mono.
Good luck
Upvotes: 1