Jump to content

filter-tie suggestion

Recommended Posts

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))



Link to comment
Share on other sites

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.




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