unity3d - How can pause/resume recording audio from microphone in unity engine -


in unity engine want record audio microphone pause/resume ability; want have of recorded audio in 1 audioclip @ final; , don't know how many time pause , play (it's depend user, not me) (also length of it) can ?

don't have ready made solution, way should start use microphone class , use start , end function record audio. returns audio clip can save numbered file (e.g., audio_datetime_00001,audio_datetime_00002,...). once user play/pause/stop can create new audio file. later can merge them using naudio (try mark heath's solution).

happy coding!!!


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -