Kyma Forum
  Kyma Support
  randomly cycling control contour

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

next newest topic | next oldest topic
Author Topic:   randomly cycling control contour
SamPellman
Member
posted 10 May 2011 12:44         Edit/Delete Message   Reply w/Quote

RandomCycler.kym

 

Well, I think I'm probably making this too difficult for myself. My objective here is to generate a control contour consisting of a recurring triangle function whose period varies randomly from one cycle to the next--i.e., when the triangle function returns to zero it begins another cycle whose period is determined by a new random value.

Ideally I'm thinking this might be implemented with series of nextRandom messages, with each new nextRandom value triggered after the duration corresponding to the previous nextRandom message has elapsed.

I'm prepared to accept just about any solution, elegant or otherwise, at this point. Meanwhile, I'm going to see if I can script my way out of this.

IP: Logged

SamPellman
Member
posted 10 May 2011 16:59         Edit/Delete Message   Reply w/Quote

randomTriangulator.kym

 
I think I've scripted a solution that does pretty much what I've been after. Global controllers with scripts will rule the Earth someday.

quote:
Originally posted by SamPellman:

Well, I think I'm probably making this too difficult for myself. My objective here is to generate a control contour consisting of a recurring triangle function whose period varies randomly from one cycle to the next--i.e., when the triangle function returns to zero it begins another cycle whose period is determined by a new random value.

Ideally I'm thinking this might be implemented with series of nextRandom messages, with each new nextRandom value triggered after the duration corresponding to the previous nextRandom message has elapsed.

I'm prepared to accept just about any solution, elegant or otherwise, at this point. Meanwhile, I'm going to see if I can script my way out of this.



IP: Logged

SSC
Administrator
posted 11 May 2011 20:41         Edit/Delete Message   Reply w/Quote

randomtrianglecontrols.kym

 
You solved it before we even read it!

But since there is always more than one way to do things in Kyma , we thought it might amuse you to see an alternative (yet similar) solution. I tried to make this one non-repeating and have a live control over the minimum duration and the range of durations.

[This message has been edited by SSC (edited 11 May 2011).]

IP: Logged

SamPellman
Member
posted 10 August 2011 00:14         Edit/Delete Message   Reply w/Quote
This is VERY elegant! I'm quite happy to be using this instead of the chunky little gizmo I pieced together. (Also, this motivated me to get my Kyma versions updated so I could run this; I've been rather negligent about that for longer than I realized!). Many, many thanks!

Sam

quote:
Originally posted by SSC:
You solved it before we even read it!

But since there is always more than one way to do things in Kyma , we thought it might amuse you to see an alternative (yet similar) solution. I tried to make this one non-repeating and have a live control over the minimum duration and the range of durations.

[This message has been edited by SSC (edited 11 May 2011).]



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