Update of /cvsroot/pure-data/externals/nusmuk/msd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18131/msd
Modified Files: 01_msdtest.pd main.cpp Log Message:
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/nusmuk/msd/main.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** main.cpp 12 Apr 2005 18:09:20 -0000 1.1 --- main.cpp 15 Apr 2005 18:13:39 -0000 1.2 *************** *** 4,7 **** --- 4,8 ---- msd - mass spring damper model for Pure Data or Max/MSP
+ Copyright (C) 2005 Nicolas Montgermont Written by Nicolas Montgermont for a Master's train in Acoustic, Signal processing and Computing Applied to Music (ATIAM, Paris 6) *************** *** 16,44 **** Cyrille Henry, Cyrille.Henry@la-kitchen.fr
[...1013 lines suppressed...] + const t_symbol *msd::S_iLink = MakeSymbol("iLink"); + const t_symbol *msd::S_Mass_deleted = MakeSymbol("Mass deleted"); + const t_symbol *msd::S_Link_deleted = MakeSymbol("Link deleted"); + const t_symbol *msd::S_massesPos = MakeSymbol("massesPos"); + const t_symbol *msd::S_massesPosNo = MakeSymbol("massesPosNo"); + const t_symbol *msd::S_massesPosId = MakeSymbol("massesPosId"); + const t_symbol *msd::S_linksPos = MakeSymbol("linksPos"); + const t_symbol *msd::S_linksPosNo = MakeSymbol("linksPosNo"); + const t_symbol *msd::S_linksPosId = MakeSymbol("linksPosId"); + const t_symbol *msd::S_massesForces = MakeSymbol("massesForces"); + const t_symbol *msd::S_massesForcesNo = MakeSymbol("massesForcesNo"); + const t_symbol *msd::S_massesForcesId = MakeSymbol("massesForcesId"); + const t_symbol *msd::S_massesSpeeds = MakeSymbol("massesSpeeds"); + const t_symbol *msd::S_massesSpeedsNo = MakeSymbol("massesSpeedsNo"); + const t_symbol *msd::S_massesSpeedsId = MakeSymbol("massesSpeedsId"); + const t_symbol *msd::S_massesPosL = MakeSymbol("massesPosL"); + const t_symbol *msd::S_massesForcesL = MakeSymbol("massesForcesL"); + // instantiate the class (constructor has a variable argument list) FLEXT_NEW_V("msd",msd)
Index: 01_msdtest.pd =================================================================== RCS file: /cvsroot/pure-data/externals/nusmuk/msd/01_msdtest.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 01_msdtest.pd 12 Apr 2005 18:09:20 -0000 1.1 --- 01_msdtest.pd 15 Apr 2005 18:13:39 -0000 1.2 *************** *** 33,46 **** 0; #X obj 88 590 vsl 15 128 0 100 0 0 empty empty empty 0 -8 0 8 -261689 ! -1 -1 7759 1; #X obj 111 590 vsl 15 128 0 100 0 0 empty empty empty 0 -8 0 8 -261689 ! -1 -1 5259 1; #X obj 66 590 vsl 15 128 0 100 0 0 empty empty empty 0 -8 0 8 -261689 -1 -1 10160 1; #X msg 52 736 posX fix $1; #X obj 156 590 vsl 15 128 0 100 0 0 empty empty empty 0 -8 0 8 -261689 ! -1 -1 983 1; #X obj 134 590 vsl 15 128 0 100 0 0 empty empty empty 0 -8 0 8 -261689 ! -1 -1 2910 1; #X text 199 638 MOVE FIRST SLIDER; #X text 182 662 TO MOVE THE FIXED MASS; --- 33,46 ---- 0; #X obj 88 590 vsl 15 128 0 100 0 0 empty empty empty 0 -8 0 8 -261689 ! -1 -1 8218 1; #X obj 111 590 vsl 15 128 0 100 0 0 empty empty empty 0 -8 0 8 -261689 ! -1 -1 6270 1; #X obj 66 590 vsl 15 128 0 100 0 0 empty empty empty 0 -8 0 8 -261689 -1 -1 10160 1; #X msg 52 736 posX fix $1; #X obj 156 590 vsl 15 128 0 100 0 0 empty empty empty 0 -8 0 8 -261689 ! -1 -1 2445 1; #X obj 134 590 vsl 15 128 0 100 0 0 empty empty empty 0 -8 0 8 -261689 ! -1 -1 4345 1; #X text 199 638 MOVE FIRST SLIDER; #X text 182 662 TO MOVE THE FIXED MASS; *************** *** 51,62 **** #X obj 167 55 t b b b b b b; #X text 205 34 RESET; - #X obj 52 523 route massesPosL; #X msg 52 335 bang , massesPosL; #X obj 52 545 unpack f f f f f; #X connect 0 0 38 0; ! #X connect 2 0 40 0; #X connect 2 1 1 0; #X connect 3 0 6 0; ! #X connect 6 0 41 0; #X connect 9 0 2 0; #X connect 10 0 38 0; --- 51,62 ---- #X obj 167 55 t b b b b b b; #X text 205 34 RESET; #X msg 52 335 bang , massesPosL; #X obj 52 545 unpack f f f f f; + #X obj 52 523 route massesPosL; #X connect 0 0 38 0; ! #X connect 2 0 42 0; #X connect 2 1 1 0; #X connect 3 0 6 0; ! #X connect 6 0 40 0; #X connect 9 0 2 0; #X connect 10 0 38 0; *************** *** 85,94 **** #X connect 38 4 14 0; #X connect 38 5 11 0; ! #X connect 40 0 42 0; ! #X connect 40 1 1 0; ! #X connect 41 0 2 0; ! #X connect 42 0 28 0; ! #X connect 42 1 26 0; ! #X connect 42 2 27 0; ! #X connect 42 3 31 0; ! #X connect 42 4 30 0; --- 85,94 ---- #X connect 38 4 14 0; #X connect 38 5 11 0; ! #X connect 40 0 2 0; ! #X connect 41 0 28 0; ! #X connect 41 1 26 0; ! #X connect 41 2 27 0; ! #X connect 41 3 31 0; ! #X connect 41 4 30 0; ! #X connect 42 0 41 0; ! #X connect 42 1 1 0;