Chris Needham

Results 487 comments of Chris Needham

Currently, segments are shown with a different waveform colour. To make sure I understand correctly, are you suggesting that segments should instead be drawn with a highlight area, as your...

So we'd have to modify Peaks.js in some way to achieve that. There are two approaches: either add more [configuration options](https://github.com/bbc/peaks.js#configuration), or extend the [customization API](https://github.com/bbc/peaks.js/blob/master/customizing.md). The customization API would...

I agree this would be useful, so I'm having a quick look into it. A couple of options are [libfaad](http://www.audiocoding.com/faad2.html) and [libsox](http://sox.sourceforge.net/). libsox should be straightforward to add, so I'll...

If someone reading this is a Mac OS X user, can you check that libsox supports m4a audio (I think ffmpeg is needed), and post the homebrew commands needed to...

Thank you for investigating. The reason for suggesting libsox is that it presents a very simple API for application developers, and internally takes care of all the complexity of parsing...

The current workaround is to use ffmpeg to convert m4a to wav, then run through audiowaveform (see the last example [here](https://github.com/bbc/audiowaveform/#examples)). Until we have working m4a support, I suggest raising...

Hi, You make a good argument regarding custom MIME types, and we agree with you in principle. We designed the waveform data format with only the [Peaks.js](http://waveform.prototyping.bbc.co.uk) application in mind...

We don't currently have a way for user customisation (apart from waveform colour) but I'm very much open to making it more configurable. This could be either by adding more...

Does the [`setZoom()`](https://github.com/bbc/peaks.js/blob/952b84e49d9cf7bb1ba5059f7a690a342cec18e9/README.md#viewsetzoomoptions) method do what you need? I recommend trying out the demo pages, in particular the [zoomable-waveform](https://github.com/bbc/peaks.js/blob/952b84e49d9cf7bb1ba5059f7a690a342cec18e9/demo/zoomable-waveform.html) demo, which uses `setZoom()`.

> If there isn't at the moment, could this also be add to the options or the extension API?! At the moment, there isn't. Can you provide an example image...