[PD] hardcoded samplerate in audio example

Patco colet.patrice at gmail.com
Fri Apr 28 16:36:35 CEST 2023


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.

best

Pat

> Le 24 avr. 2023 à 11:01, Miller Puckette <mpuckette at cloud.ucsd.edu> a écrit :
> 
> Yep... these patches date back to before that outlet :)
> 
> 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.
> 
> cheers
> 
> Miller
> 
> On 4/23/23 03:47, Patco wrote:
>> Hello,
>> 
>>  I've found something awkward in all fft patches from 03.audio-examples that leads to mistakes.
>> 
>> Samplerate is hardcoded to 44100, so this wouldn't work correctly when opening soundfiles having another samplerate.
>> 
>>  This should be corrected by using [soundfiler] second outlet instead of hardcoding samplerate.
>> 
>> 
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!CrYdxPP1DIwgweOlVm1jAUnUVItz5JBMO7EMwJgmlAXY63111FtyJQ70TGNPREswXJC1Mfe2UL13YOoWnA4$
> 
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list






More information about the Pd-list mailing list