Scrubbing and aufileplayer
Scrubbing and aufileplayer
- Subject: Scrubbing and aufileplayer
- From: Ashley Gibson <email@hidden>
- Date: Mon, 18 Jun 2012 23:51:37 +1000
I am building an app where a user can drag and drop short audio
samples into a timeline and there can be empty blocks which should
produce silence.
At this stage I am thinking about using an aufileplayer for each track
and scheduling the files in somehow. I have already done a little bit
with this au so am confident I can set this up.
The tricky part is giving the user a scrubber control. Am I going to
have to calculate the position of the scrubber and only schedule the
files that should be heard at the defined time and after?
For example, if the user has dragged 3 samples, each which are 15 secs
long and are end to end. The user scrubs to 18 seconds. Do I just
schedule tracks 2 and 3 and somehow calculate the stating position to
be 3 seconds into track 2?
If anyone has done something similar please let me know.
Cheers,
Ash
_______________________________________________
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