Jump to content

Backward access in make-omn

Recommended Posts


A general question:

Is there anyway to backward access a parameter within make-omn? (like Pkey within a Pbind in Supercollider)

Something like this:

 :length '(e e e e e)
 :pitch (list (integer-to-pitch (length :length)))

=> (e f4 f4 f4 f4 f4)

Allt the best,



Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use Privacy Policy