- to support
AudioContext
on safari we need to usewebkitAudioContext
- in TS it looks like this
let AudioContext = window.AudioContext || (window as any).webkitAudioContext;
this.audioContext = new AudioContext();
AudioContext
on safari we need to use webkitAudioContext
let AudioContext = window.AudioContext || (window as any).webkitAudioContext;
this.audioContext = new AudioContext();