Home How to trigger audio samples and regular very short intervals in iOS
Reply: 0

How to trigger audio samples and regular very short intervals in iOS

Microkid
1#
Microkid Published in 2018-02-12 11:07:31Z

Hi just looking for some advice / guidance on this. I need to trigger some audio samples (standard 44.1KHz 16Bit stereo Wav / AIFF files max of about 1.2 Seconds long). These need to be triggered at regular intervals for musical purposes so if the user sets Beats Per Minute (BPM) to 120 and the note value to 1 then the time intervals would be 2000mS, with a note value of 4 this would be 500mS and so on down to a note value of 32 which would be 62.5mS.

What would be the best way of achieving this? Would it be to run a timer that elapses every 62.5mS - run some checks and play the relevant sample? or is there a better way?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.334836 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO