Thursday, 24 March 2011

Precise timing for audio


i want make custom loop handles tick of timer. loop control timing of when play ticks. i'm using avaudioplayer can use things "playattime." can use "playerdidfinishplaying" method of sounds. want overlap of sounds, didfinishplaying won't work. essentially, play set of sounds every 1 or 2 seconds, , precision necessary.

i'm using nstimer , nsdate keeping track of time. i've noticed skip, , skips screw timing of sounds. i'm wondering if there's way run loop based on time , not frames.
 

too bad apple's sample app called metronome no longer available. could've looked @ possible solution. hmm, may have backup of app, although might outdated. i'll let know if find it.
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment