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 replaced
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 wit
hi,
in pdmtl abstractions there's [count.up&down]:
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 ->
http://lists.puredata.in
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 su
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
Subject: Re: [PD] a simple counter, I'm not able to do it tonight
To: pd list
Message-ID:
Content-Type: text/plain; charset="iso-8859-1"
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
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 need
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,
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
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 soluti
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 different
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 def
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
really?
i mean the [wrap] that wraps numbers between two values.
what do the other ones do? i know of the signal version of course.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
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 holz
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.
_
16 matches
Mail list logo