When I start my oscillator, stop it, and then start it again; I get the following error:
Uncaught InvalidStateError: Failed to execute \'start\' on \'Oscillat
The best solution I've found so far is to keep the SAME audioContext while recreating the oscillator every time you need to use it.
FYI You can only create 6 audioContext objects per browser page lifespan (or at least per my hardware):
Uncaught NotSupportedError: Failed to construct 'AudioContext': The number of hardware contexts provided (6) is greater than or equal to the maximum bound (6).