Design issues of NRF54L15 compressed audio

1. Regarding the volume issue of LC3 recording
If you directly record uncompressed PCM, the data volume in 16 hours will easily exceed 1GB.
Even with LC3 compression, under the premise of meeting the basic speech clarity (such as a bit rate of 16kbps), 16 hours is approximately 115MB. This means that 1Gb (128MB) of Flash is just right to be stored, but there is almost no spare space. Moreover, LC3 is mainly used for real-time transmission and essentially has no file synchronization mechanism. Directly storing files bare is very likely to cause the entire audio decoding to crash due to byte misalignment, and its fault tolerance is relatively poor.
2. Regarding the calculation and implementation of Opus
If you switch to Opus and fix it at 16kbps, its volume is similar to that of LC3 (about 115MB), and you will also encounter the same Flash selection problem.
Computing power and power consumption cost: Nordic officially promotes LC3 with hardware acceleration, but I haven't found any ready-made packages for Opus in the NCS SDK so far. If you want to use it, you should need to manually port the C source code of Opus (fixed-point version) in.
Opus will use approximately 30 to 40KB of RAM from the nRF54L15, and pure software computing will significantly increase the power consumption during recording. The battery life of wearable devices (recording glasses) is a test.
I would like to ask your company: On the Nordic platform, are there any recommended practical references for this kind of local recording storage?
3. ADPCM
If ADPCM is chosen, its advantage is that the algorithm is extremely lightweight, but its compression ratio is poorer compared to Opus. At a sampling rate of 8kHz and a bit depth of 16-bit, over 400MB is required for 16 hours. This can only be done under the premise of maintaining basic speech clarity.
Let's see if there are any experiences or suggestions to share.

Distributor:Future electronics in Shenzhen, China.

Parents
  • Hi,

    I'm a bit uncertain here w.r.t what is the questions to Nordic and what might be statements/answers to a third party, but I'll comment on all three items.

    1. Regarding the volume issue of LC3 recording

    Yes, storing large amounts of uncompressed audio will quickly eat up your available storage. 

    2. Regarding the calculation and implementation of Opus

    There aren't any available application notes for nRF Connect SDK + Opus, so it has to be done as you say you need to port the C code yourself. Here's a reference for nRF5 SDK: Opus and ADPCM are only referenced in the nRFready Smart Remote 3 for nRF52 Series reference design (targeting nRF52832 and nRF52810) Smart Remote 3 & Smart Remote 3 FW 1.2.

    I would like to ask your company: On the Nordic platform, are there any recommended practical references for this kind of local recording storage?

    Nordic doesn't have a recommended reference for this, as data storage will vary very much from the device you're making and the use case of the recorded audio. The end user needs to find a way to store their data that fits both the use case and security requirement.

    3. ADPCM

     I don't have anything to add on this

    Kind regards,
    Andreas

Reply
  • Hi,

    I'm a bit uncertain here w.r.t what is the questions to Nordic and what might be statements/answers to a third party, but I'll comment on all three items.

    1. Regarding the volume issue of LC3 recording

    Yes, storing large amounts of uncompressed audio will quickly eat up your available storage. 

    2. Regarding the calculation and implementation of Opus

    There aren't any available application notes for nRF Connect SDK + Opus, so it has to be done as you say you need to port the C code yourself. Here's a reference for nRF5 SDK: Opus and ADPCM are only referenced in the nRFready Smart Remote 3 for nRF52 Series reference design (targeting nRF52832 and nRF52810) Smart Remote 3 & Smart Remote 3 FW 1.2.

    I would like to ask your company: On the Nordic platform, are there any recommended practical references for this kind of local recording storage?

    Nordic doesn't have a recommended reference for this, as data storage will vary very much from the device you're making and the use case of the recorded audio. The end user needs to find a way to store their data that fits both the use case and security requirement.

    3. ADPCM

     I don't have anything to add on this

    Kind regards,
    Andreas

Children
No Data
Related