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

Peter P. peterparker at fastmail.com
Thu Jun 1 09:55:29 CEST 2023


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





More information about the Pd-list mailing list