The invention discloses a lightweight lossless audio encoding and decoding method and
system, and belongs to the technical field of
audio signal processing. The method comprises the following steps: converting an original audio waveform into a compact coding expression through an
encoder formed by connecting a TConv unit, a
convolution unit, a down-sampling unit and a Local-Transform unit in series; a single finite scalar quantizer is adopted to discretize the coded representation, and a mixed quantization strategy is introduced to generate a single and consistent discrete token
stream; and finally, a high-fidelity audio waveform is reconstructed through a decoder formed by connecting a Local-Transform unit, a TEConv unit, an up-sampling unit and an audio
recovery unit in series. Through
unit structure optimization and joint
loss function training, indexes such as SDR,
PESQ, STOI, WER and the like under multiple different code rates are all superior to those of a
baseline model,
model parameters are only 10.31-11.29 M,
collaboration of lightweight deployment and high-fidelity reconstruction is achieved, resource-constrained equipment is adapted to downstream scenes such as
voice communication, ASR and the like, and good
engineering practicability is achieved.