Skip to content

v3.1.3

Compare
Choose a tag to compare
@dlepaux dlepaux released this 21 Mar 19:31
· 131 commits to main since this release

This release includes new events (STOP and RESET) to add more controls over the library. You need to use the processor postMessage method to trigger an event.

realtimeAnalyzerNode.port.postMessage({
  message: 'STOP' | 'RESET',
});

Add handy getBiquadFilters method to create low and high pass filters with specific settings in order to capture the bass peaks. You can still create your own.

import { getBiquadFilters } from 'realtime-bpm-analyzer';
getBiquadFilters(audioContext);