Corrected int types in Web Audio API