Modifying to adapt AudioContext.creategain