<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Can someone send me example files with encoding loop positions? I started with demo soundfile meta data reading/writing but now I need some sample files to work with. I saved a couple via Logic Pro X but the region info is saved as simple markers, not using instrument or sampler chunks.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 12, 2020, at 3:48 PM, Ingo <<a href="mailto:ingo@miamiwave.com" class="">ingo@miamiwave.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">How would loopautitioneer automatically reed the loop points from within Pd and transfer them?<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">I can reed the loop points externally with no problem. My problem is to set the loop points automatically from within Pd.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Ingo<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="border-style: none none none solid; border-left-width: 1.5pt; border-left-color: blue; padding: 0cm 0cm 0cm 4pt;" class=""><div class=""><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><b class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">From:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="Apple-converted-space"> </span>José de Abreu [<a href="mailto:abreubacelar@gmail.com" class="">mailto:abreubacelar@gmail.com</a>]<span class="Apple-converted-space"> </span><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Wednesday, February 12, 2020 3:08 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Giulio Moro<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span><a href="mailto:k.s.matheussen@notam02.no" class="">k.s.matheussen@notam02.no</a>; Ingo; Dan Wilcox; Pd-List<br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [PD] Sample loop - start and end point (WAV files)<o:p class=""></o:p></span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">hello all, i don't know if it is relevant, but my simple google search returned this software too:<o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><a href="http://loopauditioneer.sourceforge.net/" style="color: purple; text-decoration: underline;" class="">http://loopauditioneer.sourceforge.net/</a><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">LoopAuditioneer is a software for evaluating, creating and manipulating loops and cues existing in wav file metadata. It's envisionaged to be useful for sample production for virtual pipe organs, like for instance<span class="Apple-converted-space"> </span><a href="http://sourceforge.net/projects/ourorgan/" style="color: purple; text-decoration: underline;" class="">GrandOrgue</a><span class="Apple-converted-space"> </span>software.<o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><br class="">SOURCE CODE:<br class="">------------<br class=""><br class="">Is available on<span class="Apple-converted-space"> </span><a href="http://sourceforge.net/projects/loopauditioneer/" style="color: purple; text-decoration: underline;" class="">http://sourceforge.net/projects/loopauditioneer/</a><span class="Apple-converted-space"> </span>by SVN.<o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">Em qua., 12 de fev. de 2020 às 08:15, Giulio Moro via Pd-list <<a href="mailto:pd-list@lists.iem.at" style="color: purple; text-decoration: underline;" class="">pd-list@lists.iem.at</a>> escreveu:<o:p class=""></o:p></div></div><blockquote style="border-style: none none none solid; border-left-width: 1pt; border-left-color: rgb(204, 204, 204); padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;" class="" type="cite"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class="">libsndfile also can extract loop points from a variety of formats. The relevant code for wav is here<span class="Apple-converted-space"> </span><a href="https://github.com/erikd/libsndfile/blob/master/src/wav.c#L1140-L1163" target="_blank" style="color: purple; text-decoration: underline;" class="">https://github.com/erikd/libsndfile/blob/master/src/wav.c#L1140-L1163</a><br class=""><br class="">Kjetil Matheussen wrote:<br class="">> On Wed, Feb 12, 2020 at 10:56 AM Kjetil Matheussen<br class="">> <<a href="mailto:k.s.matheussen@gmail.com" target="_blank" style="color: purple; text-decoration: underline;" class="">k.s.matheussen@gmail.com</a>> wrote:<br class="">>><br class="">>> On Wed, Feb 12, 2020 at 10:14 AM Ingo <<a href="mailto:ingo@miamiwave.com" target="_blank" style="color: purple; text-decoration: underline;" class="">ingo@miamiwave.com</a>> wrote:<br class="">>>><br class="">>>> Thanks, Dan!<br class="">>>><br class="">>>><br class="">>>><br class="">>>> They must be embedded in the "Marker Chunk" in AIFF and in the "Cue Point Chunk" in the WAV format.<br class="">>>><br class="">>>> This gives me a further idea for searching on.<br class="">>>><br class="">>>><br class="">>><br class="">>> Yes, loops are usually defined as "Loop Start" and "Loop End" cues,<br class="">><span class="Apple-converted-space"> </span><br class="">> Hmm, or maybe they are usually defined in the "smpl" chunk, I don't remember...<br class="">><span class="Apple-converted-space"> </span><br class="">> But here's the code to get loop data from a wav file in radium:<br class="">><span class="Apple-converted-space"> </span><a href="https://github.com/kmatheussen/radium/blob/master/audio/Sampler_plugin_wav_parse.c#L253" target="_blank" style="color: purple; text-decoration: underline;" class="">https://github.com/kmatheussen/radium/blob/master/audio/Sampler_plugin_wav_parse.c#L253</a><br class="">><span class="Apple-converted-space"> </span><br class="">> First it checks if there is a loop in the "smpl" chunk. If there isn't<br class="">> loop data there, it checks for "Loop Start" and "Loop End" cues.<br class="">><span class="Apple-converted-space"> </span><br class="">><span class="Apple-converted-space"> </span><br class="">><span class="Apple-converted-space"> </span><br class="">> _______________________________________________<br class="">><span class="Apple-converted-space"> </span><a href="mailto:Pd-list@lists.iem.at" target="_blank" style="color: purple; text-decoration: underline;" class="">Pd-list@lists.iem.at</a><span class="Apple-converted-space"> </span>mailing list<br class="">> UNSUBSCRIBE and account-management -><span class="Apple-converted-space"> </span><a href="https://lists.puredata.info/listinfo/pd-list" target="_blank" style="color: purple; text-decoration: underline;" class="">https://lists.puredata.info/listinfo/pd-list</a><br class="">><span class="Apple-converted-space"> </span><br class=""><br class=""><br class=""><br class="">_______________________________________________<br class=""><a href="mailto:Pd-list@lists.iem.at" target="_blank" style="color: purple; text-decoration: underline;" class="">Pd-list@lists.iem.at</a><span class="Apple-converted-space"> </span>mailing list<br class="">UNSUBSCRIBE and account-management -><span class="Apple-converted-space"> </span><a href="https://lists.puredata.info/listinfo/pd-list" target="_blank" style="color: purple; text-decoration: underline;" class="">https://lists.puredata.info/listinfo/pd-list</a></div></blockquote></div></div></div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">--------</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Dan Wilcox</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://twitter.com/danomatika" class="">@danomatika</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://danomatika.com" class="">danomatika.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>