var actx = new AudioConext(); //create audiocontext
oscillator = actx.createOscillator();
oscillator.connect(context.destination); //first connection
oscillator.start(context.currentTime); //start the WA thread
{% embed url="https://codepen.io/LucianoAzzigotti/pen/vYZeENd?editors=0012" %} webaudio tes-tone {% endembed %}
{% hint style="success" %}
Try this!
****
****1. Fork this codepen into your own and try to change the frequency and the generator type.
{% endhint %}