Forums > MaxMSP

poly~phonic output

March 7, 2008 | 8:53 pm

Hi,

How do you get independant outputs out of poly~ (or another
object/javascript/something else)?

I grasp how to access the individual inputs of the poly~s I have
created using ‘target $1′

How do I access the individual outputs? Or is this possible?

I would like to have my ‘poly~’ (or what-have-you) create as many
outputs as poly~s.

I think javascript can do this… in fact I know javascript can do this.

If anyone can push me in the right direction that would be great.

—the patch below is the ‘poly~’ I would like to create. You need a
hanning curve for it to work and I will have to add a bit of midi note
routing but you shouldn’t need those things to get the idea.—

Cheers,

Carey

#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P comment 189 32 34 196617 audio input;
#P toggle 111 144 15 0;
#P flonum 40 89 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 254 189 32 196617 sel 1;
#P newex 184 142 63 196617 prepend set;
#N comlet connect to endOFsequence (bang);
#P inlet 254 37 15 0;
#P button 127 205 15 0;
#P button 111 205 15 0;
#P message 188 260 50 196617 424.;
#N comlet set midi note to control fade;
#P inlet 128 37 15 0;
#P message 128 60 39 196617 set $1;
#P newex 110 87 49 196617 route 60;
#N comlet pitch and velocity as list;
#P inlet 110 37 15 0;
#P newex 111 171 42 196617 sel 1 0;
#P newex 110 124 27 196617 != 0;
#P newex 203 325 48 196617 loadbang;
#P window linecount 2;
#P message 203 350 99 196617 read hanning512.aif 0 11.6099;
#P window linecount 1;
#P newex 203 385 66 196617 buffer~ fade;
#N comlet fade time (ms);
#P inlet 17 37 15 0;
#P message 188 282 77 196617 5.80495 , 0 $1;
#P newex 127 321 44 196617 line~ 1.;
#P message 17 282 77 196617 0 , 5.80495 $1;
#P newex 127 341 57 196617 play~ fade;
#P newex 110 363 27 196617 *~;
#N comlet audio output (signal);
#P outlet 110 401 15 0;
#P newex 17 115 62 196617 prepend set;
#P message 17 262 50 196617 424.;
#N comlet audio input (signal);
#P inlet 173 37 15 0;
#P message 254 167 50 196617 0;
#P window linecount 3;
#P comment 211 98 100 196617 fades out speaker if still on at end of
saved sequence;
#P window linecount 1;
#P comment 119 106 51 196617 middle C;
#P comment 32 72 56 196617 fade time;
#P window linecount 2;
#P comment 67 394 41 196617 audio output;
#P connect 14 0 7 0;
#P connect 30 0 7 0;
#P connect 7 0 6 0;
#P connect 19 0 6 0;
#P connect 6 0 11 0;
#P connect 20 0 21 0;
#P connect 22 0 21 0;
#P connect 21 0 18 0;
#P fasten 5 0 9 0 178 273 115 273;
#P connect 9 0 8 0;
#P connect 18 0 31 0;
#P connect 31 0 19 0;
#P connect 19 0 25 0;
#P connect 19 1 26 0;
#P connect 13 0 12 0;
#P connect 11 0 12 0;
#P connect 12 0 10 0;
#P connect 10 0 9 1;
#P connect 23 0 22 0;
#P connect 18 0 28 0;
#P fasten 7 0 24 0 22 183 93 241 193 241;
#P connect 19 1 24 0;
#P connect 29 0 24 0;
#P connect 24 0 13 0;
#P connect 17 0 16 0;
#P connect 16 0 15 0;
#P connect 28 0 4 0;
#P connect 27 0 4 0;
#P connect 4 0 29 0;
#P window clipboard copycount 33;


December 2, 2008 | 7:18 pm

Hello there, i might be a bit late, but i’d be interested if you found a solution, as i am researching the exact same thing, momentarily with a thread in the javascript forums, which is here:

http://www.cycling74.com/forums/index.php?t=msg&th=36932

In any case, i’d love to be updated on your further development.

Thank you very much!

jrp


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