waveform data (peaks) generator (nodejs / ffmpeg)