Fixed deprecated GainNode call

Replaced deprecated call with replacement