Jump to content

Featured Replies

Posted

The filter-tie function allows the keyword parameter :omn. On initial reading, I thought this would return the result in OMN form if :omn t is supplied as the option. But that is not the case. Just wondering if changing the behaviour slightly would be useful.

 

For example, 

(filter-tie (list '(c4 c4 c4 d4 d4 e4)

                  '(e e e e e e)) :omn t)

=> (q. c4 q d4 e e4) instead of ((c4 d4 e4) (q. q e))

 

If :omn nil (the default), then the result would be ((c4 d4 e4) (q. q e))

 

-Rangarajan

  • Author

What you have given is perfectly acceptable. The example I gave is from the documentation of the function, where the pitches and lengths are given separately. My observation was with respect to that usage pattern. Anyway, if that pattern is not common, then my suggestion is not very relevant.

 

Regards,

Rangarajan

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