hello
the left inlet of [rfft~] outputs the real part of the FFT the right inlet of [rfft~] outputs the imaginary part of the FFT
I would like to convert it to phase and amplitude ; actually this is quite simple, I have to convert from cartesian to polar coordinates
I know the conversion formulas, but the abstractions I wrote don't work very well, because the [atan2], [cos] and [sin] object doesn't exist in "signal" versions ("[sin~]", "[atan2~]")
I used a [snapshot~] with a rate of 1/44100, but it cracks a lot
What is the correct solution ? An external would be a great idea, but it has to work on both Windows XP and Mac OS X I would prefer something using only original objects
I read:
I would like to convert it to phase and amplitude ; actually this is quite simple, I have to convert from cartesian to polar coordinates
there are [cart2pol] and [pol2cart] objects, in (guess where) zexy. it's really the pd swiss army knife I guess ;)
regards,
x
I would like to convert it to phase and amplitude ; actually this is quite simple, I have to convert from cartesian to polar coordinates
there are [cart2pol] and [pol2cart] objects, in (guess where) zexy. it's really the pd swiss army knife I guess ;)
yes, but you will have to that on dsp blocks, not on messages ... you'll either have to write an external that does exactly that on dsp blocks or you set the blocksize to 1 ... well, i'd prefer the external...
my 2 ¢ ...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 http://www.nyds-exp-discogs.tk -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac
hi,
cartopol~, poltocar~, atan2~, etc. are in cyclone (atan2~ is in ggee too, cos~ is built in)
k
Tim Blechmann wrote:
I would like to convert it to phase and amplitude ; actually this is quite simple, I have to convert from cartesian to polar coordinates
there are [cart2pol] and [pol2cart] objects, in (guess where) zexy. it's really the pd swiss army knife I guess ;)
yes, but you will have to that on dsp blocks, not on messages ... you'll either have to write an external that does exactly that on dsp blocks or you set the blocksize to 1 ... well, i'd prefer the external...
Thank you for all your replies
The [poltocar~] and [cartopol~] objects from the Cyclone library work fine on my computer
There are also rec2pol~ and pol2rec~ in Motex.
Ben
On Wednesday 03 December 2003 4:18 pm, Tim Blechmann wrote:
I would like to convert it to phase and amplitude ; actually this is quite simple, I have to convert from cartesian to polar coordinates
there are [cart2pol] and [pol2cart] objects, in (guess where) zexy. it's really the pd swiss army knife I guess ;)
yes, but you will have to that on dsp blocks, not on messages ... you'll either have to write an external that does exactly that on dsp blocks or you set the blocksize to 1 ... well, i'd prefer the external...
my 2 ¢ ...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 http://www.nyds-exp-discogs.tk -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list