let contextClass : any = window.AudioContext || window.webkitAudioContext; let context: AudioContext = new contextClass();