Jump to content

ambitus-swallow -> excluded pitches


Recommended Posts

 

;; little function. don't know if something like this already exits
;; in OMN: i wanted to READ the swallowed pitches after ambitus-swallow
;; i hope it works fine...


;;function
(defun read-ambitus-swallowed (min/max omn-sequence)
  (let ((up (ambitus-swallow (list (second min/max) 'g9) omn-sequence))
        (down (ambitus-swallow (list 'c0 (first min/max)) omn-sequence)))
    (merge-voices up down)))

;;nonsense-sequence
(setq omn-sequence '(e f4 t a0 q g0 d9 s. eb6 t. f3 cs9 t ab0 q c0))

;;ord ambitus-swallow
(ambitus-swallow '(a0 g8) omn-sequence)

;;the excluded pitches 
(read-ambitus-swallowed '(a0 g8) omn-sequence)


 

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.

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.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy