![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: Random triggers with deviation issues |
SeanFlannery Member |
![]() ![]() ![]() Hi All, I've been looking through the Random trigger expressions examples on the Tweaky and trying out the examples but on any example that contains a deviation: argument I get the error:
Have I got it wrong somehow or can anyone suggest an alternative approach? Oh, and Merry Christmas all IP: Logged |
SeanFlannery Member |
![]() ![]() ![]() just popping this back into the topics within last 20 days category. Still wondering about this one if anyone's got a chance to advise. Thanks IP: Logged |
rafe Member |
![]() ![]() ![]() hi Sean i am guessing that you have a conflict between using capytalk and smalltalk. without the exact expression i can't be sure and i am not in front of my capy at the moment. but the !hot variables cannot perform message ... is a message that frequently comes up for me if i have intertwined the two languages or if i have confused the smalltalk synthax or commands with capytalk. as you are probably aware smalltalk can only use hot variables under very specific circumstances. just a hunch. best rafe IP: Logged |
SeanFlannery Member |
![]() ![]() ![]() Hi All, Thanks for your reply Rafe, sorry I didn't notice it till now. The expressions are as follows: !sw01 brownianTrigger: !StartDur s When I paste anything with a "deviation: !Dev s" component it errors, anything without it works. I understand your point about mixing small and capytalk inappropriately but you would expect examples like these to consistent in operation unless otherwise noted, that's why I'm scratching my head IP: Logged |
SSC Administrator |
![]() ![]() ![]() This syntax will work (the example can be pasted into a Frequency field): (1 brownianTriggerStart: 1 s deviation: !Dev) nextRandom * 12 nn + 60 nn IP: Logged |
SSC Administrator |
![]() ![]() ![]() The trick is that the expression that includes deviation is slightly different from the one that does not (and the deviation argument does not have units on it). So for example: !sw01 brownianTriggerStart: 1 s deviation: !Dev !sw01 normalTriggerCenter: 1 s deviation: !Dev !sw01 randomTriggerCenter: 1 s deviation:!Dev IP: Logged |
SeanFlannery Member |
![]() ![]() ![]() Thanks SSC! ![]() will try this out. IP: Logged |
SeanFlannery Member |
![]() ![]() ![]() Well I tried it out and it all works now but I've also attempted to update the tweaky - changing the '!Dev s' occurences in the example code to '!Dev ' - but I am unable to save, preview or checkpoint the changes. I'm using Firefox and on click on any of the above buttons it just hangs waiting for www.symbolicsound.com Can anyone else update this page? IP: Logged |
Phi Curtis Member |
![]() ![]() ![]() Hi Sean, That's funny, I was just updating the page to reflect this conversation, and then I was trying to re-enter the page to change something else, but it said that you were editing the page! But anyway, I think I did most of what needed to be done, changing the examples so that they use the expression that are being discussed. For example, it said it was discussing randomTriggerCenter:deviation, but the example was !sw01 randomTrigger: !AveDur s deviation: !Dev s which I changed to read: !sw01 randomTriggerCenter: !AveDur s deviation: !Dev s IP: Logged |
SSC Administrator |
![]() ![]() ![]() The units of seconds (s) is not *required* on the !Dev argument. However, it also will not hurt anything (and might make the meaning clearer). Internally, Kyma adds the s units onto that argument whether or not you include it, so is safe to leave the examples as is. Thanks! IP: Logged |
SeanFlannery Member |
![]() ![]() ![]() ~~ The units of seconds (s) is not *required* on the !Dev argument. However, it also will not hurt anything ~~~ I politely but strongly disagree with you SSC on this point. I agree with the idea of having the the s included in the explanations and notes for the expression but I cannot understand why an example expression should include content that makes it error, particularly when: ~~ I believe the examples with !Dev in them should read in the form shown earlier: I really dont want to step on any toes here but unless SSC or someone else can give me a compelling reason 'not' to change the examples, I do intend to edit this Tweaky page, replacing the instances of "deviation: !Dev s |" with "deviation: !Dev |" Example expressions should be able to be copied and pasted and work unless otherwise noted. Don't you agree? I look forward to hearing people's views on this. Regards, IP: Logged |
Phi Curtis Member |
![]() ![]() ![]() Hi Sean, The expression seems to work the same for me with our without the "s." What made the difference between the expressions working and not working for me were what I changed on the Tweaky page: "randomTriggerCenter:deviation:" instead of "randomTrigger:deviation," "brownianTriggerStart:deviation" instead of "brownianTrigger:deviation," etc. Try cutting and pasting the expressions as they are from the Tweaky into a SoundToGlobalController and uncheck the "silent" box (and turn down your amplifier) to verify that they are working. They work for me now. Phil IP: Logged |
SeanFlannery Member |
![]() ![]() ![]() ![]() I'm a bloody nong. I think I need to READ things a bit more carefully. Thanks all and apologies for the brain fart IP: Logged |
SSC Administrator |
![]() ![]() ![]() uh.... I'm not sure what you just called yourself, but I sincerely doubt that you are one of them (whatever that is)! :-) IP: Logged |
SeanFlannery Member |
![]() ![]() ![]() ![]() Nong is polite Australian slang for a person who does something silly. 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.