Forums > MaxMSP

polyopticon


JAM
May 22, 2008 | 7:28 am

I am trying to create a patch where the number of midi notes on at any one time determines the number of splits (scissors) to a jitwindow. Each note will trigger its own video loop.

So, I need to know [how many notes are on] and [which ones], notify me when this changes with a new list that outputs [new notes and the deleted notes] to [turn on new loops and turn off the deleted ones] and [how many notes are on now].

I think I can manage the jit.scissors and glue part once the midi analysis is done, but I can’t figure out what midi and list objects to use to analyze the midi data.

Any ideas?
Anyone done anything similar?

jam


May 22, 2008 | 7:44 am

The Borax object does a lot of useful tracking on a MIDI note stream.

Here’s an example of a simple sequencer using Borax that may give you some ideas:

– Pasted Max Patch, click to expand. –

May 22, 2008 | 7:56 am

On 22 mai 08, at 09:28, Jonathan Mustard wrote:

> I think I can manage the jit.scissors and glue part once the midi
> analysis is done, but I can’t figure out what midi and list objects
> to use to analyze the midi data.

You just need to analyse the velocity of [notein] and count the one
that are > 0.
Note that noteon with a 0 velocity is considered as a noteoff in all
keybaords I know, although a real MIDI noteoff is a different code.

#P window setfont "Sans Serif" 9.;
#P number 94 240 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 116 171 23 196617 dec;
#P message 94 170 21 196617 inc;
#P newex 94 138 32 196617 sel 1;
#P user incdec 94 209 15 15 0 0;
#P newex 94 106 27 196617 > 0;
#P newex 79 78 40 196617 notein;
#P connect 2 0 6 0;
#P connect 5 0 2 0;
#P connect 3 1 5 0;
#P connect 4 0 2 0;
#P connect 3 0 4 0;
#P connect 1 0 3 0;
#P connect 0 1 1 0;
#P window clipboard copycount 7;

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://www.crfmw.be/max



JAM
May 22, 2008 | 8:14 am

Thanks – that will do the current number of notes on to send to scissors. just need to know which ones are on etc… maybe borax will help



JAM
May 22, 2008 | 10:02 am

thanks chris – borax v useful



JAM
May 24, 2008 | 3:15 am

Hi all,

is there an equivalent jitter object to MAX’s forward object?

I need to reassign "voice allocation" when "polyphony" is reduced.

the problem is when rows and cols in jit.glue decrease, an active incoming matrix at a higher inlet number than the number of rows or columns is not automatically reassigned to an inactive inlet within the row/column range.

It would be good if I can send the matrix to a variable destination like the forward object.
jam


May 24, 2008 | 3:30 am

Did you try, oh, I don’t know…"forward’?

bt

On May 23, 2008, at 8:15 PM, Jonathan Mustard wrote:

>
> Hi all,
>
> is there an equivalent jitter object to MAX’s forward object?
>
> I need to reassign "voice allocation" when "polyphony" is reduced.
>
> the problem is when rows and cols in jit.glue decrease, an active
> incoming matrix at a higher inlet number than the number of rows or
> columns is not automatically reassigned to an inactive inlet within
> the row/column range.
>
> It would be good if I can send the matrix to a variable destination
> like the forward object.
> jam



JAM
May 24, 2008 | 3:49 am

I thought ‘forward’ only took messages not matrices – oh man! I’ve been staring at it for hours trying to find a work around – argghhh!

thanks – yup it works, though the voice reassignment is shaping up to be trickier than I thought.

jam

Quote: barry threw wrote on Sat, 24 May 2008 11:30
—————————————————-
> Did you try, oh, I don’t know…"forward’?
>
> bt
>
> On May 23, 2008, at 8:15 PM, Jonathan Mustard wrote:
>
> >
> > Hi all,
> >
> > is there an equivalent jitter object to MAX’s forward object?
> >
> > I need to reassign "voice allocation" when "polyphony" is reduced.
> >
> > the problem is when rows and cols in jit.glue decrease, an active
> > incoming matrix at a higher inlet number than the number of rows or
> > columns is not automatically reassigned to an inactive inlet within
> > the row/column range.
> >
> > It would be good if I can send the matrix to a variable destination
> > like the forward object.
> > jam
>
>
—————————————————-


May 24, 2008 | 4:04 am

Everything is a message. Even you.

