howler.js icon indicating copy to clipboard operation
howler.js copied to clipboard

[How To] acces AudioBuffer (BufferArray from URL audio)

Open ovidiuux opened this issue 2 years ago • 1 comments

Feature Proposal

Hi, i want to acces AudioBuffer from Howler.ctx, i need AudioBufferArray to make a normalization filtre to improve audio quality.

Possible Implementation

The buffer is Howler.ctx.decodeAudioData(buffer, ...), can you make a global variable to be able to acces?

ovidiuux avatar Oct 31 '22 17:10 ovidiuux

An ondata would be useful https://github.com/goldfire/howler.js#options - emitting frames of decoded audio chunks

quinndiggity avatar Nov 08 '22 07:11 quinndiggity