note scaling?
hey guys,
i have a patch that can generate 8 independent midi notes.
i would like to add a menu to select scales.
so the first note you can select would be a C2 and all the rest of the 8 notes
would set up according to the scale..
can someone give me a hint?
right now it seems like a mass of math to me..
thank you
The [coll] object applies here I think; see Cycling74/examples/max-tricks/notes-and-pitch, there's a useful [coll] in there that you can modify to suit.
Brendan
not much math, just have 7 [+] objects with the right offset. So for major:
0 2 4 5 7 9 11
where 0 is the first chosen note, in your example, C2. But it could be anything.
Have int boxes (probably restrict min and max to 0 and 12?) attached to each number box. Use a preset on the int boxes and you can have any scale you want. Use [zl group] on the output of the boxes to make a scale list, then you can use [zl rot] to transpose.
[% 12] is also useful with scale stuff...
I have an example called ScaleMaster which can be found here http://xfade.com/max/
It is a scale database with a couple different flavors of note quantizers.
more complex than I'll ever need.