zgubidan:
Hi, I stumbled upon your tone libraries and they are great, but both I tested after playing a melody left humming sound in a speaker.
With toneAC I solved it, with one noToneAC() afterwards, but this one I like better because it uses no timers - a part of bigger project, I need my timers... :o)
So, this library has no command to turn sound off (right?), and I tried writing low digitally, (you can see it), it didn't help, so, what happens is:
after playing a tune speaker buzzes quite low in frequency, and for some 10 seconds, then it goes silent for my delay of 2 seconds, starting all over.
Any idea why this buzzing and why so long?
It will only hold the note for the duration specified. There's no reason to do anything to end the note as it always ends the note when complete. What hardware are you running on?
Tim