nurpech/audiolib

0.2.3

Latest
uploaded 1 day ago
Lightweight PCM audio processing for voice-assistant style pipelines: format conversion, level metering, resampling, and voice activity detection (RMS-based and WebRTC-based), both as one-shot and streaming APIs.

Changelog

# Changelog
<!--
    Placeholder for the next version (at the beginning of the line):
    ## **WORK IN PROGRESS**
-->


## 0.2.3
- Fix `idf_component.yml` version not being bumped by the release script, which made the `publish:registry` CI job fail on release tags (version already on the registry). `scripts/release.js` now updates `idf_component.yml` alongside `CHANGELOG.md`

## 0.2.2
- Publish AudioLib on the [ESP-IDF Component Registry](https://components.espressif.com/components/nurpech/audiolib) (`nurpech/audiolib`), as an MIT-licensed component. Add `idf_component.yml` manifest and root `LICENSE`, an `examples/idf_demo/` project for testing the component standalone, and a CI job to auto-publish new releases

## 0.2.1
- Add public mirror. No functional changes

## 0.2.0
- Add WebRTC VAD backend (`hannah_webrtc_vad_init` / `hannah_webrtc_vad_feed` / `hannah_webrtc_vad_free`), vendored from [libfvad](https://github.com/dpirch/libfvad) under `third_party/libfvad/` (BSD license). Frequency-based, distinguishes speech from music/background noise where the RMS-based VAD can't; runs independently alongside it on a separate state instance.

## 0.1.1
- `hannah_resample`: apply a second-order Butterworth low-pass before downsampling to suppress aliasing (frequencies above the destination Nyquist previously folded back into the output)
- `hannah_resample`: reject negative `in_samples`/`out_samples` (previously only `== 0` was caught)

## 0.1.0
- Initial release of AudioLib
- Batch API: stereo-to-mono downmix, RMS energy, linear-interpolation resampling, voice activity detection (VAD)
- Streaming VAD state machine with debounced onset/offset detection for chunk-by-chunk processing (e.g. I2S DMA buffers)
- ESP-IDF component support via `CMakeLists.txt`
- Unit test suite (`make test`) and GitLab CI pipeline for merge requests

Links

Supports all targets

To add this component to your project, run:

idf.py add-dependency "nurpech/audiolib^0.2.3"

download archive

Stats

  • Archive size
    Archive size ~ 52.43 KB
  • Downloaded in total
    Downloaded in total 0 times
  • Downloaded this version
    This version: 0 times

Badge

nurpech/audiolib version: 0.2.3
|