temp_wav_file = temp_file('wav')
      AudioWavpack::modify_wavpack(source, temp_wav_file, modify_parameters)

      # remove start and end offset from modify_parameters (otherwise it will be done again!)
      wav_to_modify_params = modify_parameters.clone