Re: Making a Looping App - direction?
Re: Making a Looping App - direction?
- Subject: Re: Making a Looping App - direction?
- From: Pier <email@hidden>
- Date: Fri, 26 Oct 2012 16:29:14 +0800
Thanks guys, will go check it out.
If SchedulePlayer doesn't work out will go the buffer route with RemoteIO.
Pier.
On Thu, Oct 25, 2012 at 6:57 PM, Orestis Markou
<email@hidden> wrote:
The SchedulePlayer AudioUnit should be able to do this, from what I understand it's essentially a FilePlayer where the audio data is already in memory (most probably it's the other way round, of course). You should be able to trigger playback immediately, and if you want to write the data to a file you can do that using the ExFile API.
Note: I haven't tried this before, just spent a lot of time with the CoreAudio documentation.
On 25 Οκτ 2012, at 10:28 π.μ., Jack Nutting <
email@hidden> wrote:
On Thu, Oct 25, 2012 at 4:31 AM, Pier
<email@hidden> wrote:
Would I be able to use the FilePlayer AudioUnit to do this?
1. Record to a file
2. Playback the file immediately after recording without any gap and loop it
3. Record another file while the first file is still playing
4. Playback this file again immediately in sync with the first file, with audio from both files playing at the same time
.... and so on
The only thing I'm not sure about is #2. I'm not sure if you can point a FilePlayer at a file that is still being written, which is what you'd probably need to do to make it playback smoothly right from the start. Anyone else know?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (
email@hidden)
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