use onstatechange instead of addEventListener
use onstatechange instead of addEventListener

in Safari < 10 AudioContext does not extend EventEmitter

Tonejs/Tone.js,Tonejs/Tone.js,TONEnoTONE/Tone.js,TONEnoTONE/Tone.js