Chord Machine problem in MAX

Apr 7, 2012 at 4:46pm

Chord Machine problem in MAX

I have made a subpatch with chords so that I can listen to them and guess which one it is. There are three chords with pipe of 2500 on the second chord and a pipe of 5000 on the third chord, so that the second and the third chord are listened with a certain delay.

What happens is only the third ones button lights up instead of the first one, or it randomly lights up, usually the third chord button.

It is a random selection of chords. Additionally every chord starts with random object with an argument 48 which is one octave between Middle C, and on the right inlet which sets the Random Number Range is connected the number 74 which is one octave above Middle C.

I have made this subpatch a long time ago, so I don’t quite remember why I connected the random outlet to the number +30, which is then connected to each of the tones of the chord, it will produce random tones of the chord, but WHY the number box +30, and not another number???

The thing is that I think its best if the chords are within Middle C octave, but where do I go wrong, because the chords listened are just random chords, and not how I intended them to be.

Attached is the subpatch.

Thank You,
Kare

Attachments:
1. ChordsTestSelektirani.maxpat
#62828
Apr 7, 2012 at 5:48pm

Hi Kare,

First off, such a messy, messy patch, I must admit I’m a bit OCD with my patches, but it’s quite hard to follow whats going on here.

So I need to ask really, what are you trying to do?

Is it a patch which will play random chords in the range of middle c which you have to guess what they are?

#226794
Apr 7, 2012 at 5:52pm

I don’t have Max here so can’t see the patch, but 48 is one octave below middle C, and 74 is actually an octave and a major second above middle C (you probably want 72 for one octave above).

You might want [random 25] which will give you a range of two full octaves (including the top note of the next octave) and then add that to [+ 48] for the MIDI offset, which will ensure that all chords start at least at one octave below middle C.

#226795
Apr 7, 2012 at 6:35pm

Thank You seejayjames, I will try that and I will let you know. So, instead of random 48 I should put random 25 and then add +48 instead of +30. That will give me chords that are one octave below Middle C and one octave above.

chrisoconnor: It is part of a subpatch, the subpatch is very big, so I have exluded just what I thought it is most impsrtant.
Yes, I am trying to play three consecutive chords in the range of Middle C and guess which ones they are.

Thank you both

#226796
Apr 7, 2012 at 8:06pm

actually i would suggest to simply rewiurte the patch if it is old and you can no longe interpret it.

and then i would put the mkenote behind the pipe, this ewill save you dozens of objects, makes
sure that everything is in time, while saving high priority thread cycles.

#226797
Apr 7, 2012 at 8:22pm

Hey Kare,

Sorry, I just realised how bitchy my comment on the tidyness was, sorry.
I did however remember doing something similar. I don’t know if it’s what you’re after as mine seems a bit more simple, but have a look anyway, you never know!

-chris

– Pasted Max Patch, click to expand. –
#226798
Apr 7, 2012 at 8:39pm

Yours looks like a choice of only three chords. Mine is more three chords in a consecutive order, then another different three, then different another etc.

Thank you for sending it to me so that I can take a look at it.

Kate

#226799
Apr 7, 2012 at 8:43pm

Hey Roman Thilenius,

Thanks for the suggestion, but I think that I will not rewrite it, but have already used seejayjames suggestions. And after I read his post I remembered what is that +30 added :)))

Thanks anyway,

Kate

#226800

You must be logged in to reply to this topic.