You could use [expr]
[expr $f1>=11 && $f1<=20]
Ingo
Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag von
Ben Carney
Gesendet: Dienstag, 23. November 2010 02:37
An: pd-list@iem.at
Betreff: [PD] if within a range o
well. that is a really nice way to do it! thanks for holding my hand through
this. hah. I am actually very unfamiliar with the moses object. For some
reason, I just have never used it. so I definitely wouldn't have come to
that conclusion any time soon.
thanks again.
On Mon, Nov 22, 2010 at 10:56
I suppose the desired value might be one, if the input is within
range and zero otherwise. Patch attached:
between11and20.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/l
time out. I was having a momentary lapse of normal thought patterns. I had
the right Idea but was doing it backwards. i couldn't wrap my t-rex sized
brain around why my <= & >= operation wasn't working. now I did it correcty
and It is working.
sorry to fill the list with noise.
On Mon, Nov 22, 20
just in case I wasn't as clear as I should have been I feel like i need to
rephrase my query:
lets say I have an int box that is going from 0-100. i want to only return a
true value in one of ten triggers if the number is between 0-10/ 11-20/
21-30 and so on.
On Mon, Nov 22, 2010 at 7:37 PM, Be
this seems like the right track, but I am getting a bit confused when you
mentioned the "desired value."
In this case, I don't have a desired value, I have a desired range of
values. I just need a desired range of values to return true.
Am I misunderstanding you?
On Mon, Nov 22, 2010 at 8:00 PM,
Use a series of [moses] objects to set your low and high point with a
trigger banging the hot inlet of a [f] object with your desired value.
On Mon, Nov 22, 2010 at 8:37 PM, Ben Carney wrote:
> Hello all,
>
>
> I have become rusty in pure data. It seems as if I used to know the answer
> to this
Hello all,
I have become rusty in pure data. It seems as if I used to know the answer
to this.
I would like to beable to output a "1" if a number is within a certain range
example:
[number box\
|
|
[If between 11 and 20]
|
|
|
[X]
I thought this would be easier to come up with a solution