Re: [PD] phasor time scaling

2007-12-11 Thread Jamie Bullock
On Sun, 2007-12-09 at 18:53 +0100, Frank Barknecht wrote: Suppose I have a phasor with period p1 (and thus freq=1/p1) and I want to generate a signal with p2 = 1.5 * p1. Then I have (at least) two ways to do this (| should indicate the jumps): p1: |.|.|.|.|.| p2a:

Re: [PD] phasor time scaling

2007-12-11 Thread Claude Heiland-Allen
Jamie Bullock wrote: Hi Cyrille, well, the max~ 0 is not the perfect way to remove negative value. it would be beter to replace the negative value with the previus value. Are you saying that if one replaced the negative value with the previous value, the phasors _would_ be phase synced? It

Re: [PD] phasor time scaling

2007-12-11 Thread hard off
if you want to sync it, then just send a zero to the input phasor~ and output phasor~ at the same time. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] phasor time scaling

2007-12-09 Thread cyrille henry
Jamie Bullock a écrit : Hi Frank, On Sat, 2007-12-08 at 14:24 +0100, Frank Barknecht wrote: Hallo, Jamie Bullock hat gesagt: // Jamie Bullock wrote: Has anyone implemented 'phasor time scaling' as an abstraction (or external)? I know it is relatively easy scale a phasor where the

Re: [PD] phasor time scaling

2007-12-09 Thread Frank Barknecht
Hallo, Jamie Bullock hat gesagt: // Jamie Bullock wrote: Hi Frank, On Sat, 2007-12-08 at 14:24 +0100, Frank Barknecht wrote: Hallo, Jamie Bullock hat gesagt: // Jamie Bullock wrote: Has anyone implemented 'phasor time scaling' as an abstraction (or external)? I know it is

Re: [PD] phasor time scaling

2007-12-09 Thread Frank Barknecht
Hallo, cyrille henry hat gesagt: // cyrille henry wrote: i think if the input can only be a phasor you can : -differenciate the phasor (with a biquad: out(t) = in(t) - in(t-1) ) -ignore negative value (with a test on a expr~ object by exemple) -multiply by scale factor -integrated this

Re: [PD] phasor time scaling

2007-12-09 Thread cyrille henry
Frank Barknecht a écrit : Hallo, cyrille henry hat gesagt: // cyrille henry wrote: i think if the input can only be a phasor you can : -differenciate the phasor (with a biquad: out(t) = in(t) - in(t-1) ) -ignore negative value (with a test on a expr~ object by exemple) -multiply by

Re: [PD] phasor time scaling

2007-12-08 Thread Frank Barknecht
Hallo, Jamie Bullock hat gesagt: // Jamie Bullock wrote: Has anyone implemented 'phasor time scaling' as an abstraction (or external)? I know it is relatively easy scale a phasor where the frequency of the scaled phasor is an integer multiple of the master phasor: [phasor~] | [*~ 2] |

[PD] phasor time scaling

2007-12-07 Thread Jamie Bullock
Hi, Has anyone implemented 'phasor time scaling' as an abstraction (or external)? I know it is relatively easy scale a phasor where the frequency of the scaled phasor is an integer multiple of the master phasor: [phasor~] | [*~ 2] | [wrap~] ...but what about non-integer multiples, and