add function to generate raw file from audio file
reduce time to generate waveform