Jump to content

Unfold method in ‘om for chord inversion

Recommended Posts

I have looked into the respective .opmo file, maybe I am blind but I could not found chord inversion methods in the standard ‘om one.

Any suggestion how I can invert a block chord for example in a counterpoint dictum using the :method parameter ?

Link to comment
Share on other sites

You will need to create your own def-unfold-set file and add the function there.

Just copy the unfold-set om code from the library, create a new file and add all the function there you would like to access in counterpoint methods function.

Then save the file into the 'Extensions' folder - make sure the code is working.

The best way to learn all this is to contact Stephane and apply for an hour tutorial.




Link to comment
Share on other sites

(setf chord 'c4e4g4)
(chord-inversion 1 chord)
=> (e4g4c5)

Root position and 1st inversion together:

(chord-inversion 1 chord :root t)
=> (c4e4g4 e4g4c5)


However, requesting the third inversion with option :series T and :root T, will give us four chords, and so on.

(chord-inversion 3 chord :root t :series t)
=> (c4e4g4 e4g4c5 g4c5e5 c5e5g5)


We can also rotate the chords downwards in pitch, for example the rotation of the third order below:

(chord-inversion -3 chord :root t :series t)
=> (c4e4g4 g3c4e4 e3g3c4 c3e3g3)


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