Jump to content

A faster way to pitch-demix

Recommended Posts

A faster way to pitch-demix.

I found that this works faster than the pitch-demix function.

Just to offer something... 


(setf chorale '(a3b3e4ab4 gs3ds4g4bb4 cs3a3b3e4))
(setf chordarray (build-array (sort-desc (melodize (mclist chorale)))))
(setf size (get-count chorale))

(setf voice1 (get-array 0 0 size chordarray :direction 'down))
(setf voice2 (get-array 0 1 size chordarray :direction 'down))
(setf voice3 (get-array 0 2 size chordarray :direction 'down))
(setf voice4 (get-array 0 3 size chordarray :direction 'down))

(ps 'gm
    :sq (list (flatten (list '(q) voice1))
              (flatten (list '(q) voice2))
              (flatten (list '(q) voice3))
              (flatten (list '(q) voice4)))
    :key-signature 'atonal
    :time-signature '(4 4)
    :tempo 90
    :title "Colagem Randômica"


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