Skip to content

WAV loop and cue positions are not byte offsets #267

Open
@d-musique

Description

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/

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions