Converter SoundGenerator to directly use a web audio API buffer