<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=""> Sure, I could even make a PR if you like, I've attached a screenshot of the part from the patch where samplerate is hardcoded, on the second trigger outlet connected to [read-sample].<div class="">More confidently, I don't know how this could actually work with the [unpack s f] thing.<div class=""><br class=""></div><div class=""> The second screenshot is a correction that makes this patch compatible with any samplerate soundfile.</div><div class=""><br class=""></div><div class="">I've made this correction on apple silicon with pd 0.53.0 downloaded on official site but I guess this would happen in any version since this patch exist, and I've figured it out on compiled raspberryOS's pd 0.54 using sources cloned from pd's official github.</div><div class=""><br class=""><div class=""><img apple-inline="yes" id="1335FEF4-FA28-4DEC-9425-AD3151F85BD7" width="558" height="370" src="cid:BB6071A9-9109-4700-9E2B-78D8819E60DA" class=""></div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="2632884D-2BEC-413D-9227-2328CD8B8CE5" width="558" height="369" src="cid:52A097DA-9E94-4820-8FC7-7C17AEA75B12" class=""></div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Pat</div><div class=""><br class=""></div><div class="">PS: thanks a lot for the else external, particulary the bandpass filter.</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">Le 29 avr. 2023 à 15:49, Alexandre Torres Porres <<a href="mailto:porres@gmail.com" class="">porres@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">can you give details on what version of pd you have, and like a screenshot or something with the parameters? <br class=""><br class="">the code from that file does get the sample rate from the soundfile into an "insample" variable, so it looks like it should work, but I haven't thoroughly tested it yet.<br class=""><br class="">you can also open an issue at<br class=""><br class=""><a href="https://github.com/porres/pddp" class="">https://github.com/porres/pddp</a><br class=""><br class="">sending us the sample you're using and everything.<br class=""><br class="">cheers</div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 28 de abr. de 2023 às 11:44, Patco <<a href="mailto:colet.patrice@gmail.com" class="">colet.patrice@gmail.com</a>> escreveu:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In fact we have encountered problems specifically with my favorite PureData patch, the phase-vocoder, used for many different purposes, particulary with location scrolling, usefull for network time-stretch sample reading, speed is not as same as original soundfile when samplerate is 48000hz.<br class="">
<br class="">
best<br class="">
<br class="">
Pat<br class="">
<br class="">
> Le 24 avr. 2023 à 11:01, Miller Puckette <<a href="mailto:mpuckette@cloud.ucsd.edu" target="_blank" class="">mpuckette@cloud.ucsd.edu</a>> a écrit :<br class="">
> <br class="">
> Yep... these patches date back to before that outlet :)<br class="">
> <br class="">
> For now it migth suffice to mention that the patches only work on 44k1 soundfiles... and incidentally, thee best one (teh phase vocoder) works fine on 48K files, you just have to adjust the transposition by 147 cents.<br class="">
> <br class="">
> cheers<br class="">
> <br class="">
> Miller<br class="">
> <br class="">
> On 4/23/23 03:47, Patco wrote:<br class="">
>> Hello,<br class="">
>> <br class="">
>>  I've found something awkward in all fft patches from 03.audio-examples that leads to mistakes.<br class="">
>> <br class="">
>> Samplerate is hardcoded to 44100, so this wouldn't work correctly when opening soundfiles having another samplerate.<br class="">
>> <br class="">
>>  This should be corrected by using [soundfiler] second outlet instead of hardcoding samplerate.<br class="">
>> <br class="">
>> <br class="">
>> _______________________________________________<br class="">
>> <a href="mailto:Pd-list@lists.iem.at" target="_blank" class="">Pd-list@lists.iem.at</a> mailing list<br class="">
>> UNSUBSCRIBE and account-management -> <a href="https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!CrYdxPP1DIwgweOlVm1jAUnUVItz5JBMO7EMwJgmlAXY63111FtyJQ70TGNPREswXJC1Mfe2UL13YOoWnA4$" rel="noreferrer" target="_blank" class="">https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!CrYdxPP1DIwgweOlVm1jAUnUVItz5JBMO7EMwJgmlAXY63111FtyJQ70TGNPREswXJC1Mfe2UL13YOoWnA4$</a><br class="">
> <br class="">
> <br class="">
> <br class="">
> _______________________________________________<br class="">
> <a href="mailto:Pd-list@lists.iem.at" target="_blank" class="">Pd-list@lists.iem.at</a> mailing list<br class="">
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank" class="">https://lists.puredata.info/listinfo/pd-list</a><br class="">
<br class="">
<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
<a href="mailto:Pd-list@lists.iem.at" target="_blank" class="">Pd-list@lists.iem.at</a> mailing list<br class="">
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank" class="">https://lists.puredata.info/listinfo/pd-list</a><br class="">
</blockquote></div>
</div></blockquote></div><br class=""></div></div></div></body></html>