adding arpeggiator for a patch?

R_Gol's icon

I have the following patch that can play a scale base on the location of the mouse/user hand.

Max Patch
Copy patch and select New From Clipboard in Max.

How can I add an arpeggitor (without using noteout) that will play whenever this toggle is on:

so when this toggle is on an arrpegiator will play based on the note that is currently playing by the user. the arrpegiator degree can be selected manually. default is root minor third, fifth, and octave

Source Audio's icon

it is very simple, there is no need to look at your patch.

you could for example use metro and counter

that progress through your notes.

all you need is to set speed and steps.

maybe reset counter when toggle gets off, or not ?

R_Gol's icon

lets assume the scale I have is a major scale with the notes:

0 2 4 5 7 9 11 12.

Root note is C 60

I want that:

if the player is at 0(C 60) note and toggle is on then arrpegio plays:

0 4 7 12 0 4 7 12 etc as long toggle is on

if the player is at 2(D 62) note and toggle is on then arrpegio plays:

2 5 9 13 2 5 9 13

if the player is at 4 (E 64) note and toggle is on then arrpegio plays:

4 7 11 16 4 7 11 16

etc

The above sound more complicated for me. Also if I want to running of the arrpegio between 16n to 8n to 16nt notes etc?

Source Audio's icon

for note values for metro interval, like 8n 1nd etc use them - simply as that.

fill coll with lists of your intervals

and recall them based on index - which is input note.

example :

0, 0 4 7 12;

2, 2 5 9 13;

etc

run note input through % 12 to forget about octaves.

R_Gol's icon

something like this?

that looks very ugly but seems to work :)

Max Patch
Copy patch and select New From Clipboard in Max.

Source Audio's icon

sorry, that patch has too many things inside

I have no time to look at that

post only things which you have a question about

Source Audio's icon
R_Gol's icon

Here is my current patch:

Max Patch
Copy patch and select New From Clipboard in Max.

When distance between two users are within frame it will play an arpegiator based on the not the is currently playing.

How can I add this: When users are not inside range (distance is bigger then 50) then only root note of the scale is playing by user 1 and the octave above is playing by user 2 (only if touch screen)