Jump to content

Triad inversion to root position intervals


Recommended Posts

I would like to be able to convert a major or minor triad in any inversion and any octave position of it's notes to the intervals of its root position. Can't use pitch classes for this since major and minor triads are concidered the same pitch class. Can't find the right approach.

 

For example:

'(e3 g4 c5) -> '(4 3)

'(eb3 g4 c5) -> '(3 4)

'(g1 e7 c8) -> '(4 3)

(g1 eb7 c9) -> '(3 4)

 

The Tonnetz functions are almost working but this is the missing link to get it working.

 

Many thanks in advance.

 

Wim Dijkgraaf

 

Link to comment
Share on other sites

should work...

 

(defun get-root-intervals (pitches)
  (integer-to-interval 
   (sort-asc (pitch-to-integer (ambitus-octaves 'c4 1 pitches)))))

(get-root-intervals '(g1 c9 e6))
(get-root-intervals '(f3 d4 a4))

 

interested to see your work :-)

greetings

andré

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