ended3월 25일· 1 sources
How to Get Accurate Recording Duration from Unity's Microphone
Unity Microphone에서 정확한 녹음 길이를 구하는 방법
Why it matters
The article addresses the problem of getting accurate recording duration when using Unity's built-in Microphone class, which always returns the maximum duration even after early stopping. The solution involves capturing the recording position at stop time, copying only the recorded audio samples into a new trimmed AudioClip, and replacing the original clip to reflect the true duration.
1
Sources
+0
24h
—
Growth
180d
Active
UnityMicrophoneAudioCliprecording durationsample code