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

2023-06-03 Thread Alexandre Torres Porres
Em qui., 1 de jun. de 2023 às 06:49, Peter P. escreveu: > Thanks Cyrille, that's a good hint! I think it should in fact be > [expr~ atan2($v2, $v1)] to work with signal vectors blockwise. > yup, and that's what [else/car2pol~] does, which I had referred to before as a vanilla solution. > Now

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

2023-06-01 Thread Peter P.
* cyrille henry [2023-06-01 11:00]: > hello, > > expr~ is in vanilla! > > so [expr atan2($f1, $f2)] should work. Thanks Cyrille, that's a good hint! I think it should in fact be [expr~ atan2($v2, $v1)] to work with signal vectors blockwise. Now I am wondering if I should/need to unwrap the pha

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

2023-06-01 Thread cyrille henry
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 wonde

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

2023-06-01 Thread Peter P.
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. [2023-05-26 14:10]: > Hi list,

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

2023-05-28 Thread Alexandre Torres Porres
oh, and else has [pol2car~] and [car2pol~], which are simple vanilla abstractions Em seg., 29 de mai. de 2023 às 02:34, Alexandre Torres Porres < por...@gmail.com> escreveu: > My Live Electronics tutorial deals with that see > https://github.com/porres/Live-Electronics-Tutorial/tree/master/Exampl

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

2023-05-28 Thread Alexandre Torres Porres
My Live Electronics tutorial deals with that see https://github.com/porres/Live-Electronics-Tutorial/tree/master/Examples/Part.08-FFT.%26.Complex.Signals/31-FFT-IFFT/1.Introduction as for including rhis in the help file, not really sure... cheers Em sex., 26 de mai. de 2023 às 09:12, Peter P. e

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

2023-05-26 Thread Peter P.
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~]