<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:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.E-MailFormatvorlage18
        {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-size:10.0pt;}
@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'>Dan, do you mean a simple soundfile that has loop markers embedded? I have tons of 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'>Do you need .wav or .aiff or both? Mine are usually .wav but I can convert it to .aiff as well.<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 lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>I'll have to check on my old computer first to make sure whether the files header contain the loops.<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 lang=EN-US 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 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 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><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"'> Dan Wilcox [mailto:danomatika@gmail.com] <br><b>Sent:</b> Friday, February 21, 2020 1:47 PM<br><b>To:</b> Ingo<br><b>Cc:</b> José de Abreu; Giulio Moro; k.s.matheussen@notam02.no; 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><p class=MsoNormal>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.<o:p></o:p></p><div><p class=MsoNormal><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On Feb 12, 2020, at 3:48 PM, Ingo <<a href="mailto:ingo@miamiwave.com">ingo@miamiwave.com</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>How would loopautitioneer automatically reed the loop points from within Pd and transfer them?</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I can reed the loop points externally with no problem. My problem is to set the loop points automatically from within Pd.</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ingo</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><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'><div><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span class=apple-converted-space><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>José de Abreu [<a href="mailto:abreubacelar@gmail.com">mailto:abreubacelar@gmail.com</a>]<span class=apple-converted-space> </span><br><b>Sent:</b><span class=apple-converted-space> </span>Wednesday, February 12, 2020 3:08 PM<br><b>To:</b><span class=apple-converted-space> </span>Giulio Moro<br><b>Cc:</b><span class=apple-converted-space> </span><a href="mailto:k.s.matheussen@notam02.no">k.s.matheussen@notam02.no</a>; Ingo; Dan Wilcox; Pd-List<br><b>Subject:</b><span class=apple-converted-space> </span>Re: [PD] Sample loop - start and end point (WAV files)</span><o:p></o:p></p></div></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><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><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal><a href="http://loopauditioneer.sourceforge.net/"><span style='color:purple'>http://loopauditioneer.sourceforge.net/</span></a><o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><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<span class=apple-converted-space> </span><a href="http://sourceforge.net/projects/ourorgan/"><span style='color:purple'>GrandOrgue</span></a><span class=apple-converted-space> </span>software.<o:p></o:p></p></div></div><div><p class=MsoNormal><br>SOURCE CODE:<br>------------<br><br>Is available on<span class=apple-converted-space> </span><a href="http://sourceforge.net/projects/loopauditioneer/"><span style='color:purple'>http://sourceforge.net/projects/loopauditioneer/</span></a><span class=apple-converted-space> </span>by SVN.<o:p></o:p></p></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><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"><span style='color:purple'>pd-list@lists.iem.at</span></a>> escreveu:<o:p></o:p></p></div></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><div><p class=MsoNormal>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"><span style='color:purple'>https://github.com/erikd/libsndfile/blob/master/src/wav.c#L1140-L1163</span></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"><span style='color:purple'>k.s.matheussen@gmail.com</span></a>> wrote:<br>>><br>>> On Wed, Feb 12, 2020 at 10:14 AM Ingo <<a href="mailto:ingo@miamiwave.com" target="_blank"><span style='color:purple'>ingo@miamiwave.com</span></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>><span class=apple-converted-space> </span><br>> Hmm, or maybe they are usually defined in the "smpl" chunk, I don't remember...<br>><span class=apple-converted-space> </span><br>> But here's the code to get loop data from a wav file in radium:<br>><span class=apple-converted-space> </span><a href="https://github.com/kmatheussen/radium/blob/master/audio/Sampler_plugin_wav_parse.c#L253" target="_blank"><span style='color:purple'>https://github.com/kmatheussen/radium/blob/master/audio/Sampler_plugin_wav_parse.c#L253</span></a><br>><span class=apple-converted-space> </span><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>><span class=apple-converted-space> </span><br>><span class=apple-converted-space> </span><br>><span class=apple-converted-space> </span><br>> _______________________________________________<br>><span class=apple-converted-space> </span><a href="mailto:Pd-list@lists.iem.at" target="_blank"><span style='color:purple'>Pd-list@lists.iem.at</span></a><span class=apple-converted-space> </span>mailing list<br>> UNSUBSCRIBE and account-management -><span class=apple-converted-space> </span><a href="https://lists.puredata.info/listinfo/pd-list" target="_blank"><span style='color:purple'>https://lists.puredata.info/listinfo/pd-list</span></a><br>><span class=apple-converted-space> </span><br><br><br><br>_______________________________________________<br><a href="mailto:Pd-list@lists.iem.at" target="_blank"><span style='color:purple'>Pd-list@lists.iem.at</span></a><span class=apple-converted-space> </span>mailing list<br>UNSUBSCRIBE and account-management -><span class=apple-converted-space> </span><a href="https://lists.puredata.info/listinfo/pd-list" target="_blank"><span style='color:purple'>https://lists.puredata.info/listinfo/pd-list</span></a><o:p></o:p></p></div></blockquote></div></div></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'>--------<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'>Dan Wilcox<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'><a href="http://twitter.com/danomatika">@danomatika</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'><a href="http://danomatika.com">danomatika.com</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'><a href="http://robotcowboy.com">robotcowboy.com</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>