![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: Another sequencer question |
Bill Meadows Member |
![]() ![]() ![]() I was experimenting with the Random Order Sequencer and I wanted to put an expression in the ExtraValues field. I wanted to vary a parameter randomly, just as is done in the Pitches and Velocities fields, but I can't seem to get the syntax right. I always get this error: "this collection is empty", even if I copy the expression from the Velocity field and paste it there. Here is what I tried: {((1 bpm: 24) nextRandom abs * 11) of: #( !nu {0.0} {0.1} {0.2} {0.3} {0.4} {0.5} {0.6} {0.7} {0.8} {0.9} {1.0} )} What is the proper syntax? IP: Logged |
SSC Administrator |
![]() ![]() ![]() In the ExtraValues syntax, the name of the hot value comes first, then the array of values that it should take on in the sequence. In your example this would be: #(!nu {((1 bpm: !BPM) nextRandom abs * 10) rounded / 10}) Multiplying by 10, rounding, and then dividing by 10 is just an alternative approach to getting the values quantized one tenth as you have in your array. IP: Logged |
Bill Meadows Member |
![]() ![]() ![]() Ah, the mysteries of SmallTalk. I for one would be interested in an intermediate-level Kyma workshop specifically about SmallTalk scripting and expressions. The documentation in this area is a bit sparce. I can do a few basic things, and can usually re-work examples to meet my needs. But when I see some of the stuff you guys do, I realize there is a lot more power available here, I just don't know how to access it. (btw - Thanks for the expression.) IP: Logged |
dgkiers Member |
![]() ![]() ![]() I second this cry for kyma_Smalltalk reference. D. 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.