Restricting notein data

Max's icon

Anybody have any ideas on how I could restrict the input from a [notein] object to over a certain range of octaves so that when i use my drum pads (sending pitch data) to trigger a sample I don't also play an unwated note

I only want the piano to sound on midi notes 60 through to 108
current patch:

Max Patch
Copy patch and select New From Clipboard in Max.

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

Check out the split object. It will allow you to do that.

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

thanks alot guys a tremendous help.
broc, that is exactly what i was after =)
pid, that's a very interesting patch i didn't know that it was possible to keep going up on my MIDI keyboard but have the notes only playing the same range over again, yet another time where somebody has provided me with a bit of knowledge that has opened up another world of opportunities.

Thanks again to all 3 of you for your replies =) much appreciated.