Sounds not working only for long experiments in Chrome

URL of experiment: sound_categorization_no_visual [PsychoPy]

Description of the problem:

In this experiment (developed using Builder), I present pure tones in a loop and wait for the participant to select an option. The pitch of the tone is a variable chosen by a code on each repetition of the routine (I am not using an excel file to select the frequency of the sound). After several trials (150-200 trials), the sound starts to break up and then stops completely. This seems to be an issue with Google Chrome only.

I have no idea why this is happening. Has anyone had this problem before?

I encountered it (or something similar) with my Music Box demo, and have noted that it sometimes warbles towards the end.

I could also do with finding out if PsychoPy can tell web browsers to produce a sine wave instead of the somewhat unpleasant square wave it seems to give me.