Re: [PD] bang when phasor~ reaches 1

2006-12-03 Thread Steffen
On 02/12/2006, at 10.30, Frank Barknecht wrote: However with the metro it will be much easier to know when the fake phasor reaches 1 or 0. That's what bang'ed my question. Thanks for explaining. Bets, Steffen ___ PD-list@iem.at mailing list UNSUB

Re: [PD] bang when phasor~ reaches 1

2006-12-02 Thread Frank Barknecht
Hallo, padawan12 hat gesagt: // padawan12 wrote: > Cool! We've discovered something "very wrong". Maybe not, read on. > Here I get > > number bcalcecalcbcplxecplx > > 4 70 80 110

Re: [PD] bang when phasor~ reaches 1

2006-12-02 Thread padawan12
Cool! We've discovered something "very wrong". Here I get number bcalcecalcbcplxecplx 4 70 80 110 290 8 140 160 210 560 16 260

Re: [PD] bang when phasor~ reaches 1

2006-12-02 Thread Frank Barknecht
Hallo, padawan12 hat gesagt: // padawan12 wrote: > Is it just me though or is [expr ] really slow? I try to avoid it > because almost every patch that uses [expr] on my machine runs about > 50% slower than the equivilent arithmetic using atomic ops. Attached is a simple benchmark patch, which be

Re: [PD] bang when phasor~ reaches 1

2006-12-02 Thread hard off
well i ended up doing a metro and vline~ job. this patch is still unfinished, but it's working enough that i could take a rest from patching and have a mess round with it today. i posted the workign draft on the forum: http://puredata.hurleur.com/viewtopic.php?pid=2494#p2494

Re: [PD] bang when phasor~ reaches 1

2006-12-02 Thread padawan12
On Sat, 2 Dec 2006 11:57:44 +0100 Frank Barknecht <[EMAIL PROTECTED]> wrote: > Hallo, > padawan12 hat gesagt: // padawan12 wrote: > > > I guess just because they drift off. Or at least you cant be sure of > > keeping them together. > > > > Sometimes you want a whole bunch of things to all happ

Re: [PD] bang when phasor~ reaches 1

2006-12-02 Thread Frank Barknecht
Hallo, padawan12 hat gesagt: // padawan12 wrote: > I guess just because they drift off. Or at least you cant be sure of > keeping them together. > Sometimes you want a whole bunch of things to all happen "synchronously", to > all happen in the same phase every time. An example is the paf~ algo

Re: [PD] bang when phasor~ reaches 1

2006-12-02 Thread Frank Barknecht
Hallo, Steffen hat gesagt: // Steffen wrote: > On 01/12/2006, at 14.35, hard off wrote: > > >i want a phasor~ to send a bang when the signal reaches 1. > > I the risk of showing off serious lack of knowledge: When is this > approach different from using a metro object with the same > "freque

Re: [PD] bang when phasor~ reaches 1

2006-12-01 Thread padawan12
I guess just because they drift off. Or at least you cant be sure of keeping them together. Sometimes you want a whole bunch of things to all happen "synchronously", to all happen in the same phase every time. An example is the paf~ algorithm, and here's little drum machine example attached.

Re: [PD] bang when phasor~ reaches 1

2006-12-01 Thread Steffen
On 01/12/2006, at 14.35, hard off wrote: i want a phasor~ to send a bang when the signal reaches 1. I the risk of showing off serious lack of knowledge: When is this approach different from using a metro object with the same "frequency" as the phasor~? __

Re: [PD] bang when phasor~ reaches 1

2006-12-01 Thread padawan12
The solution Marius offered is probably the most reliable. I've used Jamies [snapshot~] based solution in many cases it works fine, but sometimes misses a beat. It's because the blocksize (nominally 64) on which [snapshot~] operates may not contain the zero you're looking for. The thing you want

Re: [PD] bang when phasor~ reaches 1

2006-12-01 Thread marius schebella
hi, Are you aware, that with interpolation the signal might not reach 1 but reset the phasor at some point below 1? so it depends how accurate the bang should be. My idea is to use the derivative of the function, which is negative at the point where the phasor~ resets. you will need some objec

Re: [PD] bang when phasor~ reaches 1

2006-12-01 Thread Jamie Bullock
[phasor] [bang~] | / [snapshot~] | [> 0.99] | [sel 1] ? Jamie On Fri, 2006-12-01 at 22:35 +0900, hard off wrote: > i want a phasor~ to send a bang when the signal reaches 1. any ideas? > > ___ > PD-list@iem.at mailing list > UNSUBSC

[PD] bang when phasor~ reaches 1

2006-12-01 Thread hard off
i want a phasor~ to send a bang when the signal reaches 1. any ideas? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list