Jump to content

Recommended Posts

I have the following chord progression:

 

(setf chords '((w (c4 maj7))
               (w (a4 m7))
               (w (d4 m7))
               (w (g4 7))
               ;
               (w (c4 maj7))
               (h (a4 m7/b5))
               (h (a4 m7))
               (h (d4 m7/b5))
               (h (d4 m7))
               (w (g4 7))
               ))

 

image.png.4f24563aaff5433327fe2caf6a830a44.png

When evaluating following expression on it ...

 

(dechord chords :pitch 'root)

 

... I get following result in the listener:

 

((w b4 mf) (w e5 mf) (w a4 mf) (w b4 mf) (w b4 mf) (h g5 mf) (h e5 mf) (h c5 mf) (h a4 mf) (w b4 mf))

 

I expected the roots.

Am I doing something wrong?

 

---

 

EDIT:

Just played around with the other keyword options...

:pitch 'low

... return the expected result. Still I am confused.

 

 

Can someone explain the result with :pitch ‘root ?

Link to comment
Share on other sites

Thx @opmo understood,

so keyword :root  is not really what is typically tought as chord root (if I exclude pcs theory).

:low seems to be the "new" root.

 

Feedback, even if pcs-theory-wise justified, OM-API is a bit counter-intuitive here in my humble users point of view.

At least I suggest to make an extra note in the documentation so that other do not fall into the same trap as I did.

Yes I know the existing example indicates this surprise already, but please add your pcs "justification", this will explain the rationale.

 

(dechord (chord-inversion 0 (expand-chord '(c4 maj7))) :pitch 'low)

-> ((c4))

 

and

 

(dechord (chord-inversion 1 (expand-chord '(c4 maj7))) :pitch 'low)

->  ((e4))

Link to comment
Share on other sites

Addition and improvements to DECHORD function:

 

 

(setf chords '((w (c4 maj7))
               (w (a4 m7))
               (w (d4 m7))
               (w (g4 7))
               (w (c4 maj7))
               (h (a4 m7/b5))
               (h (a4 m7))
               (h (d4 m7/b5))
               (h (d4 m7))
               (w (g4 7))
               ))
               
(dechord chords)
=> ((w c4 mf) (w a4 mf) (w d4 mf) (w g4 mf) (w c4 mf) (h a4 mf) (h a4 mf) (h d4 mf) (h d4 mf) (w g4 mf))

(dechord chords :type 'pcs)
=> ((w b4 mf) (w e5 mf) (w a4 mf) (w b4 mf) (w b4 mf) (h g5 mf) (h e5 mf) (h c5 mf) (h a4 mf) (w b4 mf))

(dechord chords :pitch 3)
=> ((w g4 mf) (w e5 mf) (w a4 mf) (w d5 mf) (w g4 mf) (h ds5 mf) (h e5 mf) (h gs4 mf) (h a4 mf) (w d5 mf))

 

See the document for more explanation (3.0.29342).

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