adapting log for wav file