audiobuffer-pulses
v1.0.4
Published
Generates desired number of decibel pulses from raw PCM data
Downloads
13
Maintainers
Readme
audiobuffer-pulses
Generates desired number of decibel pulses from raw PCM data.
Installation
npm install --save audiobuffer-pulses
Usage
import { getAudioBufferPulses } from 'audiobuffer-pulses';
const float32Array = getAudioBufferPulses({
audioBuffer,
pulsesCount: 100,
maxDecibels: -20,
minDecibels: -90,
});