Creating sequences
Hi
I'm using MAX for a coursework project and I don't completely know what I'm doing. I've worked a few things out but what I want to be able to do is trigger a 4 bar sequence of notes based on whichever key is selected. So far I've managed to trigger chords rather than individual notes from the kslider keyboard using four identical inputs to the makenote object, three of which have been scaled up to create either major or minor chords. I would now like to separate these notes so that, instead of playing simultaneously as a chord, they play consecutively as an arpeggiated sequence. I also want to trigger the sequence playback on/off using a connected button rather than having to hold a note down on the kslider. Is this possible, or is there some sort of alternative? I can screenshot my work so far if needed.
Cheers in advance
Its better to 'copy compressed' your patch from the Edit menu, and then paste it here.
How are you storing the chord? Instead of recalling all the notes at once, you need to figure out how to recall them sequentially
A metro running into a [counter] into a [select] would be a pretty most direct route. Although there are so many different ways to do a sequence in Max.
How would I go about attaching a metro in a way that triggers one note after the other?
Here's the minor one for you.
I removed the scale object, because there are cleaner ways to express the idea, this is just one. Like I said, there are tons of ways to do sequencers in Max.
That is ridiculously helpful, thank you
One more thing, I've just been fiddling with the random object as I'd like to have that in-key sequence randomised over four bars rather than note 1, 2, 3, 4, 1, 2 etc. I added the octave to your amendment using "t 12" and changed the counter so it is essentially a four bar loop, but where would I input and output the random object to affect it correctly?
You would just hook the output of the metro to a random object, and then send that to the select object. Use a gate or switch to choose between sequential and random notes.
Can't seem to get that to work, are there specific parameters I need to add to the random object, or do I simply leave it as "random"? Also if I connect it from the metro to the select object, doesn't that bypass the counter object?
Yes, add an argument defining the range of numbers. (read the help files too, they are, um, helpful).
I said connect the metro to the random, to the select.
You don't need a counter for randomness.
Got it, you're a lifesaver, much appreciated
Okay, not to be a nuisance, but something changed and now when I trigger the sequence, it doesn't correspond to the note selected, but just rather plays the lowest key available. I had changed literally nothing in the patcher for this to happen, and it even happens when I copy your patch into its own project. I've spent the last 45 minutes trying to work it out. Any ideas?
I should note that it was working perfectly, and this problem began while I was re-arranging boxes in presentation mode.
for a "classic" arpeggio you dont really need metro; the pipe object will be easier and more flexible.
I've gotten the hang of using the metro object for this function now so I'm probably going to stick with it, unless the pipe object will fix my issue with the sequence only playing the lowest notes?
The int object isn't getting any number to store.
Fixed the problem thanks for your help, unfortunately I have yet another problem
If you know how to fix this issue I would greatly appreciate it