change to getSoundLevel

Second ambient.getLightLevel in the setInterval should be changed to ambient.getSoundLevel in order to serve up the sound data.