select a range of numbers ?
hi :P its a numbers question! yeeah ! :)
This is along the lines of = select and route etc but i am wondering how if possible, one could select a range of numbers from a stream of variables?
if you have a signal which goes somthing like:
39,40,42,45,47,98,48,49,52,27,53,57, 59,60 ,61,101,104,105,106 .......a very long list.......
is it possible to select a range or band select of these numbers?
like (range 45 > 98) so that anything below 45 or above 98
is cast aside; and all numbers in the band are sent to a single outlet in real time so they can be used else where or converted to 1's
thanks for your help
teqy :P
The [split] object will do this for numbers, is this what you are looking for? You mentioned "signal" which means something in MSP but the other objects you mentioned ([select], [route], [>=] etc) are all max objects.
lh
thats great it works..:)
its for an audio signal that is converted to db numbers in msp!
it works a treat. thanks very much indeed lh .!:p
thanks. this helped a lot.
otherwise just [if $i1>30 && §i1
but [split 30 70] is faster, cpu wise.