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)
Hi. The dr_wav library describes certain of fields from WAV metadata as being byte offsets.
Precisely, the fields
firstSampleByteOffset
andlastSampleByteOffset
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/