bt

On May 23, 2008, at 8:49 PM, Jonathan Mustard wrote:

>
> I thought ‘forward’ only took messages not matrices – oh man! I’ve
> been staring at it for hours trying to find a work around – argghhh!
>
> thanks – yup it works, though the voice reassignment is shaping up
> to be trickier than I thought.
>
> jam
>
> Quote: barry threw wrote on Sat, 24 May 2008 11:30
> —————————————————-
>> Did you try, oh, I don’t know…"forward’?
>>
>> bt
>>
>> On May 23, 2008, at 8:15 PM, Jonathan Mustard wrote:
>>
>>>
>>> Hi all,
>>>
>>> is there an equivalent jitter object to MAX’s forward object?
>>>
>>> I need to reassign "voice allocation" when "polyphony" is reduced.
>>>
>>> the problem is when rows and cols in jit.glue decrease, an active
>>> incoming matrix at a higher inlet number than the number of rows or
>>> columns is not automatically reassigned to an inactive inlet within
>>> the row/column range.
>>>
>>> It would be good if I can send the matrix to a variable destination
>>> like the forward object.
>>> jam
>>
>>
> —————————————————-
>
>



JAM
May 24, 2008 | 5:04 am

V deep ;)
jam



JAM
May 26, 2008 | 1:50 pm

