Skip to content

Instantly share code, notes, and snippets.

@LarryLuo1
Created June 13, 2022 03:35
Show Gist options
  • Save LarryLuo1/4f3774bfc7125cffee76267fe01157ae to your computer and use it in GitHub Desktop.
Save LarryLuo1/4f3774bfc7125cffee76267fe01157ae to your computer and use it in GitHub Desktop.
Create audio context
// Create audio context
const AudioContext = window.AudioContext || window.webkitAudioContext;
const audioCtx = new AudioContext();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment