<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>How would loopautitioneer automatically reed the loop points from within Pd and transfer them?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>I can reed the loop points externally with no problem. My problem is to set the loop points automatically from within Pd.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Ingo<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> José de Abreu [mailto:abreubacelar@gmail.com] <br><b>Sent:</b> Wednesday, February 12, 2020 3:08 PM<br><b>To:</b> Giulio Moro<br><b>Cc:</b> k.s.matheussen@notam02.no; Ingo; Dan Wilcox; Pd-List<br><b>Subject:</b> Re: [PD] Sample loop - start and end point (WAV files)<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>hello all, i don't know if it is relevant, but my simple google search returned this software too:<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><a href="http://loopauditioneer.sourceforge.net/">http://loopauditioneer.sourceforge.net/</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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 <a href="http://sourceforge.net/projects/ourorgan/">GrandOrgue</a> software.<o:p></o:p></p></div><p class=MsoNormal><br>SOURCE CODE:<br>------------<br><br>Is available on <a href="http://sourceforge.net/projects/loopauditioneer/">http://sourceforge.net/projects/loopauditioneer/</a> by SVN.<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Em qua., 12 de fev. de 2020 às 08:15, Giulio Moro via Pd-list <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>> escreveu:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal>libsndfile also can extract loop points from a variety of formats. The relevant code for wav is here <a href="https://github.com/erikd/libsndfile/blob/master/src/wav.c#L1140-L1163" target="_blank">https://github.com/erikd/libsndfile/blob/master/src/wav.c#L1140-L1163</a><br><br>Kjetil Matheussen wrote:<br>> On Wed, Feb 12, 2020 at 10:56 AM Kjetil Matheussen<br>> <<a href="mailto:k.s.matheussen@gmail.com" target="_blank">k.s.matheussen@gmail.com</a>> wrote:<br>>><br>>> On Wed, Feb 12, 2020 at 10:14 AM Ingo <<a href="mailto:ingo@miamiwave.com" target="_blank">ingo@miamiwave.com</a>> wrote:<br>>>><br>>>> Thanks, Dan!<br>>>><br>>>><br>>>><br>>>> They must be embedded in the "Marker Chunk" in AIFF and in the "Cue Point Chunk" in the WAV format.<br>>>><br>>>> This gives me a further idea for searching on.<br>>>><br>>>><br>>><br>>> Yes, loops are usually defined as "Loop Start" and "Loop End" cues,<br>> <br>> Hmm, or maybe they are usually defined in the "smpl" chunk, I don't remember...<br>> <br>> But here's the code to get loop data from a wav file in radium:<br>> <a href="https://github.com/kmatheussen/radium/blob/master/audio/Sampler_plugin_wav_parse.c#L253" target="_blank">https://github.com/kmatheussen/radium/blob/master/audio/Sampler_plugin_wav_parse.c#L253</a><br>> <br>> First it checks if there is a loop in the "smpl" chunk. If there isn't<br>> loop data there, it checks for "Loop Start" and "Loop End" cues.<br>> <br>> <br>> <br>> _______________________________________________<br>> <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>> <br><br><br><br>_______________________________________________<br><a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><o:p></o:p></p></blockquote></div></div></div></body></html>