INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Real posibility to implement "on-the-fly" HDCD-decoder for MC, at last.  (Read 6414 times)

Dmitry Nevozhay

  • Recent member
  • *
  • Posts: 13

Good news here!
I have found the source codes for HDCD "on-the-fly" decoder for foobar2000, freely available.
(Copyright (C) 2007 Christopher Key, 2010 Chris Moeller, 2012 Gumboot).
The VC++ project home is:
https://gitlab.kode54.net/kode54/foo_hdcd/tree/master
The "hdcd_decode.c" sorce code contains a plain C implementation of HDCD decode process (so it can be compiled/ported to Linux and MacOS),
while the other sources implemets wrapping it into (Windows) Foobar's plugin API interface.
So please, dear JRiver engineers, wrap this code into JRiver's DSP api interface,
as your customers (known as audiophiles) need every hidden bit to be unvelied.
You should not even reverse engineering something (it's done by Christopher Key), just learn the source code and reuse it for MC...
Logged

mwmccaw

  • Recent member
  • *
  • Posts: 25

AMEN to that!
I have to rip all my HDCD material using DBAmp to produce 24 bit FLAC files, which media center will play nicely through my DAC.
I'd love to be able to go back to just using media center....
Mike
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41934
  • Shoes gone again!

Would you be willing to send me a HDCD sample?  I don't see any in our samples folder.

I'm matt at jriver dot com.

No promises, but I'll at least take a look.

Thanks.
Logged
Matt Ashland, JRiver Media Center

ssands

  • Galactic Citizen
  • ****
  • Posts: 457

Would you be willing to send me a HDCD sample?  I don't see any in our samples folder.

I'm matt at jriver dot com.

Thanks.
I assume you need just a song (not a whole CD?). If someone does this, please post here, otherwise I'll try to get to this tonight.
Also, can I use MC to rip the track, or should I use EAC or something else?
Logged

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3006

I send Matt a track for him to play with.

You can rip an HDCD track with any ripper. You just need the decoder to recognize the magic encoding in the 16th bit. Without the decoder the file plays as a normal Redbook CD, with a slightly munged 16 bit some times.
Logged

Dmitry Nevozhay

  • Recent member
  • *
  • Posts: 13

Would you be willing to send me a HDCD sample?  I don't see any in our samples folder.

I'm matt at jriver dot com.

No promises, but I'll at least take a look.

Thanks.

Hi Matt!
Any progress? :)
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41934
  • Shoes gone again!

Hi Matt!
Any progress? :)

I've got the code in and I think I have it decoding HDCD.

However I'm not finding a way to know if it's actually finding HDCD bits or not.  So that sort of ruins my plan of running all 16-bit input through the processor for a little bit to test it.

I asked the team for ideas in case they're smarter than me!
Logged
Matt Ashland, JRiver Media Center

ssands

  • Galactic Citizen
  • ****
  • Posts: 457

Thanks for the update! Looking forward to this.
Logged

krustycat

  • Recent member
  • *
  • Posts: 23
Re: Real posibility to implement "on-the-fly" HDCD-decoder for MC, at last.
« Reply #8 on: August 06, 2016, 06:55:24 pm »

Matt,

Is there any other update yet?


Thank you.
Logged

Dmitry Nevozhay

  • Recent member
  • *
  • Posts: 13
Re: Real posibility to implement "on-the-fly" HDCD-decoder for MC, at last.
« Reply #9 on: October 04, 2017, 11:35:02 am »

I've got the code in and I think I have it decoding HDCD.

However I'm not finding a way to know if it's actually finding HDCD bits or not.  So that sort of ruins my plan of running all 16-bit input through the processor for a little bit to test it.

I asked the team for ideas in case they're smarter than me!

Matt,
there is impoved open-source library for HDCD decoding, including the code to detect this encoding (to bit-perfectly pass-through not encoded audio stream):
https://github.com/bp0/libhdcd

I hope it will help to complete hdcd decoding implementation in MC.

Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7367
  • The color of Spring...
Re: Real posibility to implement "on-the-fly" HDCD-decoder for MC, at last.
« Reply #10 on: October 04, 2017, 11:41:16 am »

Nice! Hopefully there's still a chance to get on-the-fly HDCD decoding working in MC.

P.S. Maybe you should've posted this in a new topic in the MC23 for Windows section, since it's a bit too late for MC 21. :P
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC | Edifier R2000DB Bookshelf Speakers
Pages: [1]   Go Up