Chris Needham

Results 487 comments of Chris Needham

I have made a demo: https://github.com/chrisn/peaksjs-angular-example

Thanks for contributing! If we were to add this feature, we'd need a few options: * waveform-style: normal / bars * bar-width * bar-gap * bar-style: square / rounded

`playSegment()` should return the same as `play()` - the promise would indicate whether playback started successfully. If `playSegment()` returned a promise and you choose to play in looped mode, the...

My feeling is that this is solvable using event listeners and some stateful logic in your application. I'd like to see an example before considering changing the Peaks API.

You're right, there's no need to pause there.

I've never tried this. What is your use case? If you need to create waveform data in the browser, the [waveform-data](https://github.com/bbc/waveform-data.js) library should work, using Web Audio.

>But since samples per pixel is integer, higher values of desired number of pixels can get the SAME number of samples per pixel. This is true, and means that it's...

If I understand correctly, this is the same as #41 and #104, which discuss creating images with the audio fit to a given image width. There's still some work to...

Thank you for the question. I think you would have to compile audiowaveform yourself, as we do not currently have a binary RPM package for arm64 available. There's information on...