- Home /
Question by
Whipexx · Dec 01, 2015 at 02:34 PM ·
audioclipmicrophonerecording
Recorded Audioclip has more samples than it should. Why?
Hi, I'm recording audio from my mic and storing it as a float array to serialize it later.... And I discovered that the array length was much longer than expected.
public int bitrate = 8000;
public int maxClipLength = 20;
...
audioVoice.clip = Microphone.Start("Audioclip", false, maxClipLength, bitrate);
And right after this I print the audioVoice.clip.samples, witch turn out to be "audiovoice samples: 320000" Shouldn't the samples be bitrate*maxClipLenght (160000)?
P.S: I've also checked the channels and as expected it was just one.
Comment
Your answer
Follow this Question
Related Questions
Microphone start freezes app 0 Answers
How can I use microphone to record and access to buffer in real time? 1 Answer
Microphone capture different channels 0 Answers
record dynamic length from microphone 1 Answer
How to edit audioclip? 1 Answer