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.
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?
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.
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
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.
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!
----------begin_max5_patcher---------- 1249.3oc4Z1zjZiCDF9L7qPEmRpPnz21dq8xV45lK45toRYvJCdBVlxVjLaR k829ZIYy.Sv1hOjgY1KdPZD1c+zRupUa9w3Q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UluoXQyCo47P.z1GUhnTkJMqc2YP5ROCdDCK SSRDxcSHKIsTWQ9j1eACtZOO4QcX6gtmM6UyIxAywXycYOYoIqyqBo0wHZDx rfCaOGes1tt0iOnKmG3hCvGt3K2A6gciEe4mU7MjrskGhutvS8qEXnhuLGrG 8YitoBvryI.SodM.6hfX3fEeCcAmCWzE4vtW5eYIGUzstl1LyaWfRrqh0s7g 7LxAfZ7fAZ8KzEhhORhBgyvrsHkvCruBAewTnKLEOXLEwcgoniioDbzrGQJN JxmyRQtrKCAMbyRotHCMbQXrKYYgFVyouIb8kS+Smugn5YXgVsQ6u2GcCeLa yEMQ7vgSWRo4IZN9zbbYtOZ3xnGE5ZFeGwrsZ8LL2Vfhnfss7w7sPGOSxo6. jquCPOGG.W+C7yWNfKSgFtjbcwb3mDNQA1iLfC215JgS74X+D9QX+1ZTEud8 WEEk0FgwzmjEeedgtIepoYpz1zXCSJDeMsY7zw561OG+eLOSaRA -----------end_max5_patcher-----------
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.
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 :)))