Jump to content

Featured Replies

Posted

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

 

  • Author

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.

Create an account or sign in to comment


Copyright © 2014-2025 Opusmodus™ Ltd. All rights reserved.
Product features, specifications, system requirements and availability are subject to change without notice.
Opusmodus, the Opusmodus logo, and other Opusmodus trademarks are either registered trademarks or trademarks of Opusmodus Ltd.
All other trademarks contained herein are the property of their respective owners.

Powered by Invision Community

Important Information

Terms of Use Privacy Policy