The most common formats for "loops defined inside an audio file" have historically been non-WAV (or extensions to wav), such as REX, and proprietary.

The WAV spec does include the concept of a playlist, consisting of cue points and lengths. By themselves, these don't really define "loops" in a way that is generally going to be clear to the user.

libsndfile can definitely read these from the file, but i'm not sure what an app would do with them. providing a sample with a loop point(s) defined would be good.


On Tue, Dec 11, 2012 at 3:27 AM, Louigi Verona <louigi.verona@gmail.com> wrote:
Wrote this some time ago to the list, never got a reply. Now looking through the archives, I don't see this mail at all. I did attach a file, so maybe it was filtered.
This is why I am duplicating this.


Hey fellas!

I notice that no Linux samplers seem to support wav file loop points. All Windows DAWs that I have used support the format and there are a lot of samples out there with perfect loop points which is very useful.
I have no idea whether this is part of the spec or not but these loop points have been used for more than 15 years, that's for sure, since some of these sample collections have been around during tracking days. I did find something on loops here: http://www.sonicspot.com/guide/wavefiles.html
But I think you, devs, know better than me anyway.

I think it would be great if LMMS, samplers like Petri-Foo would support this, as this adds a lot of functionality. Many sample collections provide perfect loops and it is tiresome to have to try to remake it by hand each time, while in some software it is simply impossible at all.

What do you think?

ps: I can provide you with a sample example with loop points

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user