Saving a sound file with a specific duration
Saving a sound file with a specific duration
- Subject: Saving a sound file with a specific duration
- From: Adriano Gonçalves <email@hidden>
- Date: Mon, 25 Mar 2013 14:49:10 +0000
Hi.
I've been searching for this for a while now and
maybe I'm not using the correct search terms
but I can't seem to 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?
Best regards,
Adriano
Gonçalves
|
_______________________________________________
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