I've been scratching my head over this for a while now. I'm interested in using the poly~ object to create voice allocation for the playing back of samples from a buffer. I know that I am not using poly~'s full capabilities in terms of midi messages (velocity, note numbers etc) however I am stuck on how to implement the simple voice allocation function using the note $1 message (see attached patch below).
My problem might in part lie in the use of the target 0 command to stop all instances playing... as I stop the line object I also send a message to the thispoly~ object to free all voices... however now it seems that the problem is right from the beginning.
Am I not understanding something here? I have experimented with using a counter to change the instance manually using target each time I send a bang to play however this hasn't seemed to work either. I'm very confused!
Thanks in advance for any help or explanations you can give me..