Using the Kslider object as a range definer
Hi there,
I'm building a simple random note generator - this will be my first Max-MSP patch 'proper' - I'm definitely at the 'still learning' stage.
I would like to, if possible, use the kslider (or similar object) as a graphical representation of the possible note range to be generated. At the moment, I've got two ksliders, one indicating the highest possible note, and a separate one indicating the lowest possible note.
This is ok, but not as elegant as I would like. Is there a way/object/clever trick to achieve what I'm trying to do? Ideally, all the notes selected would change colour, indicating that they were within the active range of the note generator.
Thanks in anticipation of advice and tips. Please do say if I've not been clear enough, I've uploaded the patch (It's M4L) as well. It's my first one, so I'm still looking for tips. I've I've done something dumb, please do feel free to let me know.
Thanks
Mike
This is quick and dirty:
This is a little more involved:
Try rslider.
This is sort of crazy complicated for this, but:
Thanks for these suggestions guys, I'll have a look tomorrow.
Best
Mike
Wow.
I'm always amazed by both the speed and quality of the help you get on these forums.
Thanks, especially MZed and Chris Muir - I'll work back through how you've both approached this problem - both of your solutions are slightly different, but all work equally well. I'll learn quite a bit from reverse engineering both your patches and thought processes.
Much obliged. Thanks again
Mike