mirror of
https://github.com/ratspeak/rsLXST
synced 2026-11-22 23:10:37 +00:00
33 lines
2.1 KiB
Plaintext
33 lines
2.1 KiB
Plaintext
This is a modified version of the pure-Rust codec2 0.3.1 implementation by
|
|
David Rowe and Matt Weeks, https://github.com/scriptjunkie/codec2.
|
|
The original manifest declares LGPL-2.1-only AND MIT. The original package
|
|
and pinned repository have no separate MIT license file; the original manifest
|
|
and README are retained under licenses/. Do not erase the upstream declaration.
|
|
Codec2's LGPL-2.1 text and the embedded KISS FFT BSD-3-Clause notice are retained
|
|
there as well. Original author/function notices remain in the adapted sources.
|
|
|
|
Modified for rsLXST on 2026-10-01: bounded storage and scratch; in-place state
|
|
initialisation; per-instance synthesis RNG; exact libm math on all targets;
|
|
checked public frame shapes; corrected real-FFT input copying; shared the
|
|
identical forward FFT plan and removed unreachable mode/rate storage; separated
|
|
phase scratch lifetime from inverse FFT scratch for the MCU stack. The public API
|
|
exposes native 700C/1600/3200 modes at 8 kHz mono. Other private upstream modes
|
|
are not a supported API. See UPSTREAM.json for immutable original provenance.
|
|
|
|
The native 700C implementation and immutable codebooks additionally adapt
|
|
David Rowe's Codec2 C implementation, Copyright 2017, under LGPL-2.1-only:
|
|
https://github.com/drowe67/codec2 at commit
|
|
310777b1c6f1af0bc7c72f5b32f80f6fd9136962. Source/codebook hashes are recorded in
|
|
UPSTREAM.json. Modified for rsLXST on 2026-10-01: Rust newamp1 spectral
|
|
quantization and phase reconstruction, fixed M-best scratch and FFT plans,
|
|
streamed synthesis models, explicit mode identity, and default 700C settings.
|
|
Shared analysis and synthesis preserve reference scalar promotions in pitch,
|
|
windows, FFT twiddles, notch filtering and phase arithmetic. KISS FFT changes
|
|
retain its BSD-3-Clause attribution. Corrected inherited
|
|
background-estimator voicing and pitch-search endpoint/history-bin behavior.
|
|
|
|
New wrapper, tests and storage adaptation are provided under LGPL-2.1-only.
|
|
Third-party libm retains its own MIT license and appears in the workspace's
|
|
locked third-party inventory. Packaging must retain the applicable notices and
|
|
provide the corresponding modified Codec2 source and relinking materials.
|