Chris Needham
Chris Needham
As a workaround, you can use either of these methods to read FLAC files: ``` audiowaveform -i test.flac -o test.dat -z 256 -b 8 ``` ``` audiowaveform --input-format flac -o...
Thank you for suggesting this. I think implementing this would require changes to the library, rather than being possible through the current API and customisation options. I'd be open to...
This is a great use case. What I'd recommend to start with is to look at [waveform-data.js](https://github.com/bbc/waveform-data.js), the module that produces the data for drawing the waveform (the [algorithm](https://github.com/bbc/waveform-data.js/blob/master/lib/builders/audiodecoder.js#L39) is...
You can find details of the data format we use [here](https://github.com/bbc/audiowaveform/blob/master/doc/DataFormat.md). I haven't had time to look into this yet, but I imagine that adapting Peaks.js to display a real-time...
Apart from a known issue with variable bitrate mp3 (#221, #239), the sync should be pretty good. Can you share an example audio file with me to take a look...
Ah, ok, your original issue said 200 to 1000 milliseconds, I'd be concerned if sync was that far off. As it is, 20-25ms is more in the range of what's...
I'm hoping that this feature is as simple as adding an offset [here](https://github.com/bbc/peaks.js/blob/master/src/playhead-layer.js#L246) - that's the animation loop where the playhead position is updated. Would you mind doing an experiment...
I just released version 0.11.0 which adds a `setSource` function that allows you to update the waveform without destroying the Peaks instance. There's currently no support for recalculating only part...
I'm interested to see if we can solve the partial recalculating / resampling question. Are you using the Web Audio API to do the edits and fades, etc?
Peaks.js uses the [waveform-data.js](https://github.com/bbc/waveform-data.js) module to generate and provide access to the waveform data. For your use cases, we'd need to update that module to allow partial updates. Are you...