70 lines
3.7 KiB
Plaintext
70 lines
3.7 KiB
Plaintext
TeamsPeach native capture DSP (dsp/)
|
|
===================================================================
|
|
|
|
The native microphone capture processor is linked as Rust code from TeamsPeach's
|
|
dsp/ crate. It runs Sonora's integrated AEC3, noise suppression and adaptive AGC2
|
|
chain according to the selected settings. There is no renderer WebAssembly ABI.
|
|
The noise-only filter-bank implementation remains a Rust-test-only behavioral
|
|
reference, not a second production capture stage.
|
|
|
|
Pinned Sonora packages include (all 0.2.0, BSD-3-Clause):
|
|
sonora, sonora-aec3, sonora-agc2, sonora-common-audio,
|
|
sonora-fft, sonora-ns, sonora-simd.
|
|
|
|
Source: https://github.com/dignifiedquire/sonora
|
|
Commit: a024d6ef8351add55be5e8b1d6cc35f555787660 (per the published crates'
|
|
.cargo_vcs_info.json)
|
|
Registry: crates.io; package checksums (SHA-256 of the .crate files)
|
|
sonora 0.2.0 2e1ce442ab5cb392c4067b8f2cced20be4cf12e479f6dfbf44acbe9b14ac9250
|
|
sonora-ns 0.2.0 d511feef19302c716d245c4555087d161ba91c178735ea11107dcce0d0b7a86f
|
|
sonora-fft 0.2.0 27e272c70f34363afb5382dd1818c05f8f63ef6785635736a14e9ccbbb5ba012
|
|
|
|
sonora is a pure Rust port of the WebRTC Native Code audio processing module
|
|
(M145 plus later upstream fixes), via PulseAudio's webrtc-audio-processing
|
|
extraction. TeamsPeach vendors sonora and sonora-agc2 with local mono AGC2 and
|
|
limiter channel-adapter allocation/copy reductions. Exact modified files,
|
|
upstream archive checksums and patch scope are in dsp/vendor/provenance.json;
|
|
upstream license and copyright texts are retained in each vendored package.
|
|
Other pinned Sonora packages use their registry sources. No end-to-end
|
|
allocation-free guarantee or bit-identical behavior with TeamSpeak's proprietary
|
|
DSP is claimed.
|
|
|
|
The native executable also uses the Rust standard library (core, alloc, std and
|
|
its bundled allocator and math routines), licensed MIT OR Apache-2.0. Historical
|
|
DSP dependency license texts are retained in denoise-THIRD-PARTY-NOTICES.txt;
|
|
that file is not a complete inventory of the native executable's dependencies.
|
|
|
|
License of the Sonora packages (BSD-3-Clause, verbatim):
|
|
|
|
Copyright (c) 2011, The WebRTC Project Authors. All rights reserved.
|
|
Copyright (c) 2016, Arun Raghavan and contributors. All rights reserved.
|
|
Copyright (c) 2026, dignifiedquire. All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions are
|
|
met:
|
|
|
|
* Redistributions of source code must retain the above copyright
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
notice, this list of conditions and the following disclaimer in
|
|
the documentation and/or other materials provided with the
|
|
distribution.
|
|
|
|
* Neither the name of Google nor the names of its contributors may
|
|
be used to endorse or promote products derived from this software
|
|
without specific prior written permission.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|