Jump to content

Featured Replies

Posted

modifying stephane' s code

 

(defun replace-length-of-a-technique (omn-list &key technique length)
   (flatten (loop for i in (single-events omn-list)
              when (equal (nth 3 i) technique)
              collect `(,(rnd-pick* length) ,(nth 1 i) ,(nth 2 i) ,(nth 3 i))
              else collect i)))



(replace-length-of-a-technique  '(e. c4 p tasto d4 ponte e4) 
                                  :technique 'tasto 
                                  :length '(1/32))


(replace-length-of-a-technique  '(e. c4 p tasto d4 ponte e4 d4 tasto f5 tasto)  
                                  :technique 'tasto 
                                  :length '(1/32 2/32 3/32)) ;; rnd

 

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