Jump to content

replace length/pitch by a omn-seq

Recommended Posts

i woud like to replace a pitch by a new omn-sequence. so i have to match/eliminate the length too... is there a function anywhere?


for example -> the "h gs5"

'(e fs4 c5 -w h gs5 -w e. d5 h cs5)

replace this values with another omn-seq, but how?


i could do something like this (in ord. lisp),

but then i get in trouble with the lengths

(loop for i in '(e fs4 c5 -w h gs5 -w e. d5 h cs5)
  when (equal i 'gs5)
  collect '(e. gs5 ppp g5 e_t f5 d5) 
  else collect i)

-> '(e fs4 c5 -w h (e. gs5 ppp g5 e_t f5 d5) -w e. d5 h cs5)

...so the last length-val before the insert has to be eliminated too (here: h (e. gs5 ...)) ... otherwise is gonna be wrong.

thanx for help



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