google / lyra

A Very Low-Bitrate Codec for Speech Compression
Apache License 2.0
3.84k stars 355 forks source link

About crash problem with kInternalSampleRateHz set to 32k #127

Open RankyHong opened 1 year ago

RankyHong commented 1 year ago

Hello, when we used lyra 1.3.2, we found that the codec was processed by down-sampling 16K internally, and then up-sampled to the target bit rate. At present, the internal 16k processing will cause the output spectrum to be truncated, which will greatly damage the music sound. Therefore, if we set kInternalSampleRateHz to 32k or 48k, a crash will occur in linux enviroment.

INFO: Created TensorFlow Lite XNNPACK delegate for CPU. double free or corruption (!prev)

I would like to ask whether this crash problem can be solved. If it cannot be solved temporarily, will Lyra provide API to support 32k/48k codec processing?