Jump to content

adjust-pitch-sequence


Recommended Posts

kind of transposing.... in ONE function...

 

(defun adjust-pitch-sequence (pitch-sequence pitch1 pitch2)
    (pitch-transpose (car (pitch-to-interval (list pitch1 pitch2))) pitch-sequence))

;;;'b3 (and all around) will be transposed to 'a6

(adjust-pitch-sequence '(c3 b3 a4 g1) 'b3 'a6)

=> (bb5 a6 g7 f4)

 

here a simple self-similarity-example - but it's not for what i coded it..

 

(setq seq '(c3 b3 a4 g2)) 

(loop for i in seq
  collect (adjust-pitch-sequence seq 'c3 i))

 

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