ddg.velamp for windows

Jun 7, 2005 at 6:13pm

ddg.velamp for windows

hi everyone,

new to list but been lurking forevvver…

i’m finally trying to get started and am working
through darwin grosse’s excellent synth tutorial.

http://www.creativesynth.com/MAXMSP/001-SynthBuildingMSP/sbm _02.html

he uses an object ddg.velamp that’s for mac, so i’ve
copied it for winxp but it’s not working…i keep
geting an error ‘doesn’t understand ‘if”

can anyone shed any light on what i’m doing wrong?
thanx,

bill thompson

here’s the text file of my copy:
max v2;
#N vpatcher 0 0 1280 948;
#P origin 505 0;
#P outlet 461 648 15 0;
#P window setfont “Sans Serif” 14.;
#P newex 461 572 166 9109518 rampsmooth~ 20 20;
#P newex 461 528 74 9109518 *~ 0.;
#P newex 447 474 75 9109518 / 128.;
#P message 447 438 112 9109518 if $i1 >0 then $i1;
#P message 553 254 54 9109518 0. $1;
#P newex 405 343 76 9109518 line~ 0.;
#P message 405 295 94 9109518 0. , 1. 1320;
#P message 405 256 97 9109518 set 0. \, 1. $1;
#P newex 553 209 66 9109518 * 20;
#P newex 405 207 27 9109518 * 20;
#P inlet 553 160 15 0;
#P inlet 405 165 15 0;
#P message 192 288 46 9109518 bang;
#P message 256 292 53 9109518 bang;
#P newex 192 243 74 9109518 route 0;
#P newex 192 192 27 9109518 > 0;
#P inlet 192 145 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P connect 2 0 4 0;
#P connect 2 1 3 0;
#P connect 5 0 7 0;
#P connect 7 0 9 0;
#P connect 9 0 10 0;
#P fasten 3 0 10 0 261 340 385 340 385 285 410 285;
#P fasten 12 0 11 0 558 326 410 326;
#P connect 10 0 11 0;
#P fasten 0 0 13 0 158 160 158 418 452 418;
#P connect 13 0 14 0;
#P fasten 11 0 15 0 410 510 466 510;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 14 0 15 1;
#P connect 6 0 8 0;
#P fasten 4 0 12 0 197 401 525 401 525 245 558 245;
#P connect 8 0 12 0;
#P pop;

the

http://www.billthompson.org

…………………………………………………… …………
“The more you think about things the weirder they seem.” -Calvin

__________________________________
Discover Yahoo!
Stay in touch with email, IM, photo sharing and more. Check it out!

http://discover.yahoo.com/stayintouch.html

#23893
Mar 11, 2008 at 2:40am

max v2;
#N vpatcher 230 57 1296 939;
#P origin 505 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 396 366 78 9109513 if $i1 >0 then $i1;
#N comlet Velocity Scaled Envelope Output;
#P outlet 320 580 15 0;
#P window setfont “Sans Serif” 14.;
#P newex 320 504 166 9109518 rampsmooth~ 20 20;
#P newex 320 460 74 9109518 *~ 0.;
#P newex 384 428 75 9109518 / 128.;
#P message 412 150 54 9109518 0. $1;
#P newex 264 239 76 9109518 line~ 0.;
#P message 264 191 94 9109518 0. , 1. 1320;
#P message 264 152 97 9109518 set 0. \, 1. $1;
#P newex 412 105 66 9109518 * 20;
#P newex 264 88 44 9109518 * 20;
#N comlet Release Time;
#P inlet 412 41 15 0;
#N comlet Attack Time;
#P inlet 264 41 15 0;
#P message 66 151 46 9109518 bang;
#P message 130 151 53 9109518 bang;
#P newex 66 119 74 9109518 route 0;
#P newex 66 88 27 9109518 > 0;
#N comlet Velocity IN;
#P inlet 51 41 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P connect 2 0 4 0;
#P connect 2 1 3 0;
#P connect 5 0 7 0;
#P connect 7 0 9 0;
#P fasten 3 0 10 0 135 236 244 236 244 181 269 181;
#P connect 9 0 10 0;
#P connect 10 0 11 0;
#P fasten 12 0 11 0 417 222 269 222;
#P fasten 11 0 14 0 269 452 325 452;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P connect 17 0 13 0;
#P connect 13 0 14 1;
#P fasten 0 0 17 0 62 360 401 360;
#P connect 6 0 8 0;
#P connect 8 0 12 0;
#P fasten 4 0 12 0 71 297 384 297 384 141 417 141;
#P pop;

the if statement was in the wrong type of box.

#68196

You must be logged in to reply to this topic.