Forums > MaxMSP

using multislider to generate 512 values

April 1, 2008 | 12:01 am

Hi,

I’m trying to use multislider to generate 512 values to then feed to some kind of MSP object which will turn it into a 512-sample waveform. Can cycle~ be programmed this way? If not, which is the best object to achieve this?

Thanks for your loving attention,
Jay


April 1, 2008 | 12:29 am

- Copy multislider into a buffer (listfunnel, peek~)
- Drive wave~ (your buffer) with phasor~

#P window setfont "Sans Serif" 9.;
#P number 279 34 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 279 59 67 196617 phasor~ 500;
#P newex 279 86 76 196617 wave~ BUFFER;
#P user ezdac~ 279 120 323 153 0;
#P newex 22 160 72 196617 peek~ BUFFER;
#P user multiSlider 22 37 212 89 -1. 1. 512 2681 15 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P newex 22 134 52 196617 listfunnel;
#P newex 126 166 95 196617 buffer~ BUFFER 13;
#P connect 7 0 6 0;
#P connect 6 0 5 0;
#P connect 5 0 4 0;
#P connect 1 0 3 0;
#P connect 2 0 1 0;
#P window clipboard copycount 8;


April 1, 2008 | 12:35 am

exactly what i was looking for. thanks~


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