Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HCA decrypt result inconsistent with libcgss #42

Open
nulla2011 opened this issue Sep 27, 2020 · 3 comments
Open

HCA decrypt result inconsistent with libcgss #42

nulla2011 opened this issue Sep 27, 2020 · 3 comments

Comments

@nulla2011
Copy link

There's a little bit difference between the wave file extracted by HcaDec.exe in this repository and the wave file extracted by hca2wav.exe in libcgss . I put them in two tracks , invert the phase of one of them and found the differences is mostly above 7kHz frequency.

image

So which one is correct ?

btw , this project's decrypt result is the same with DereTore .

@hozuki
Copy link
Member

hozuki commented Oct 3, 2020

Yes MLTDTools still uses DereTore's decoder, which is a direct port of the original decoder in C++.
libcgss integrated some of Ishotihadus' improvements (see his repo).
So... I guess Isho's is correct in high frequency.

@nulla2011
Copy link
Author

OK. I made a comparation. The result of libcgss' latest version is the closest to the CD version. 39.
But I found it is almost monaural in high frequency, I dont know why.

@hozuki
Copy link
Member

hozuki commented Oct 7, 2020

BTW for a mathematically correct encoder/decoder please refer to VGAudio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants