Forums > MaxMSP

Banging when A sequence of numbers has been entered


Apr 16 2009 | 3:13 pm

Hi Guys,

Is there a way to send a bang message when a sequence of numbers has passed. For instance once all the numbers between 20 and 40 have passed so 20, 21, 22, 23 – 40 then it bangs.

So far I can only make it send a bang message if it hits any of the numbers in between using select

for example 20 (bang) 21 (bang)

which is no good

Any help would be great it has me puzzled


ch
Apr 16 2009 | 3:35 pm

[zl compare] -> [sel 1] is a way. you may use vexpr as well.
Ch.

Apr 16 2009 | 3:50 pm
Ch wrote on Thu, 16 April 2009 09:35
[zl compare] -> [sel 1] is a way. you may use vexpr as well.
Ch.

Zl compare Seems to work with lists in the way that i want, but i have a rising number counter rather than a list.

Apr 16 2009 | 3:56 pm

You may want to check out bucket, pack and zl group or something like that.

John


ch
Apr 16 2009 | 3:56 pm

you can use [counter] -> [zl stream] to contruct a list from the sequence

Apr 16 2009 | 6:09 pm

[match]

Jean-François.

Apr 16 2009 | 10:34 pm
Jean-Francois Charles wrote on Thu, 16 April 2009 12:09
[match]

Jean-François.

Ah perfect!!!!!

Thanks everyone else though! Now I know a few more objects!

Dave

Viewing 7 posts - 1 through 7 (of 7 total)

Forums > MaxMSP