the patch below should….
sorts list of voices (actually a matrix) into value order, then out of coll to be reordered by the ‘counter’ as voice 1 to 10 where any voice that has a value of 0 will be given an index greater than the number of active voices. ‘Gate’ distributes the new voice number to the new indices. The new voice numbers are then evaluated by the umenu as a message to prepend the forward object. This should send the voice (matrix) to the appropriate ‘receive’ object < << I think>>> problem is – it doesn’t – not sure where the mistake is as no matrix exits the outlet
problem is between prepend and receive objects I think
begin here….
{
"patcher" : {
"fileversion" : 1,
"rect" : [ 105.0, 85.0, 1310.0, 889.0 ],
"bglocked" : 0,
"defrect" : [ 105.0, 85.0, 1310.0, 889.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"metadata" : [ ],
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "new voice no",
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 376.0, 474.0, 87.0, 20.0 ],
"numoutlets" : 0,
"id" : "obj-70",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "voice no",
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 209.0, 474.0, 55.0, 20.0 ],
"numoutlets" : 0,
"id" : "obj-69",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "index",
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 276.0, 474.0, 45.0, 20.0 ],
"numoutlets" : 0,
"id" : "obj-66",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 266.0, 451.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-65",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "jam 10",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 508.0, 421.0, 47.0, 18.0 ],
"numoutlets" : 1,
"id" : "obj-64",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "jam 1",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 468.0, 421.0, 40.0, 18.0 ],
"numoutlets" : 1,
"id" : "obj-63",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "pak i i i i i i i i i i",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 10,
"patching_rect" : [ 225.0, 248.0, 864.5, 20.0 ],
"numoutlets" : 1,
"id" : "obj-62",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "next",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 120.0, 381.0, 33.0, 18.0 ],
"numoutlets" : 1,
"id" : "obj-60",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "outgoing matrix data re-routed",
"linecount" : 2,
"fontsize" : 20.0,
"numinlets" : 1,
"patching_rect" : [ 56.0, 765.0, 197.0, 52.0 ],
"numoutlets" : 0,
"id" : "obj-59",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "incoming matrix data",
"fontsize" : 20.0,
"numinlets" : 1,
"patching_rect" : [ 54.0, 643.0, 197.0, 29.0 ],
"numoutlets" : 0,
"id" : "obj-57",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "midi voice allocation numbers 1 to 10",
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 933.0, 85.0, 224.0, 20.0 ],
"numoutlets" : 0,
"id" : "obj-56",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "incoming midi note number or velocity off message",
"linecount" : 2,
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 90.0, 89.0, 157.0, 34.0 ],
"numoutlets" : 0,
"id" : "obj-55",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "sorts list of voices (actually a matrix) into value order, then out of coll to be reordered by the ‘counter’ as voice 1 to 10 where any voice that has a value of 0 will be given an index greater than the number of active voices. ‘Gate’ distributes the new voice number to the new indices. The new voice numbers are then evaluated by the umenu as a message to prepend the forward object. This should send the voice (matrix) to the appropriate ‘receive’ object < << I think>>> problem is – it doesn’t – not sure where the mistake is as no matrix exits the outlet",
"linecount" : 11,
"fontsize" : 14.0,
"numinlets" : 1,
"patching_rect" : [ 574.0, 289.0, 339.0, 184.0 ],
"numoutlets" : 0,
"id" : "obj-54",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "dump",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 178.0, 380.0, 41.0, 18.0 ],
"numoutlets" : 1,
"id" : "obj-21",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 178.0, 351.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-192"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 212.0, 451.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-189",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 276.0, 535.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-188",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 324.0, 474.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-187",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "counter 0 1 10",
"outlettype" : [ "int", "", "", "int" ],
"fontsize" : 12.0,
"numinlets" : 5,
"patching_rect" : [ 324.0, 451.0, 178.0, 20.0 ],
"numoutlets" : 4,
"id" : "obj-186",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "gate 10",
"outlettype" : [ "", "", "", "", "", "", "", "", "", "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 249.0, 502.0, 918.5, 20.0 ],
"numoutlets" : 10,
"id" : "obj-185",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "listfunnel 1",
"outlettype" : [ "list" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 225.0, 283.0, 68.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-183",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "del 3",
"outlettype" : [ "bang" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 297.0, 360.0, 37.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-180",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "del 2",
"outlettype" : [ "bang" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 178.0, 314.0, 37.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-179",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 249.0, 319.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-178"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "del 1",
"outlettype" : [ "bang" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 249.0, 358.0, 37.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-177",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "clear",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 297.0, 385.0, 37.0, 18.0 ],
"numoutlets" : 1,
"id" : "obj-175",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "sort 1",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 249.0, 385.0, 41.0, 18.0 ],
"numoutlets" : 1,
"id" : "obj-174",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "coll",
"outlettype" : [ "", "", "", "" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 249.0, 412.0, 200.5, 20.0 ],
"numoutlets" : 4,
"id" : "obj-173",
"fontname" : "Arial",
"save" : [ "#N", "coll", ";" ],
"saved_object_attributes" : {
"embed" : 0
}

}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 1071.0, 214.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-168",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0",
"outlettype" : [ "bang", "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 1065.0, 133.0, 55.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-169",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 1101.0, 161.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-170"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 1065.0, 161.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-171",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "10",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 1101.0, 186.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-172",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 974.0, 214.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-163",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0",
"outlettype" : [ "bang", "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 968.0, 133.0, 55.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-164",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 1004.0, 161.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-165"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 968.0, 161.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-166",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "9",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 1004.0, 186.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-167",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 877.0, 214.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-158",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0",
"outlettype" : [ "bang", "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 871.0, 133.0, 55.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-159",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 907.0, 161.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-160"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 871.0, 161.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-161",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "8",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 907.0, 186.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-162",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 784.0, 214.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-153",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0",
"outlettype" : [ "bang", "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 778.0, 133.0, 55.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-154",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 814.0, 161.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-155"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 778.0, 161.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-156",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "7",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 814.0, 186.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-157",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 691.0, 214.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-148",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0",
"outlettype" : [ "bang", "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 685.0, 133.0, 55.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-149",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 721.0, 161.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-150"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 685.0, 161.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-151",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "6",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 721.0, 186.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-152",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 599.0, 214.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-143",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0",
"outlettype" : [ "bang", "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 593.0, 133.0, 55.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-144",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 629.0, 161.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-145"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 593.0, 161.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-146",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "5",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 629.0, 186.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-147",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 506.0, 214.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-138",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0",
"outlettype" : [ "bang", "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 500.0, 133.0, 55.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-139",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 536.0, 161.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-140"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 500.0, 161.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-141",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "4",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 536.0, 186.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-142",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 412.0, 214.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-133",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0",
"outlettype" : [ "bang", "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 406.0, 133.0, 55.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-134",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 442.0, 161.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-135"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 406.0, 161.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-136",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "3",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 442.0, 186.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-137",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 318.0, 214.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-128",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0",
"outlettype" : [ "bang", "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 312.0, 133.0, 55.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-129",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 348.0, 161.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-130"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 312.0, 161.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-131",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "2",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 348.0, 186.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-132",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"outlettype" : [ "int", "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 225.0, 214.0, 50.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-124",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0",
"outlettype" : [ "bang", "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 219.0, 133.0, 55.0, 20.0 ],
"numoutlets" : 2,
"id" : "obj-119",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 255.0, 161.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-118"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 219.0, 161.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-113",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "1",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 2,
"patching_rect" : [ 255.0, 186.0, 32.5, 18.0 ],
"numoutlets" : 1,
"id" : "obj-112",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 1190.0, 616.0, 55.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-108",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "umenu",
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"fontsize" : 12.0,
"items" : [ "movie0", ",", "movie1", ",", "movie2", ",", "movie3", ",", "movie4", ",", "movie5", ",", "movie6", ",", "movie7", ",", "movie8", ",", "movie9", ",", "movie10" ],
"numinlets" : 1,
"patching_rect" : [ 1149.0, 584.0, 100.0, 20.0 ],
"numoutlets" : 3,
"id" : "obj-109",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 1090.0, 616.0, 55.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-106",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "umenu",
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"fontsize" : 12.0,
"items" : [ "movie0", ",", "movie1", ",", "movie2", ",", "movie3", ",", "movie4", ",", "movie5", ",", "movie6", ",", "movie7", ",", "movie8", ",", "movie9", ",", "movie10" ],
"numinlets" : 1,
"patching_rect" : [ 1049.0, 584.0, 100.0, 20.0 ],
"numoutlets" : 3,
"id" : "obj-107",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 990.0, 616.0, 55.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-104",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "umenu",
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"fontsize" : 12.0,
"items" : [ "movie0", ",", "movie1", ",", "movie2", ",", "movie3", ",", "movie4", ",", "movie5", ",", "movie6", ",", "movie7", ",", "movie8", ",", "movie9", ",", "movie10" ],
"numinlets" : 1,
"patching_rect" : [ 949.0, 584.0, 100.0, 20.0 ],
"numoutlets" : 3,
"id" : "obj-105",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 890.0, 616.0, 55.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-102",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "umenu",
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"fontsize" : 12.0,
"items" : [ "movie0", ",", "movie1", ",", "movie2", ",", "movie3", ",", "movie4", ",", "movie5", ",", "movie6", ",", "movie7", ",", "movie8", ",", "movie9", ",", "movie10" ],
"numinlets" : 1,
"patching_rect" : [ 849.0, 584.0, 100.0, 20.0 ],
"numoutlets" : 3,
"id" : "obj-103",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 790.0, 616.0, 55.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-99",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "umenu",
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"fontsize" : 12.0,
"items" : [ "movie0", ",", "movie1", ",", "movie2", ",", "movie3", ",", "movie4", ",", "movie5", ",", "movie6", ",", "movie7", ",", "movie8", ",", "movie9", ",", "movie10" ],
"numinlets" : 1,
"patching_rect" : [ 749.0, 584.0, 100.0, 20.0 ],
"numoutlets" : 3,
"id" : "obj-101",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 690.0, 616.0, 55.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-97",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "umenu",
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"fontsize" : 12.0,
"items" : [ "movie0", ",", "movie1", ",", "movie2", ",", "movie3", ",", "movie4", ",", "movie5", ",", "movie6", ",", "movie7", ",", "movie8", ",", "movie9", ",", "movie10" ],
"numinlets" : 1,
"patching_rect" : [ 649.0, 584.0, 100.0, 20.0 ],
"numoutlets" : 3,
"id" : "obj-98",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 590.0, 616.0, 55.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-95",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "umenu",
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"fontsize" : 12.0,
"items" : [ "movie0", ",", "movie1", ",", "movie2", ",", "movie3", ",", "movie4", ",", "movie5", ",", "movie6", ",", "movie7", ",", "movie8", ",", "movie9", ",", "movie10" ],
"numinlets" : 1,
"patching_rect" : [ 549.0, 584.0, 100.0, 20.0 ],
"numoutlets" : 3,
"id" : "obj-96",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 490.0, 616.0, 55.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-93",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "umenu",
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"fontsize" : 12.0,
"items" : [ "movie0", ",", "movie1", ",", "movie2", ",", "movie3", ",", "movie4", ",", "movie5", ",", "movie6", ",", "movie7", ",", "movie8", ",", "movie9", ",", "movie10" ],
"numinlets" : 1,
"patching_rect" : [ 449.0, 584.0, 100.0, 20.0 ],
"numoutlets" : 3,
"id" : "obj-94",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 390.0, 616.0, 55.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-91",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "umenu",
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"fontsize" : 12.0,
"items" : [ "movie0", ",", "movie1", ",", "movie2", ",", "movie3", ",", "movie4", ",", "movie5", ",", "movie6", ",", "movie7", ",", "movie8", ",", "movie9", ",", "movie10" ],
"numinlets" : 1,
"patching_rect" : [ 349.0, 584.0, 100.0, 20.0 ],
"numoutlets" : 3,
"id" : "obj-92",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "reassign all active matrices to the no. of noteson (n) in sequence from 1 to n.",
"fontsize" : 20.0,
"numinlets" : 1,
"patching_rect" : [ 216.0, 49.0, 706.0, 29.0 ],
"numoutlets" : 0,
"id" : "obj-77",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"outlettype" : [ "bang" ],
"numinlets" : 1,
"patching_rect" : [ 54.0, 485.0, 20.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-74"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "t 1 2 3 4 5 6 7 8 9 10",
"outlettype" : [ "int", "int", "int", "int", "int", "int", "int", "int", "int", "int" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 54.0, 538.0, 193.5, 20.0 ],
"numoutlets" : 10,
"id" : "obj-68",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadbang",
"outlettype" : [ "bang" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 54.0, 511.0, 60.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-67",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "prepend",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 290.0, 616.0, 55.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-61",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "umenu",
"types" : [ ],
"outlettype" : [ "int", "", "" ],
"fontsize" : 12.0,
"items" : [ "movie0", ",", "movie1", ",", "movie2", ",", "movie3", ",", "movie4", ",", "movie5", ",", "movie6", ",", "movie7", ",", "movie8", ",", "movie9", ",", "movie10" ],
"numinlets" : 1,
"patching_rect" : [ 249.0, 584.0, 100.0, 20.0 ],
"numoutlets" : 3,
"id" : "obj-58",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r reassign1",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 0,
"patching_rect" : [ 219.0, 105.0, 70.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-53",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r reassign2",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 0,
"patching_rect" : [ 312.0, 105.0, 70.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-52",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r reassign3",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 0,
"patching_rect" : [ 406.0, 105.0, 70.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-51",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r reassign4",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 0,
"patching_rect" : [ 500.0, 105.0, 70.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-50",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r reassign5",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 0,
"patching_rect" : [ 593.0, 105.0, 70.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-49",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r reassign6",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 0,
"patching_rect" : [ 685.0, 105.0, 70.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-48",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r reassign7",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 0,
"patching_rect" : [ 778.0, 105.0, 70.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-47",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r reassign8",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 0,
"patching_rect" : [ 871.0, 105.0, 70.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-46",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r reassign9",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 0,
"patching_rect" : [ 968.0, 105.0, 70.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-45",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r reassign10",
"outlettype" : [ "" ],
"fontsize" : 12.0,
"numinlets" : 0,
"patching_rect" : [ 1065.0, 105.0, 77.0, 20.0 ],
"numoutlets" : 1,
"id" : "obj-100",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "forward",
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 1106.0, 684.0, 51.0, 20.0 ],
"numoutlets" : 0,
"id" : "obj-44",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "forward",
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 1012.0, 684.0, 51.0, 20.0 ],
"numoutlets" : 0,
"id" : "obj-43",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "forward",
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 918.0, 684.0, 51.0, 20.0 ],
"numoutlets" : 0,
"id" : "obj-42",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "forward",
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 824.0, 684.0, 51.0, 20.0 ],
"numoutlets" : 0,
"id" : "obj-41",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "forward",
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 730.0, 684.0, 51.0, 20.0 ],
"numoutlets" : 0,
"id" : "obj-40",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "forward",
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 636.0, 684.0, 51.0, 20.0 ],
"numoutlets" : 0,
"id" : "obj-39",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "forward",
"fontsize" : 12.0,
"numinlets" : 1,
"patching_rect" : [ 542.0, 684.0, 51.0, 20.0 ],
&



JAM
May 27, 2008 | 6:19 am

problem solved just in case anyone was trying to nut this one out.

forgot to send ‘send’ to prepend.

However, if anyone has a more elegant way of doing this, I would appreciate the help. The patch is pretty slow – ok for slow polyphonic VJing.


Viewing 12 posts - 1 through 12 (of 12 total)