pythagore : vibrate string showned in Max

Mar 7, 2008 at 6:48pm

pythagore : vibrate string showned in Max

Hi,
I’m searching a way to explain pythagore in Max.
I would like to manipulate a GUI for the vibrate string and wonder which one could do the trick. I don’t know java, but I think a simple kind of fader or something could show the ratios and the musical intervals for the vibrate string.
Any idea ?

max v2;
#N vpatcher 1348 149 2308 819;
#P origin 19 -3;
#P user nslider 675 174 75 198 0 1 0 0;
#P window setfont “Sans Serif” 18.;
#P window linecount 1;
#P comment 245 100 186 196626 ? ratios;
#P button 224 244 15 0;
#P window setfont “Sans Serif” 9.;
#P newex 245 182 63 196617 prepend list;
#N coll ;
#T flags 1 0;
#T 0 1 1;
#T 1 6 5;
#T 2 5 4;
#T 3 4 3;
#T 4 3 2;
#T 5 2 1;
#P newobj 245 162 53 196617 coll;
#P window setfont “Sans Serif” 18.;
#P user ubumenu 245 130 62 196626 0 1 1 0;
#X add 1;
#X add 6/5;
#X add 5/4;
#X add 4/3;
#X add 3/2;
#X add 2;
#X prefix_set 0 0 0;
#P window setfont “Sans Serif” 9.;
#P newex 217 288 109 196617 expr $f1 * ($f2/$f3);
#B color 5;
#P message 225 479 29 196617 stop;
#P message 157 479 67 196617 startwindow;
#P newex 210 502 33 196617 s dac;
#B color 5;
#P comment 226 439 54 196617 intervalle;
#P comment 165 439 32 196617 fond.;
#P newex 217 268 38 196617 zl join;
#P user gain~ 154 386 47 29 158 0 1.071519 7.94321 10.;
#P newex 154 454 53 196617 send~ out;
#B color 5;
#P newex 154 365 40 196617 cycle~;
#P user gain~ 217 386 47 29 158 0 1.071519 7.94321 10.;
#P newex 217 454 53 196617 send~ out;
#B color 5;
#P newex 217 365 40 196617 cycle~;
#P window setfont “Sans Serif” 18.;
#P flonum 217 319 74 18 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont “Sans Serif” 14.;
#P flonum 79 161 53 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 496 287 40 14 0 0 4096 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont “Sans Serif” 9.;
#P message 659 133 33 196617 clear;
#P newex 496 267 31 196617 ftom;
#P user kslider 496 317 54 0 48 24 31 12 1 129 13 201 129 13 201 255 255 255 0 0 0 0 0 0;
#P window setfont “Sans Serif” 18.;
#P comment 79 135 127 196626 ? fond. en Hz;
#P connect 5 0 10 0;
#P connect 10 0 12 0;
#P connect 12 0 11 0;
#P fasten 18 0 16 0 230 498 215 498;
#P fasten 17 0 16 0 162 498 215 498;
#P connect 23 0 13 0;
#P connect 5 0 13 0;
#P connect 13 0 19 0;
#P connect 19 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 9 0;
#P connect 12 1 9 0;
#P connect 9 0 8 0;
#P connect 22 0 23 0;
#P connect 20 0 21 0;
#P connect 21 0 22 0;
#P connect 22 0 13 1;
#P fasten 6 0 2 0 222 353 486 353 486 264 501 264;
#P connect 2 0 4 0;
#P fasten 3 0 1 0 664 312 501 312;
#P connect 4 0 1 0;
#P fasten 3 0 25 0 664 160 680 160;
#P fasten 4 0 25 0 501 312 664 312 664 160 680 160;
#P pop;

#36251
Mar 7, 2008 at 8:31pm

Quote: Kyred wrote on Fri, 07 March 2008 10:48
—————————————————-
> Hi,
> I’m searching a way to explain pythagore in Max.
> I would like to manipulate a GUI for the vibrate string and wonder which one could do the trick. I don’t know java, but I think a simple kind of fader or something could show the ratios and the musical intervals for the vibrate string.
> Any idea ?

—————————————————-

I made something like this here:

http://cnmat.berkeley.edu/patch/3023

mz

#124282

You must be logged in to reply to this topic.