![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: Boneheaded Class Problem |
metalbox Member |
![]() ![]() ![]() I've been working on some percussive sounds I'm building into classes. I would like !KeyDown and !KeyPitch binded to the sound as !variables used to be. When building a class, these two variables show up in the parameter list. My problem is that I can't use a MidiVoice to bind them as, I would like to have the option to use sequencer and sequencer don't apparently pass midi data to MidiVoice. I'd like to bind the two !variables and have them invisible. Is there another way ? Also, is there a plus in having !variables show up in the class editor ? Thanks. IP: Logged |
SSC Administrator |
![]() ![]() ![]() The binding of hot variables (like !KeyPitch) to values is done by either the global map or a MIDIVoice or AnalogSequencer Sound. This means that all uses of these kinds of variables must be "visible" at the class level and therefore would be parameters of the new class. Generally, we suggest that people use generic names like ?Gate and ?Frequency in the class template, and use !KeyDown and !KeyPitch in the instances of the user-defined class. IP: Logged |
metalbox Member |
![]() ![]() ![]() Great, thanks for the help : ) IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() ![]() |
This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.