[PD] example needed: rfft~ into magnitudes AND phases AND back

cyrille henry ch at chnry.net
Thu Jun 1 10:39:57 CEST 2023


hello,

expr~ is in vanilla!

so [expr atan2($f1, $f2)] should work.

cheers


Le 01/06/2023 à 09:55, Peter P. a écrit :
> Dear list,
> 
> I am still trying to calculate (unwrapped) phases from cartesian complex
> numbers output by [rfft~] and got pointed to cyclone's [atan~] and
> [phasewrap~]. I am wondering Is there a way to achieve the same with
> vanilla pd objects?
> 
> Thanks!
> Peter
> 
> * Peter P. <peterparker at fastmail.com> [2023-05-26 14:10]:
>> Hi list,
>>
>> trying to work on phase angles of spectra I am looking for an easy
>> example with actual Pd objects how to convert a [rfft~] output from
>> real and imaginary to magnitudes and phases, eventually unwrap phases if
>> required, and then convert magnitudes and phases back to a cartesian for
>> [rifft~].
>>
>> I know about the Dudas/Lippe pvoc tutorials for MaxMSP but can not find
>> much in Pd's documentation. Perhaps I am missing something?
>>
>> Thanks for any pointers!
>> best, Peter
> 
> 
> 
> _______________________________________________
> 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