2021-08-10, 19:51
(2021-08-10, 18:39)UlfSchmidt Wrote: Maybe you can refine your conditions?Sure, this can be changed if needed. The current condition in the App is:
On my Kodi skin, I use the following condition to show the indicator:
(Filetype = flac | Filetype = wav) and (Samplerate > 48 kHz | Samplewidth > 16 bit)
([bps integerValue] >= 24 || [kHz integerValue] >= 96)
I took this from Wikipedia (HiRes), but I admit that 88.2 kHz is the 44.1-based equivalent to 96 kHz. This can be changed quickly.
What I did not expect is that mp3 shows 32 bit stream resolution. I tested with musepack which shows 16 bit stream resolution. And, in fact, both formats in general use floating point and can reach a dynamic range comparable to 24-32 bit resolution. Kind of inconsistent, but I need to deal with it.
If I change the condition to something like "(lossless && (bps >= 24 || kHz >= 88))", I need to find a good solution to identify lossless formats. From the Kodi page (Audio_Player) I would select the following: AIFF, WAV/WAVE, ALAC, FLAC, Monkey's Audio (APE), SHN, (WavPack). WavPack is already debatable as this also supports lossy compression.