![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: Script variables... |
JackRosete Member |
![]() ![]() ![]() I would like to use a Script Sound to algorithmically generate a series of Analog Sequencers. However, I'm not sure if what I have in mind is possible. I would like to use something like this in the Script field: 1 to: !NumberOfSequencers do: [ i: | <stuff here> ]. So that I could add/remove AnalogSequencers on the fly, using a VCS fader, once the Sound is compiled... Any ideas? Thanks! p.s. Am I right in assuming that the above approach doesn't work due to a Smalltalk/Capytalk clash? [This message has been edited by JackRosete (edited 17 November 2006).] IP: Logged |
SSC Administrator |
![]() ![]() ![]() 1 to: !NumberOfSequencers do: [ i: | <stuff here> ]. You cannot have a hot variable as the upper limit for a Smalltalk loop. Any Smalltalk code in a parameter field is compiled on the host computer *before* the Sound is sent to the Capybara. What you could do instead is to create the maximum number of sequencers and then use hot variables as faders to bring them in and out of the mix. IP: Logged |
JackRosete Member |
![]() ![]() ![]() OK, I will try that instead. Yes, I assumed that was the problem with the code, I was just wondering whether there was an equivalent of do: in Capytalk, as I've noticed there are often Smalltalk/Capytalk equivalents such as at: and of: and so forth. Thanks! 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.