18 releases (7 stable)

2.4.0 Aug 26, 2024
2.3.0 Jan 17, 2024
2.2.0 Dec 7, 2023
2.1.0 May 22, 2023
0.1.0-alpha.4 Mar 25, 2022

#230 in Audio

26 downloads per month

MIT license

2.5MB
3.5K SLoC

audio-processor-analysis

Provides implementations of some audio analysis processors.

RMS

Real-time safe, per-sample (ticked by UI thread) RMS calculation.

Peak detector

Peak detector with adjustable attack/release times.

FFT

rustfft audio-processor, forwards or backwards, real-time safe, FFT.

Applies a Hann window by default. Several window functions are exported by window_functions.

Then performs FFT with N bins.

Overlap is configurable

Envelope follower

Envelope follower implementation with adjustable attack/release times.

Transient detection

Implements "A Transient Detection Algorithm for Audio Using Iterative Analysis of STFT.".

Does polyphonic transient detection, able to output signal or markers

Window functions

Several window functions are implemented and configurable.

License: MIT

Dependencies

~4–36MB
~563K SLoC