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

Update database format to cover gain and frame timings #94

Merged
merged 2 commits into from
Oct 15, 2023

Conversation

gsuberland
Copy link
Contributor

Adds documentation for the gain and peak format in mixer params, and new info on the frame & MPEG frame timings for cues.

Quick summary: a "frame" means 1/150th of a second (6.666ms) and is always filled out. This is the timing in "real" audio. However, when rekordbox comes across a VBR or ABR encoded MP3 (or, rather, MPEG file in general, since MP4 can also be variable bit rate) it adds some additional data to help with seeking, since getting exactly the same audio to play when you seek to a timestamp isn't quite as simple in VBR/ABR. The "MPEG frame" isn't the frame index within the MP3 file, but rather a different timing scheme that's roughly 1/75th of a second (13.333ms) per frame. It also stores a byte offset, which isn't the exact offset of the frame internally but is probably the location where it starts scanning for the correct frame inside the file.

gsuberland and others added 2 commits October 15, 2023 10:48
Adds documentation for the gain and peak format in mixer params, and new info on the frame & MPEG frame timings for cues.
@dylanljones dylanljones merged commit 38a29e4 into dylanljones:master Oct 15, 2023
2 checks passed
@gsuberland
Copy link
Contributor Author

@dylanljones Is there a manual action that needs triggering to update readthedocs?

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

Successfully merging this pull request may close these issues.

2 participants