You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After generating waveform json data server side and using new WaveformData(xhr.responseText, WaveformData.adapters.object); to create my WaveformData object, is there any way I can render the waveform by passing the WaveformData object to peaks.js? I can't use the json data to generate the waveform as it isn't stored on the server.
The text was updated successfully, but these errors were encountered:
Peaks.js does not currently have an option where you can give it your own WaveformData object. If you generate the waveform data JSON server-side, you can use the dataUri option to Peaks.init() to load the data, and the Peaks instance will construct its own WaveformData object for you.
After generating waveform json data server side and using
new WaveformData(xhr.responseText, WaveformData.adapters.object);
to create my WaveformData object, is there any way I can render the waveform by passing the WaveformData object to peaks.js? I can't use the json data to generate the waveform as it isn't stored on the server.The text was updated successfully, but these errors were encountered: