Thank you, it is certainly a good thing to de-bounce the button.
The problem is not related to bouncing though, because the exact same problem occurs if I only send the contents of the play function to the board and no button is involved. It really sounds like the sample output rate changes every few thousand samples... which is strange, since it is only set once in w.startOutput. Any other ideas?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thank you, it is certainly a good thing to de-bounce the button.
The problem is not related to bouncing though, because the exact same problem occurs if I only send the contents of the play function to the board and no button is involved. It really sounds like the sample output rate changes every few thousand samples... which is strange, since it is only set once in w.startOutput. Any other ideas?