Open nemesisKO opened 2 years ago
You can use the waveform-data.js resample() function with the width
option to give you JSON with a given array length. The algorithm it currently uses means it won't be exactly the right length, but I have a fix for that coming soon.
hi how can i generate wave in exact width or array length in json for all mp3s. for example i want same array length for 2 minute mp3 as 5 minute mp3