fix ADSR bug that could kill audio output