First time here? Check out the FAQ!
x

How can I tell how many voices are actually playing?

0 votes
255 views

We have ?VoiceNumber and ?NumberVoices

I put them into a STGC yet they just report the maximium.  It would be useful to be able to to see how many are in use, and then perhaps evolve it to capture the maximum used in the given piece/ timeframe.  This would be very useful to strip back any unused polyphony.

Are there any other useful ?Voice related items

Thanks

Charlie

asked Sep 18, 2018 in Capytalk & Smalltalk by charlienorton (Adept) (2,650 points)

1 Answer

+3 votes

Here's one way to compute it. Use a STGC to change the !KeyDown event into an EventValue suffixed by the ?VoiceNumber. Then add up the absolute values of all the keydowns to get the number of keys currently being held down.

answered Sep 18, 2018 by ssc (Savant) (126,300 points)
Ahhhh perfect. Amazing. I too can have flashing lights as the polyphony activates. Just like a certain Analogue Poly Synth I have never got around to purchasing. STGC to the rescue!
...