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

WAV loop and cue positions are not byte offsets #267

Open
d-musique opened this issue May 30, 2024 · 0 comments
Open

WAV loop and cue positions are not byte offsets #267

d-musique opened this issue May 30, 2024 · 0 comments

Comments

@d-musique
Copy link

Hi. The dr_wav library describes certain of fields from WAV metadata as being byte offsets.

Precisely, the fields

  • smpl firstSampleByteOffset and lastSampleByteOffset
  • cue sampleByteOffset

However this does not seem to reflect the reality, because the unit appears to be frames.
(despite what some dubious sources of documentation claim)

This is validated by LoopAuditioneer software.
The source code of openMPT and grandOrgue seem to corroborate. (maybe Polyphone also, I haven't checked)

If a test set is wanted, the Kalvträsk Church file contains wavs with loop and cue.
https://familjenpalo.se/vpo/download/

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