Jump to content
Sign in to follow this  
AM

modify-length-of-a-technique

Recommended Posts

(defun modify-length-of-a-technique (omn-list &key technique (factor 1) (modification 'augmentation))
  (flatten (loop for i in (single-events omn-list)
             when (equal (car (omn :articulation i)) technique)
             collect (cond ((equal modification 'augmentation)
                            (length-augmentation factor i))
                           ((equal modification 'diminution)
                            (length-diminution factor i)))
             else collect i)))


    

(modify-length-of-a-technique '(q d4 mf ponte e fs4 tasto -e. e g4 tasto q gs4 ponte) 
                              :technique 'ponte
                              :factor 10
                              :modification 'augmentation) ;; also 'diminution

 

Share this post


Link to post
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.

Guest
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.

Sign in to follow this  

×
×
  • Create New...