Chord-builder (with correct enharmonic spellings in different keys)

Jan 14, 2013 at 12:37am

Chord-builder (with correct enharmonic spellings in different keys)

It’s pretty self explanatory.
As this is supposed to be a basis for a teaching tool, involving functional harmony is mandatory. That’s the whole point of this patcher anyway, else I’d be using an Nslider.

This is related to the “two conditions” thread from before, you can see how I solved it here. Basically converted n|#|b symbols to integers, summing the result and using a dictionary in coll to call out the right accidental.

Few quirks I’m trying to work out:
- I’ve not implemented a mechanism for setting the right octave. That means above the root E, all triads will appear as 1st order inversions. Which is a tad annoying. Still working my way through it… While implementing interpretation of 9 separately is a matter of labour, im still wrapping my head around how to build a correct chord from the root.
- I have no idea why, but when changing the number of notes used in a chord (Chord 4 and 5), you have to click the chord twice. When the number is the same and accidentals change, you don’t have to. I have no idea why is that.

If someone wants to use it, feel free.

– Pasted Max Patch, click to expand. –
#66056
Jan 29, 2013 at 2:59pm

If anyone can help me, I’m trying to wrap my head round correct chord inversions.

Any ideas?

#237825
Jan 29, 2013 at 3:28pm

Hi,

I do not use “Bach” library, sorry. If it is a “Bach” specific problem, you should mention it ; if it is not, please include native objects only in your patch ;-)

#237826
Jan 29, 2013 at 3:34pm

It’s actually not bach specific as the problem occurs before its even input into bach, so it’s about my formatting. I’ll recreate it without bach objects anyway

#237827
Jan 29, 2013 at 3:49pm

Hi,

I had a quick look ; don’t you think it should be easier to deal with numbers { 0, 1, … , 11 } that with accidentals ? Since i use Max/MSP i prefer to use Z12 now, but surely that my musical theory courses are too old to understand all what “correct enharmony” implies.

#237828
Jan 29, 2013 at 4:39pm

What is Z12?

It’s a music theory patcher, so it needs correct accidentals (stupid things like double sharps, or double flats)

#237829
Jan 29, 2013 at 4:59pm

Hi,

Z12 is about (math) algebra and music :
( f.e. http://www-personal.umd.umich.edu/~tmfiore/1/chicagolecture2web.pdf )

#237830
Jan 29, 2013 at 6:25pm

Thank you very much!

#237831

You must be logged in to reply to this topic.