Re: Saving a sound file with a specific duration
Re: Saving a sound file with a specific duration
- Subject: Re: Saving a sound file with a specific duration
- From: Adriano Gonçalves <email@hidden>
- Date: Mon, 25 Mar 2013 18:06:04 +0000
Well, I need to keep
pre-recorded samples and user recorded samples
synchronized. But you made me rethink
the solution of adding empty space (which would be the "lazy" solution) and now I'm doing it in the render callback.
Thanks!
On 25/03/13 15:26, Richard Dobson
wrote:
On
25/03/2013 14:49, Adriano Gonçalves wrote:
Hi.
I've been searching for this for a while now and maybe I'm not
using the
correct search termsbut I can't seemto find the solution.
Using AVAudioRecorder I can start recording a sound file using
the method
[audiorecorder recordForDuration:10.0];
This way, if the user doesn't push the "stop recording" button,
after
those 10 seconds the recording is stopped. That's what I need.
But if the user pushes the "stop" button BEFORE those 10 seconds
are
gone, my sound file will be smaller.
So the question is, in those cases, how can I append "empty"
seconds to
the recorded file, so that in the end it will have 10 seconds in
duration?Can it be done using AVAudioRecorder?
Not an answer to your question, but: why? I would think as a user
that if I stopped recording before the 10sec limit, it would be
because I wanted the shorter recording. Why waste space?
Richard Dobson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden