filter and scale in one?

strangevector's icon

I'm looking for a patch or object the equivalent of a scale:

scale 4. 5. 1. 2.

but if the number is outside the range of 4. and 5. nothing is output.

brendan mccloskey's icon

look at [zmap] - if you want the output 'silenced' when it exceeds the threshold, you will also need [change]

AudioLemon's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I didn't know about zmap so I usually either set a max/min value on the number box that holds scales output or I use split to make sure only the range I want goes into the scale...

Wetterberg's icon

yep, [split]->[zmap]