EAIP Posted December 16, 2015 Share Posted December 16, 2015 Hi, A general question: Is there anyway to backward access a parameter within make-omn? (like Pkey within a Pbind in Supercollider) Something like this: (make-omn :length '(e e e e e) :pitch (list (integer-to-pitch (length :length))) ) => (e f4 f4 f4 f4 f4) Allt the best, Erik Quote Link to comment Share on other sites More sharing options...
opmo Posted December 16, 2015 Share Posted December 16, 2015 Where did you get the f4 from or is this just a global example. We could add this to the MAKE-OMN function. For now you need to do all this outside -> SETF Quote Link to comment Share on other sites More sharing options...
EAIP Posted December 16, 2015 Author Share Posted December 16, 2015 Yea, I think it could be useful, especially in more elaborate situations where a calculation in one param depends on the result of a calculation in an earlier param. The code in my example above obviously doesn't work, it was only meant to clarify what I'm talking about. :) In my current work for ex, I would like to know how many bars is generated in the :length param and then generate the same amount of bars in the :pitch param. Of course you could do that before make-omn, but it would be really convenient to be able to access the result of an other parameter from within the make-omn. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.