Fix error caused by deprecated 'AudioContext.createGainNode'