Fixing deprecated gainNode problem