Lilypad Protosnap board buzzer crashes

I'm using the lilypad protoboard to make a project that change trills every second or so. At some point, the buzzer will start producing a low note that kind of sounds like a modem from the 90's. At this point it keeps on making this really annoying sound despite the fact that we are now out of that trill (as confirmed by prints to the serial monitor). Any idea why it is doing this or how it can be fixed?

Not without seeing some code; a drawing of what you have wired up will help also.

BrendanQ: Any idea why it is doing this or how it can be fixed?

This is my idea: Look at the code and circuit, find the mistake in your code and/or circuit, then fix it!

Please read this:- How to use this forum Because you don't know how to ask a question correctly for this forum.