replace static .wav suffix with correct soundfile_format