Jump to content

pattern-map/match overwriting


Recommended Posts

a question:


in a pattern match i would like to overwrite the existing OMN sequence. that means that for the duration of the insert the original OMN-sequence is not pushed backwards. As I see it now, the OMN-values are only inserted and do not overwrite the sequence, (and not rhythmically "compensating") ... ?


would be very nice! ...or i have to code it for myself :sad:


an example:

;; basic omn-seq
'(e c4 -e -q q c4 -q s c4 -e. q)

;; insert
'(3q c4 d4 e4 c4 d4 e4 c4 d4)

;; pattern-match on (q c4)

;; result should be
'(e c4 -e -q 3q c4 d4 e4 c4 d4 e4 c4 d4 -3q q c4)


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