ldacenc icon indicating copy to clipboard operation
ldacenc copied to clipboard

Decoding capabilities request

Open kamedo2 opened this issue 7 years ago • 10 comments

I would like to conduct a blind listening test of LDAC. To do so, I need to have the decoded version of the sound on the PC.

kamedo2 avatar Aug 26 '17 17:08 kamedo2

I want LDAC decoder too. But, there is no information to develop LDAC decoder.

eggman avatar Aug 30 '17 05:08 eggman

Android Open Source Project added LDAC Sink Function to the Bluetooth stack. Proprietary decoder .so library could be included in next year's Sony smartphones.

ValdikSS avatar Oct 28 '18 11:10 ValdikSS

You can create decoder library based on already released encoder sources.

pali avatar Dec 14 '18 19:12 pali

@eggman Looks like you already have ldacinfo utility which parse LDAC packets. This could be a good first step in trying to do inverse steps of encoding process.

pali avatar May 08 '20 09:05 pali

Yes, I can already decode LDAC spectrum information. If implement IDCT, should get audio data.

eggman avatar May 08 '20 11:05 eggman

Nice, so you basically understood whole LDAC process!

Are you going to implement IDCT? Is LDAC using standard DCT or with some modifications? For inverse DCT there are already optimized algorithms, so if is it standard one it should not be hard to reuse parts of some existing implementation.

pali avatar May 08 '20 11:05 pali

I wrote about ldac encode process at project wiki .. (but in Japanse) https://github.com/eggman/ldacenc/wiki/ldacencode

I tried it once but it didn't decode well. The LDAC DCT code is very short, but I don't have enough knowledge of math to understand it.

I'm not currently working on it. I'll try it again later this year.

eggman avatar May 08 '20 12:05 eggman

I tried implementing IDCT.

My decoder can decode sine waveforms.

sinok1

However, some waveforms cannot be decoded. I will investigate the problem.

eggman avatar Jun 05 '20 05:06 eggman

https://github.com/artem/libldac https://github.com/hegdi/libldacdec

mirh avatar Jan 04 '22 14:01 mirh