Very nice !
++
Jack
Le 21 mars 09 à 17:58, Frank Barknecht a écrit :
Hallo,
Husk 00 hat gesagt: // Husk 00 wrote:
Thank you all, but I expressed bad my necessity. I found a
solution but
still don't like it. I find inelgant and too much complex for what
it has to
do. I need a counter
On Sat, 21 Mar 2009, Frank Barknecht wrote:
Like in the attachement for example. It uses an accumulator idiom, which is a
reversed traditional counter where you exhange the [f ]x[+ 1] so it becomes
this instead: [+ ]x[f ]. Then drive it with -1 and 1.
Actually, the latter [f] could be
Thank you all, but I expressed bad my necessity. I found a solution but
still don't like it. I find inelgant and too much complex for what it has to
do. I need a counter with two bang, first one for add one unit to the
counter, second one for subtract one unit. Couter must have min and max
limits,
Hoping it will help you in the building of your counter.++Jack
counter.pd
Description: Binary data
Le 21 mars 09 à 14:59, Husk 00 a écrit :Thank you all, but I expressed bad my necessity. I found a solution but still don't like it. I find inelgant and too much complex for what it has to do. I
Jack escribió:
Hoping it will help you in the building of your counter.
++
Jack
The B example is perfect!
thank you Jack
cheers
Husk
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list
Check out the attached patch, more what you're looking for?
-Ben
Message: 3
Date: Sat, 21 Mar 2009 14:59:26 +0100
From: Husk 00 hus...@gmail.com
Subject: Re: [PD] a simple counter, I'm not able to do it tonight
To: pd list pd-list@iem.at
Message-ID:
Hallo,
Husk 00 hat gesagt: // Husk 00 wrote:
Thank you all, but I expressed bad my necessity. I found a solution but
still don't like it. I find inelgant and too much complex for what it has to
do. I need a counter with two bang, first one for add one unit to the
counter, second one for
hi,
in pdmtl abstractions there's [count.updown]:
http://wiki.dataflow.ws/PdMtlAbstractions
video showing how to install it:
http://www.vimeo.com/psc
pat
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
make a normal counter:
[f ]x[+ 1]
with the outlet of [f ] going to the LEFT inlet of [+ 1] , and the outlet of
[+ 1] going to the RIGHT inlet of [f ]
then,
[wrap -99 100]
|
[abs]
if your limit was 1000, you would do [wrap -999 1000] ..etc
hope that works.
ah, but which [wrap]? there are several which do different things
d.
hard off wrote:
make a normal counter:
[f ]x[+ 1]
with the outlet of [f ] going to the LEFT inlet of [+ 1] , and the
outlet of [+ 1] going to the RIGHT inlet of [f ]
then,
[wrap -99 100]
|
[abs]
--
::: derek
if it is a problem to use [wrap], this should also work:
[bang(
|
[f 100]x[+ 1]
|
[mod 200]
|
[- 100]
|
[abs]
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list
hard off wrote:
really?
i mean the [wrap] that wraps numbers between two values.
there are different versions of [wrap] around.
the one from zexy wraps between to arbitrary boundaries.
the one that comes with Pd (0.42), behaves like [wrap~] as it only
wraps between 0 and 1 (which is the
Yes, that's what I was trying to point out. I've been bitten by
different versions of [wrap] before. I guess that has been cleaned up
with the 0.42 release...
D.
IOhannes m zmoelnig wrote:
hard off wrote:
really?
i mean the [wrap] that wraps numbers between two values.
there are
Hello Husk,
Look at this.
Hope it will help you.
++
Jack
counterUPandDOWN.pd
Description: Binary data
Le 18 mars 09 à 05:16, Husk 00 a écrit :
Hi list,
I need a little help.
I'm using an up-down counter. It has a min and a max limit: 0 and
100 (for say something).
I don't like my
So you want a counter that counts to 100 and then begins at 0 (or 1) again?
If I'm understanding correctly I would do the following:
[bang(
|
[float]X[+ 1]
|
[select 100]
|
[0(
the 0 message at the end could also be a 1 depending on if you want the
counter to begin on 0 or 1, it is sent to the
Hi list,
I need a little help.
I'm using an up-down counter. It has a min and a max limit: 0 and 100 (for
say something).
I don't like my solution and i know there is a easier way to do it; but
tonight I can't find it :(
So, someone can help me with a rapid solution?
thanks in advance
Husk
16 matches
Mail list logo