Hi,
the patch that is attached should do a loop between 0 and 1.
someone knows why it doesnt work?
I tried with several delays, but nothing...
br. GARFF
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
hi javier
i am not quite sure, if i understand what you would like to achieve. and reading your patch still doesn't help me somehow. do you want to get an alternating output, switching between 0 and 1, on each metro tick?
like this:
[metro 1000] | [== ]X[f ]
?
roman
On Thu, 2007-11-01 at 16:50 +0100, Javier Garcia wrote:
Hi,
the patch that is attached should do a loop between 0 and 1.
someone knows why it doesnt work?
I tried with several delays, but nothing...
br. GARFF
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
On Thu, Nov 01, 2007 at 05:13:32PM +0100, Roman Haefeli wrote:
hi javier
i am not quite sure, if i understand what you would like to achieve. and reading your patch still doesn't help me somehow. do you want to get an alternating output, switching between 0 and 1, on each metro tick?
like this:
[metro 1000] | [== ]X[f ]
?
roman
greate little patch, Roman!
i just made a little test patch to see if this is faster then a standard counter approach with [mod 2] ..
have look what you think about it .. (in the attachmetn)
i couldn't actually quite get why [==]X[f] behave exactly this way .. it's cool.
On Thu, 2007-11-01 at 16:50 +0100, Javier Garcia wrote:
Hi,
the patch that is attached should do a loop between 0 and 1.
someone knows why it doesnt work?
I tried with several delays, but nothing...
br. GARFF
___________________________________________________________ Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Javier Garcia a écrit :
Hi,
the patch that is attached should do a loop between 0 and 1.
someone knows why it doesnt work?
certainly a missong trigger problem.
I tried with several delays, but nothing...
why do you nead a delay?
does the attached patch is what you wanted?
c
br. GARFF
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks Cyrille
Cyrille Henry wrote:
certainly a missong trigger problem.
I dont understand...could you correct my patch?
why do you nead a delay?
As you can see here i asked for something similar some days ago:
http://lists.puredata.info/pipermail/pd-list/2007-10/055664.html
and [delay< worked. (The patch i refered is attached on this mail)
does the attached patch is what you wanted?
Yes, but would prefer modify my patch.
GARFF
Date: Thu, 1 Nov 2007 17:13:51 +0100 From: cyrille.henry@la-kitchen.fr To: tirengarfio@hotmail.com CC: pd-list@iem.at Subject: Re: [PD] Can you help me with this patch? II
Javier Garcia a écrit :
Hi,
the patch that is attached should do a loop between 0 and 1.
someone knows why it doesnt work?
certainly a missong trigger problem.
I tried with several delays, but nothing...
why do you nead a delay?
does the attached patch is what you wanted?
c
br. GARFF
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
On 01/11/2007, at 17.30, Javier Garcia wrote:
does the attached patch is what you wanted?
Yes, but would prefer modify my patch.
Have a look at cyrille's patch and see where it differs from your patch.
the way up to 1, you don't have to wait 10ms to reset the counter.
The next thing that happens is that the metro bang's the [f] again at
some point. Let the metro control the timing (in this case at least).
you have got all the way up to 1. As in, use moses instead of the
combination of [== 1] and [select 1] you've used. One good reason is
that you make sure the counter doesn't skip the 1 mark. Fx from 0.97
to 1.01. In your patch that could easily happen.
the counter is updated before you check if you've got all the way up
to 1. In this case it might not matter, but the use of triggers is a
good thing one should use when ever there is more then one patch-cord
out of an outlet to make sure things happen in the order one what's
them to happen.
So in this view cyrille has in fact modified your patch.
Hope this helps.
Hallo, Javier Garcia hat gesagt: // Javier Garcia wrote:
Thanks Cyrille
Cyrille Henry wrote:
certainly a missong trigger problem.
I dont understand...could you correct my patch?
why do you nead a delay?
As you can see here i asked for something similar some days ago:
http://lists.puredata.info/pipermail/pd-list/2007-10/055664.html
and [delay< worked. (The patch i refered is attached on this mail)
A [trigger anything] would have worked there as well. Both of your patches have a tricky execution order and you did get the order wrong. To get execution order right, you should not use [delay] but [trigger]. You should only use [delay] when you actually want to delay something not to fix execution order problems (except in some very rare cases.)
Anyway looping from 0-1 is just a variation on counting, which doesn't need triggers or delays. There are standard idioms on how to do counters in Pd (search the archive). I'd recommend to only count in integer numbers and scale to your needed range afterwards. See attached patch which is your patch changed in small steps.
Frank Barknecht _ ______footils.org__
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
See attached patch which is your patch changed in small steps.
Quick addendum: Note the first change I did to your patch. It's the most important one! If you always make your patches clean and tidy it's much easier to see what's going on and to identify certain idioms like counters.
At least try to align left in- and outlets, that are connected to each other, in strictly vertical colums. This is the Pd equivalent of "left aligned text" that is used in books and newspapers etc. and makes patches much more readable.
Frank Barknecht _ ______footils.org__