Skip to main content
Topic: Need feedback on a lossless audio codec which I'm writing. (Read 2693 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Need feedback on a lossless audio codec which I'm writing.

I am writing a lossless audio codec for my university's final year project. I need feedback so I can make necessary improvements. Please help me out.

You can find the source files and binary for windows on the link below

https://github.com/sahaRatul/sela

Need feedback on a lossless audio codec which I'm writing.

Reply #1
tested coder and decoder on windows. It seems you codec gives offset 1460 samples. So it is not perfectly lossless.

Need feedback on a lossless audio codec which I'm writing.

Reply #2
Hope you find that bug! 

Need feedback on a lossless audio codec which I'm writing.

Reply #3
tested coder and decoder on windows. It seems you codec gives offset 1460 samples. So it is not perfectly lossless.


Solved : Decoder was actually decoding a 'ghost' frame that was not present in the encoded file.

Need feedback on a lossless audio codec which I'm writing.

Reply #4
Yeah, this is the output I got in the bit-compare in foobar2000:

Code: [Select]
Differences found in compared tracks.
Zero offset detected.

Comparing:
"C:\Users\xxxxxxxxxxxx\Desktop\bin\101 - Earth.wav"
"C:\Users\xxxxxxxxxxxx\Desktop\bin\101 - Earth_Sela.wav"
Length mismatch : 5:32.000000 vs 5:32.912426, 14641200 vs 14681438 samples.
Compared 14641200 samples, discarded last 40238 samples from the longer file.
Differences found within the compared range: 7 values, starting at 5:25.505034, peak: 0.0000305 at 5:25.505034, 1ch
Detected offset as 0 samples.


Is that what you fixed?

EDIT:  Yeah, there's some garbage hiss tacked on at the end of the encoded-decoded file.

 

Need feedback on a lossless audio codec which I'm writing.

Reply #5
Yeah, this is the output I got in the bit-compare in foobar2000:

Code: [Select]
Differences found in compared tracks.
Zero offset detected.

Comparing:
"C:\Users\xxxxxxxxxxxx\Desktop\bin\101 - Earth.wav"
"C:\Users\xxxxxxxxxxxx\Desktop\bin\101 - Earth_Sela.wav"
Length mismatch : 5:32.000000 vs 5:32.912426, 14641200 vs 14681438 samples.
Compared 14641200 samples, discarded last 40238 samples from the longer file.
Differences found within the compared range: 7 values, starting at 5:25.505034, peak: 0.0000305 at 5:25.505034, 1ch
Detected offset as 0 samples.


Is that what you fixed?

EDIT:  Yeah, there's some garbage hiss tacked on at the end of the encoded-decoded file.


Fixed that too, check the latest release on https://github.com/sahaRatul/sela/releases/tag/v0.1.1-alpha

 
SimplePortal 1.0.0 RC1 © 2008-2019