Skip to content

writing smpl medatadata into a wave file #61

@neuwirthe

Description

@neuwirthe

Before continuing with the bug report, does updating to the latest version fix this issue? [Yes/No]
No

Describe the bug
A clear and concise description of what the bug is.

When I yse pymisiclooper to write looping meta information into a wave file, the resulting wave file does not have an smpl chunk. It has information about the looping points, but they seem not to be embedded in an smpl chunk.
In a hex editor, the last part of the file looks like this

)J�N�SXW�[Ã_Ðc¹g{k odr{uFx¸zÆ|_v�ø�Ó�öM}ÄzKwÐrGm¤få^�V�L/AX5»(��Ý
ID3 U���ID3������KTSSE���
���Lavf61.7.100TXXX�������LOOP_END�30219TXXX�������LOOP_START�16388���������������

Debugging Information

q_saw_069_04400-tagged.wav.zip

q_saw_069_04400-tagged.wav.zip

Optionally, include some brief information about the file(s) being loaded if relevant (e.g. file type/extension, file size, length, does the audio have an obvious loop point that algorithm failed to find?)

Expected behavior

according to the wav file documentation I found, looping information should be contained in a file chunk startung with smpl. Nothing like that han be found in the hex dump,

Environment Information (please complete the following information):

MacOS Sequoia 15.5
pymusiclooper 3.5.1
ffmpeg version 7.1.1 Copyright (c) 2000-2025 the FFmpeg developers

q_saw_069_04400.wav.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions