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?