IntervalTimer and Audio library

Status
Not open for further replies.

poltergeist

Active member
Hi. it's me again, and I'm messing up the audio library, again :)

I tried to create some IntervalTimers to call functions, but it seems it messes up with the Audio interrupts and creates some glitchy noises.
Well, what would be the correct way to use timed interrupts with the audio library? :)

Also where is located the Audio Interrupt function (the one that goes through all the audio nodes at 44khz), I can't seem to find it the Audio Library folder.

peace and love!
 
Running into the same problem [audible glitches] and searching for a solution, I found this rather old post.
The solution can be found in this post by Paul Stoffregen: set myTimer.priority(xxx) to a value above 128 and below 255. This effectively makes the interval timer having a lower priority than the audio library. In my application I changed the priority to 255 and the audible glitches were gone.

Regards,
Paul
 
Status
Not open for further replies.
Back
Top