test js translation of audio generator