[PD] Sample loop - start and end point (WAV files)

Ingo ingo at miamiwave.com
Wed Feb 12 11:51:47 CET 2020


Great!

> -----Original Message-----
> From: Kjetil Matheussen [mailto:k.s.matheussen at gmail.com]
> Sent: Wednesday, February 12, 2020 11:24 AM
> To: Ingo
> Cc: Dan Wilcox; Pd-List
> Subject: Re: [PD] Sample loop - start and end point (WAV files)
>
> On Wed, Feb 12, 2020 at 10:56 AM Kjetil Matheussen
> <k.s.matheussen at gmail.com> wrote:
> >
> > On Wed, Feb 12, 2020 at 10:14 AM Ingo <ingo at miamiwave.com> wrote:
> > >
> > > Thanks, Dan!
> > >
> > >
> > >
> > > They must be embedded in the "Marker Chunk" in AIFF and in the "Cue
> Point Chunk" in the WAV format.
> > >
> > > This gives me a further idea for searching on.
> > >
> > >
> >
> > Yes, loops are usually defined as "Loop Start" and "Loop End" cues,
>
> Hmm, or maybe they are usually defined in the "smpl" chunk, I don't
> remember...
>
> But here's the code to get loop data from a wav file in radium:
> https://github.com/kmatheussen/radium/blob/master/audio/Sampler_plugi
> n_wav_parse.c#L253
>
> First it checks if there is a loop in the "smpl" chunk. If there isn't loop 
> data
> there, it checks for "Loop Start" and "Loop End" cues.







More information about the Pd-list mailing list