Kyma Forum
  Kyma Support
  dynamic controllers inside of midivoice

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   dynamic controllers inside of midivoice
keph
Member
posted 15 October 2007 18:49         Edit/Delete Message   Reply w/Quote

I've been away from Kyma for nearly two years (so sad) but now I am back and forgetting more than usual.

I am trying to figure how to dynamically create a set of controllers or manipulate a !hotparameter based on the number of midi voices.

For example. Say I a 6 voice synth and I want to create a pan controller for each. But then if I up the voice count to 8, it spawns the next two controllers automatically.

The second example is similar, doing math based on the Voice Number. Perhaps to automatic spread the voices across a range.

I know there is a ?VoiceNumber variable, but I haven't figure out how to use that in a !hotparameter fields.

Ben Phenix

IP: Logged

SSC
Administrator
posted 15 October 2007 19:21         Edit/Delete Message   Reply w/Quote
For example, to assign each voice its own position in the stereo field, you could put a Level on the Sound and set Left to:

(?VoiceNumber - 1 / (?NumberVoices - 1)) asLeftPan)

and Right to:

(?VoiceNumber - 1 / (?NumberVoices - 1)) asLeftPan)

IP: Logged

keph
Member
posted 15 October 2007 19:42         Edit/Delete Message   Reply w/Quote

Ok that makes sense. I didn't know about the ?NumberVoices.

What about creating faders or other VCS objects automatically? Any tips there?

IP: Logged

SSC
Administrator
posted 15 October 2007 20:33         Edit/Delete Message   Reply w/Quote
You could name the fader:

{!Pan suffix2: ?VoiceNumber}

[This message has been edited by SSC (edited 15 October 2007).]

IP: Logged

keph
Member
posted 15 October 2007 20:55         Edit/Delete Message   Reply w/Quote

so easy. seems i must read the smalltalk/capytalk section again.

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c