• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scrubbing and aufileplayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: AUGraphOpen fails with an ­2005 error?
  • Next by Date: Echo removal vs latency: Switching between VPIO and Remote IO?
  • Previous by thread: AUGraphOpen fails with an ­2005 error?
  • Next by thread: Echo removal vs latency: Switching between VPIO and Remote IO?
  • Index(es):
    • Date
    • Thread