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

File decodes to a longer length than the audio #9

Open
roncli opened this issue Apr 5, 2018 · 0 comments
Open

File decodes to a longer length than the audio #9

roncli opened this issue Apr 5, 2018 · 0 comments

Comments

@roncli
Copy link
Contributor

roncli commented Apr 5, 2018

Attached is an MP3 file I created. It is intended to be used as a loop.

In Adobe Audition, it decodes to a length of 1,181,541 samples, and loops seamlessly.

In NLayer, it decodes to a length of 1,184,256 samples, which includes 2,715 extra samples, or approx 2.36 frames of additional audio, which are largely inaudible, causing the loop to have a gap.

After some trial and error, I've found that if I take my NLayer data and chop off the first 1,152 samples (a full frame) and the last 1,563 samples (a full frame plus the ending padding), the loop is seamless.

I'm not too familiar with the technical details behind the MP3 format, but it does appear something is off here. Any idea what might be causing this?

title.zip

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

1 participant