manipulate [kslider] GUI, perhaps with [coll]

brendan mccloskey's icon

Hey Maxers
I'm building a polyphonic harmonizer/transposer patch, and I've got the guts of it working. The interface uses a [kslider] to choose transpositions (related to original pitch of the file) so that one may harmonise/transpose and otherwise mangle an audio file.

I have limited the polyphony to six voices (an arbitrary choice), and I would like the [kslider] to somehow graphically reflect this limitation; i.e. implement an array or [coll] whereby notes 1 thru 6 will illuminate, but note #7 will switch off note #1, #2 will switch off #3 etc, like a running array type thing. Setting the [kslider] to poly mode created all sorts of confusion, and I looked briefly at [nslider] too without success. The patch is zipped below.

Thanks
Brendan

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

sorry gotta rush!

brendan mccloskey's icon

Hey pid
thanks very much for the quick response - [poly]! Of course. Still ironing out one issue though, I'll bother you again tmoro maybe?

Best
Brendan

pid's icon

yes sure. i am the opposite of expert with regards midi stuff though. but sure. also, you'll have noticed a silly mistake in what i posted i am sure (because of the rushing i guess).

brendan mccloskey's icon

Yeah, sorted: [t i i]; and I ditched my stupid [counter] for voice numbers and used [poly]'s 1st outlet.

Thanks again pid

Brendan