Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 16 hours, 40 minutes ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

Loop for harmonizing each chord of a chord-seq with a different chord

Author 3 Subscribed Users |
Profile photo of Francesco Vitale
Francesco Vitale

Hi all,
thanks to the brilliant work of Ruben Sverre Gjertsen, there’s an algorithm for OM called harmonize-multiseq, which, in the words of its creator, works like a static version of the Boulez ‘chord multiplication’ and harmonizes each chord of a chord-seq with a chosen fixed chord. Here you have a patch with the loop that performs this operation. Now I’d need to modify this loop in order to get a dynamic ‘chord multiplication’, i.e., harmonizing each chord of a chord-seq with a set of n different chords, where n is equal to the number of chords in the chord-seq to be harmonized. Does anybody have an idea about how to construct such a loop? Thanks again for your kind attention.
All the best,
Francesco Vitale

Attachments:
  1. Patch-62.omp
January 30, 2019 at 18:17 #29041
Profile photo of fdsdb
fdsdb

Hi,

I am not sure I have understood good, but perhaps the enclosed patch can help you? It is your patch with my addon on the right part of the patch.
I have used an object from my library that perform Boulez’s chord multiplication.
So it is sufficient to make a simple loop.
The library is here: https://sites.google.com/site/fdsdbmascagni/code/fdsdb_xxth_ct-per-open-music-1 (ITA)
and here https://sites.google.com/site/fdsdbmascagnienglishversion/code/fdsdb_xxth_ct-for-open-music

I hope this help, Best

Fabio

January 30, 2019 at 19:53 #29047
Profile photo of Francesco Vitale
Francesco Vitale

Gentile Professore,
many thanks for your suggestions. Your library is a really powerful tool, and with your patch you understood fully what I’m trying to do. Anyway, it seems to me that using the orthodox Boulez chord multiplication coded in your function does not yield exactly the same result obtainable with the harmonize-multiseq (please check if it also happens to you), because maybe the Ruben Sverre Gjertsen approach is slightly different…
Best,
Francesco

January 30, 2019 at 21:18 #29050
Profile photo of fdsdb
fdsdb

Dear Francesco (please, no need to use “Professore”),

Yes, now I see that your patch is rally another thing. Sorry for mistake.
Gjertsen’s process is very complex adn interesting (also very interesting his site and his works).
Best,
Fabio

January 30, 2019 at 22:04 #29051
Profile photo of rc
rc

Hello Francesco,

Looking to your patch, pitches from chord are added to the ones in chord-seq, so here’s a simplified version (attached).
Does it make sense?

Best regards,
RC

Attachments:
  1. Screenshot_2019-01-31_06-23-51

    Screenshot_2019-01-31_06-23-51.png

  2. Screenshot_2019-01-31_06-23-51

    Screenshot_2019-01-31_06-23-51.png

January 31, 2019 at 06:41 #29057
Profile photo of Francesco Vitale
Francesco Vitale

Hi RC,
yes, it makes a lot of sense. If in programming simplicity is synonymous with elegance and power, your solution is very elegant and powerful. It is a good starting point to modify the original harmonize-multiseq loop. Many thanks for your strong tip.
Best,
Francesco

January 31, 2019 at 11:11 #29065

You must be logged in to reply to this topic.

Log in now