How would the above be implemented in PD? ie case/select
Also, what is the cleanest equivalent of
If (dat1>-1 AND dat1<8) Then
type of comparisons?
Equivalent of Case/Select + AND
How would the above be implemented in PD? ie case/select
Also, what is the cleanest equivalent of
If (dat1>-1 AND dat1<8) Then
type of comparisons?
2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it
@image_engine As @rjp9 says the [expr] object is the tidiest, and will get you out of the trickiest head spinning "why can't I do this simple thing" situations......
Every $f(1 ------n) gives you an input, (obviously) at top left>right but you can put up to 9 statements in one [expr] and each will give you an output.............
There is [expr~] for audio as well!!
David.
BUT, expr is also costlier in processing power than using individual objects, I am told.
@image_engine said:
If (dat1>-1 AND dat1<8) Then
type of comparisons?
Thanks...answered well. Expr gives me some time to ease in...and has familiar form which makes it easy to use.
2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it
Is there any way to have the false condition not bang/output?
2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it
You can put [route 0] afterwards, which will filter out the false condition. Otherwise, you can use a spigot, as in @rjpg 's first example.
Actually...Ummm...I think the equivalent for case/select is the case select object...hehe
after all the help...this is the core functionality of the double click stuff in the other post...just counting clicks and using select...pd is brilliant! expr is a good tool...nice if it could be a 'then' rather than 'if else'
2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it
Oops! Looks like something went wrong!