From 20d0aa013eb0f0e3f2b015a4453304ef9abb81ad Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 11 Aug 2005 15:01:42 +0000 Subject: merge in branch "20041229-unify" Mac adaptations some safety for settings cross-fading loop zone now functional update for new flext callback naming more loop zone optimizations enhanced PD help files simplified and bug-fixed crossfade-zone sampling rename help file fix: loopmodes 0 and 2 now setting loopzone parameters 64 bit fixes minor updates *** empty log message *** more fixes fix for OSX 10.4.1 (thanks to Jamie) renamed help files more fixes and cleanups for fade-zones svn path=/trunk/; revision=3418 --- externals/grill/xsample/pd/help-xgroove~.pd | 250 ---------------------------- externals/grill/xsample/pd/help-xplay~.pd | 123 -------------- externals/grill/xsample/pd/help-xrecord~.pd | 168 ------------------- externals/grill/xsample/pd/xgroove~-help.pd | 250 ++++++++++++++++++++++++++++ externals/grill/xsample/pd/xplay~-help.pd | 123 ++++++++++++++ externals/grill/xsample/pd/xrecord~-help.pd | 168 +++++++++++++++++++ externals/grill/xsample/source/groove.cpp | 3 + externals/grill/xsample/source/main.cpp | 2 +- externals/grill/xsample/source/main.h | 2 +- 9 files changed, 546 insertions(+), 543 deletions(-) delete mode 100644 externals/grill/xsample/pd/help-xgroove~.pd delete mode 100644 externals/grill/xsample/pd/help-xplay~.pd delete mode 100644 externals/grill/xsample/pd/help-xrecord~.pd create mode 100644 externals/grill/xsample/pd/xgroove~-help.pd create mode 100644 externals/grill/xsample/pd/xplay~-help.pd create mode 100644 externals/grill/xsample/pd/xrecord~-help.pd diff --git a/externals/grill/xsample/pd/help-xgroove~.pd b/externals/grill/xsample/pd/help-xgroove~.pd deleted file mode 100644 index 03906625..00000000 --- a/externals/grill/xsample/pd/help-xgroove~.pd +++ /dev/null @@ -1,250 +0,0 @@ -#N canvas 69 62 945 610 12; -#X obj 215 253 hsl 128 15 0.001 3 1 1 empty empty speed 0 -8 0 10 -225271 --1 -1 5000 1; -#X msg 603 169 loop \$1; -#X obj 28 72 bng 15 250 50 0 empty empty empty 20 8 0 8 -258699 -1 --1; -#X msg 27 92 stop; -#N canvas 0 0 450 300 graph7 0; -#X array \$0-buf 10000 float 0; -#X coords 0 1 9999 -1 300 150 1; -#X restore 573 269 graph; -#X obj 17 556 dac~; -#X msg 120 73 reset; -#X text 299 321 min/max points; -#X text 50 69 start; -#X text 67 90 stop; -#X msg 119 99 help; -#X text 280 269 (float or signal); -#X msg 749 167 interp \$1; -#X msg 237 305 all; -#X text 747 94 interpolation; -#X text 622 116 once; -#X text 768 116 none; -#X text 768 148 linear; -#X text 224 75 units; -#X msg 225 163 units \$1; -#X msg 358 163 sclmode \$1; -#X text 244 127 ms; -#X text 244 142 s; -#X text 377 127 buffer; -#X text 377 142 loop; -#X obj 487 208 bng 15 250 50 0 empty empty empty 0 -6 0 8 -228992 -1 --1; -#X obj 335 349 print A; -#N canvas 0 0 450 300 graph2 0; -#X array \$0-scp 300 float 0; -#X coords 0 1 299 -1 300 100 1; -#X restore 573 447 graph; -#X obj 26 525 *~; -#X obj 82 491 hsl 128 15 0.0001 1 1 0 empty empty volume -2 -6 0 8 --261689 -1 -1 0 1; -#X obj 79 509 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 -10 -261689 -1 -1 0.0001 256; -#X msg 25 249 pos \$1; -#X msg 63 220 200; -#X msg 25 221 100; -#X obj 507 209 nbx 5 14 0 1e+037 0 1 empty empty frq 0 -6 0 10 -228992 --1 -1 220 256; -#N canvas 19 334 427 333 loopzone 0; -#X msg 28 84 xzone \$1; -#X obj 31 43 hsl 128 15 0 300 0 0 empty empty empty -2 -6 0 8 -262131 --1 -1 0 1; -#X floatatom 28 64 5 0 0 0 - - -; -#X msg 203 207 xfade \$1; -#X obj 203 142 vdl 15 0 0 4 empty empty empty 0 -6 0 8 -262144 -1 -1 -0; -#X text 202 123 loop zone mode; -#X text 222 141 keep loop pos; -#X text 222 157 keep loop length; -#X text 222 173 keep fade length; -#X msg 47 205 xshape \$1; -#X obj 48 155 vdl 15 0 0 3 empty empty empty 0 -6 0 8 -262144 -1 -1 -0; -#X text 45 133 fade zone shape; -#X text 67 152 linear; -#X text 67 168 quarter sine; -#X text 67 184 half sine; -#X text 125 67 length of the loop zone; -#X text 123 84 (in units); -#X text 222 188 zone inside loop; -#X text 21 9 xgroove~ crossfading loop zone; -#X obj 27 255 s to-g; -#X connect 0 0 19 0; -#X connect 1 0 2 0; -#X connect 2 0 0 0; -#X connect 3 0 19 0; -#X connect 4 0 3 0; -#X connect 9 0 19 0; -#X connect 10 0 9 0; -#X restore 23 414 pd loopzone; -#X text 64 147 set buffer; -#X text 23 383 settings for; -#X text 22 395 cross-fading loop zone; -#X text 399 349 print attributes; -#X obj 357 394 bng 15 250 50 0 empty empty loop_bang 0 -6 0 8 -262131 --1 -1; -#X text 357 60 scale mode; -#X text 354 75 (pos message and position outlet); -#X text 622 148 bidirectional; -#X text 244 111 buffer size; -#X obj 574 419 hsl 300 15 0 10000 0 0 empty bufpos empty -2 -6 0 8 --262144 -1 -1 10628 1; -#X obj 236 527 nbx 5 14 -1e+037 1e+037 0 0 empty empty position 0 -6 -0 10 -228992 -1 -1 3554.44 256; -#N canvas 0 0 474 324 watch 0; -#X obj 163 18 loadbang; -#X obj 88 80 snapshot~; -#X obj 164 44 metro 50; -#X obj 143 109 s bufpos; -#X obj 176 196 outlet; -#X obj 22 14 inlet~; -#X obj 88 14 inlet~; -#X obj 22 196 tabwrite~ \$0-scp; -#X connect 0 0 2 0; -#X connect 1 0 3 0; -#X connect 1 0 4 0; -#X connect 1 0 7 0; -#X connect 2 0 1 0; -#X connect 2 0 7 0; -#X connect 5 0 7 0; -#X connect 6 0 1 0; -#X restore 235 492 pd watch; -#X text 377 111 units in loop; -#N canvas 97 34 266 202 genosc 0; -#X obj 38 29 inlet; -#X obj 64 94 osc~ 1000; -#X obj 38 54 route bang; -#X obj 37 134 tabwrite~ \$0-buf; -#X obj 158 94 loadbang; -#X connect 0 0 2 0; -#X connect 1 0 3 0; -#X connect 2 0 3 0; -#X connect 2 1 1 0; -#X connect 4 0 3 0; -#X restore 487 229 pd genosc; -#X text 600 97 loop mode; -#X text 23 201 set position; -#X obj 299 426 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -262131 --1 -1 1004 256; -#X obj 356 426 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -262131 --1 -1 8996 256; -#X obj 298 309 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -225271 --1 -1 1004 256; -#X obj 355 309 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -225271 --1 -1 8996 256; -#X text 244 95 frames (def.); -#X text 377 96 units in buffer (def.); -#X text 622 132 forward (def.); -#X text 768 132 4-point (def.); -#N canvas 12 194 490 407 attributes 0; -#X msg 82 74 getattributes; -#X msg 138 133 getmax; -#X msg 81 133 getmin; -#X text 198 75 dump all attributes; -#X text 200 135 get min/max positions; -#X msg 82 105 getbuffer; -#X msg 80 162 getpos; -#X text 140 162 get current position; -#X text 167 105 get buffer name; -#X msg 79 251 getloop; -#X msg 79 276 getinterp; -#X text 147 251 get loop mode; -#X text 160 276 get interpolation mode; -#X msg 79 197 getunits; -#X text 152 197 get unit setting; -#X msg 79 222 getsclmode; -#X text 170 222 get scale mode; -#X msg 79 315 getxfade; -#X msg 78 365 getxshape; -#X text 157 315 get crossfade mode; -#X msg 79 340 getxzone; -#X text 154 340 get crossfade length; -#X text 156 367 get crossfade shape; -#X text 19 12 xgroove~ attributes; -#X obj 19 195 s to-g; -#X msg 82 49 getmethods; -#X text 174 49 dump all methods; -#X connect 0 0 24 0; -#X connect 1 0 24 0; -#X connect 2 0 24 0; -#X connect 5 0 24 0; -#X connect 6 0 24 0; -#X connect 9 0 24 0; -#X connect 10 0 24 0; -#X connect 13 0 24 0; -#X connect 15 0 24 0; -#X connect 17 0 24 0; -#X connect 18 0 24 0; -#X connect 20 0 24 0; -#X connect 25 0 24 0; -#X restore 24 343 pd attributes; -#X text 23 324 attribute stuff; -#X text 484 177 generate; -#X obj 26 10 cnv 15 850 40 empty empty xgroove~ 10 22 0 24 -260818 --1 0; -#X msg 105 221 1000; -#X msg 96 249 posmod \$1; -#X text 146 227 modulo; -#X text 301 439 min/max points; -#X text 299 454 (sample rounded); -#X obj 603 120 vradio 15 1 0 3 empty empty empty 0 -6 0 8 -225271 -1 --1 0; -#X obj 749 119 vradio 15 1 0 3 empty empty empty 0 -6 0 8 -225271 -1 --1 0; -#X obj 225 99 vradio 15 1 0 4 empty empty empty 0 -6 0 8 -225271 -1 --1 0; -#X obj 358 99 vradio 15 1 0 4 empty empty empty 0 -6 0 8 -225271 -1 --1 0; -#X obj 65 164 s to-g; -#X obj 298 197 s to-g; -#X obj 61 278 s to-g; -#X obj 180 304 r to-g; -#X obj 704 201 s to-g; -#X obj 191 349 xgroove~ \$0-buf; -#X text 227 29 http://grrrr.org/ext; -#X obj 79 550 line~; -#X msg 79 527 \$1 50; -#X obj 212 271 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 -10 -225271 -1 -1 0.0233854 256; -#X text 227 10 varispeed sample player \, (C)2001-2005 Thomas Grill -; -#X connect 0 0 82 0; -#X connect 1 0 77 0; -#X connect 2 0 73 0; -#X connect 3 0 73 0; -#X connect 6 0 73 0; -#X connect 10 0 73 0; -#X connect 12 0 77 0; -#X connect 13 0 78 0; -#X connect 19 0 74 0; -#X connect 20 0 74 0; -#X connect 25 0 49 0; -#X connect 28 0 5 0; -#X connect 28 0 5 1; -#X connect 29 0 30 0; -#X connect 30 0 81 0; -#X connect 31 0 75 0; -#X connect 32 0 31 0; -#X connect 33 0 31 0; -#X connect 34 0 49 0; -#X connect 47 0 46 0; -#X connect 54 0 78 1; -#X connect 55 0 78 2; -#X connect 64 0 65 0; -#X connect 65 0 75 0; -#X connect 69 0 1 0; -#X connect 70 0 12 0; -#X connect 71 0 19 0; -#X connect 72 0 20 0; -#X connect 76 0 78 0; -#X connect 78 0 28 0; -#X connect 78 0 47 0; -#X connect 78 1 47 1; -#X connect 78 2 52 0; -#X connect 78 3 53 0; -#X connect 78 4 40 0; -#X connect 78 5 26 0; -#X connect 80 0 28 1; -#X connect 81 0 80 0; -#X connect 82 0 78 0; diff --git a/externals/grill/xsample/pd/help-xplay~.pd b/externals/grill/xsample/pd/help-xplay~.pd deleted file mode 100644 index a079a361..00000000 --- a/externals/grill/xsample/pd/help-xplay~.pd +++ /dev/null @@ -1,123 +0,0 @@ -#N canvas 165 149 716 444 12; -#X obj 21 75 bng 15 250 50 0 empty empty empty 20 8 0 8 -258699 -1 --1; -#X msg 21 95 stop; -#X msg 107 99 reset; -#X text 43 72 start; -#X text 60 93 stop; -#X obj 159 217 *~ 300; -#X text 161 239 position signal; -#X msg 107 75 help; -#N canvas 0 0 450 300 graph7 0; -#X array \$0-buf 300 float 1; -#A 0 -0.445589 -0.568192 -0.679282 -0.776596 -0.858191 -0.922374 -0.967874 --0.99377 -0.999505 -0.985009 -0.950534 -0.896801 -0.824907 -0.736274 --0.632737 -0.516371 -0.38954 -0.254823 -0.114932 0.0272834 0.168947 -0.307184 0.439204 0.562312 0.674031 0.772096 0.854499 0.919606 0.966059 -0.992941 0.999714 0.986201 0.952726 0.899931 0.8289 0.741087 0.638231 -0.522457 0.396092 0.261698 0.122005 -0.0201642 -0.161923 -0.300402 --0.432789 -0.556415 -0.668753 -0.767544 -0.85079 -0.916775 -0.964202 --0.992074 -0.999845 -0.987371 -0.954858 -0.903018 -0.832869 -0.74584 --0.643712 -0.528517 -0.402624 -0.268571 -0.129073 0.013039 0.154887 -0.293596 0.426359 0.550472 0.663443 0.762958 0.847014 0.913919 0.962278 -0.991158 0.999942 0.988459 0.956966 0.906048 0.836789 0.75057 0.649134 -0.534557 0.409131 0.275422 0.136132 -0.00591801 -0.147849 -0.286781 --0.419902 -0.544521 -0.658091 -0.758339 -0.84321 -0.910993 -0.960333 --0.990181 -0.999986 -0.989519 -0.958993 -0.909055 -0.840666 -0.755257 --0.654544 -0.540557 -0.415628 -0.282266 -0.143188 -0.00120819 0.140795 -0.279949 0.413425 0.538524 0.652719 0.753668 0.83936 0.908035 0.958306 -0.989179 0.999971 0.99052 0.960994 0.911984 0.844512 0.759903 0.659907 -0.54654 0.422089 0.289093 0.150232 0.00832932 -0.133744 -0.273102 -0.406932 --0.532511 -0.647298 -0.748981 -0.835462 -0.90503 -0.956253 -0.988091 --0.999927 -0.991469 -0.962937 -0.914892 -0.848294 -0.764525 -0.665244 --0.55249 -0.428544 -0.295904 -0.157275 -0.015455 0.126676 0.266245 -0.400409 0.526467 0.641853 0.744228 0.831539 0.901971 0.954143 0.986978 -0.999801 0.992384 0.96483 0.917738 0.852053 0.769085 0.67055 0.558412 -0.434962 0.302703 0.164301 0.0225751 -0.11961 -0.25937 -0.393881 -0.520396 --0.636376 -0.739458 -0.827548 -0.898887 -0.951984 -0.985804 -0.99965 --0.993222 -0.966689 -0.920545 -0.855754 -0.773631 -0.675811 -0.564313 --0.441369 -0.309483 -0.171329 -0.0296987 0.112532 0.252482 0.387314 -0.514306 0.63086 0.73464 0.823534 0.895727 0.94979 0.984581 0.999431 -0.994035 0.968475 0.92331 0.859418 0.778115 0.681053 0.570172 0.447749 -0.316248 0.178338 0.0368166 -0.105453 -0.245585 -0.380741 -0.508177 --0.625327 -0.729788 -0.819469 -0.892548 -0.947524 -0.98332 -0.999169 --0.994777 -0.970238 -0.926013 -0.863044 -0.782573 -0.686245 -0.576021 --0.454107 -0.323001 -0.185347 -0.0439363 0.0983649 0.23867 0.374141 -0.502032 0.619741 0.724906 0.815363 0.889305 0.945234 0.981988 0.998863 -0.99548 0.971926 0.928692 0.866611 0.786989 0.69141 0.581818 0.460448 -0.32973 0.19234 0.0510499 -0.0912742 -0.231752 -0.367527 -0.495857 --0.614144 -0.719972 -0.811227 -0.886027 -0.942877 -0.980632 -0.998489 --0.996135 -0.973581 -0.931298 -0.87016 -0.79136 -0.696541 -0.587603 --0.466754 -0.336455 -0.199327 -0.0581653 0.0841763 0.22481 0.360894 -0.489656 0.608499 0.715018 0.80703 0.882706 0.940481 0.979199 0.998091 -0.996726 0.975184 0.933873 0.873632 0.795706; -#X coords 0 1 299 -1 300 200 1; -#X restore 370 80 graph; -#X obj 162 174 hsl 128 15 1 100 1 1 empty empty speed 0 -8 0 10 -225271 --1 -1 9300 1; -#X msg 107 123 print; -#X obj 159 194 phasor~ 100; -#X obj 180 311 print A; -#X obj 37 389 dac~; -#X obj 46 358 *~; -#X obj 87 360 hsl 128 15 0.0001 1 1 0 empty empty volume -2 -6 0 8 --261689 -1 -1 0 1; -#X obj 84 378 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 -10 -261689 -1 -1 0 256; -#X obj 21 10 cnv 15 650 40 empty empty xplay~ 10 22 0 24 -260818 -1 -0; -#N canvas 0 0 450 300 graph2 0; -#X array \$0-scp 300 float 0; -#X coords 0 1 299 -1 300 100 1; -#X restore 370 294 graph; -#N canvas 0 0 265 143 watch 0; -#X obj 100 13 loadbang; -#X obj 101 39 metro 50; -#X obj 22 14 inlet~; -#X obj 22 94 tabwrite~ \$0-scp; -#X connect 0 0 1 0; -#X connect 1 0 3 0; -#X connect 2 0 3 0; -#X restore 90 310 pd watch; -#N canvas 33 327 454 231 attributes 0; -#X msg 85 60 getattributes; -#X obj 22 181 s to; -#X text 203 61 dump all attributes; -#X msg 85 91 getbuffer; -#X text 170 91 get buffer name; -#X msg 84 186 getinterp; -#X text 165 186 get interpolation mode; -#X msg 85 130 getunits; -#X text 158 130 get unit setting; -#X msg 85 155 getsclmode; -#X text 176 155 get scale mode; -#X text 21 15 xplay~ attributes; -#X connect 0 0 1 0; -#X connect 3 0 1 0; -#X connect 5 0 1 0; -#X connect 7 0 1 0; -#X connect 9 0 1 0; -#X restore 22 210 pd attributes; -#X text 21 192 attributes; -#X obj 21 154 s to-p; -#X obj 21 250 r to-p; -#X obj 81 280 xplay~ \$0-buf; -#X text 180 29 http://grrrr.org/ext; -#X text 179 11 buffer-based sample player \, (C)2001-2005 Thomas Grill -; -#X connect 0 0 22 0; -#X connect 1 0 22 0; -#X connect 2 0 22 0; -#X connect 5 0 24 0; -#X connect 7 0 22 0; -#X connect 9 0 11 0; -#X connect 10 0 22 0; -#X connect 11 0 5 0; -#X connect 14 0 13 0; -#X connect 14 0 13 1; -#X connect 15 0 16 0; -#X connect 16 0 14 1; -#X connect 23 0 24 0; -#X connect 24 0 14 0; -#X connect 24 0 19 0; -#X connect 24 1 12 0; diff --git a/externals/grill/xsample/pd/help-xrecord~.pd b/externals/grill/xsample/pd/help-xrecord~.pd deleted file mode 100644 index cccbdee9..00000000 --- a/externals/grill/xsample/pd/help-xrecord~.pd +++ /dev/null @@ -1,168 +0,0 @@ -#N canvas 58 17 877 659 12; -#X obj 18 83 bng 15 250 50 0 empty empty empty 20 8 0 8 -258699 -1 --1; -#X msg 17 103 stop; -#N canvas 0 0 450 300 graph7 0; -#X array \$0-buf 10000 float 0; -#X coords 0 1 9999 -1 200 140 1; -#X restore 61 477 graph; -#X msg 15 137 reset; -#X obj 74 355 snapshot~; -#X floatatom 76 380 7 0 0 0 - - -; -#X obj 22 288 loadbang; -#X msg 14 167 help; -#X obj 179 164 tgl 15 1 empty empty empty 20 8 0 8 -225271 -1 -1 1 -1; -#X msg 197 161 loop \$1; -#X msg 177 104 0; -#X msg 213 104 200; -#X msg 176 132 draw \$1; -#X obj 427 332 bng 15 250 50 0 empty empty empty 20 8 0 8 -258699 -1 --1; -#X msg 426 352 stop; -#X msg 425 391 reset; -#X obj 516 575 snapshot~; -#X floatatom 516 605 7 0 0 0 - - -; -#X obj 427 503 loadbang; -#X obj 553 299 tgl 15 1 empty empty empty 20 8 0 8 -225271 -1 -1 1 -1; -#X msg 572 296 loop \$1; -#X msg 468 263 0; -#X msg 467 291 draw \$1; -#X obj 554 322 tgl 15 1 empty empty empty 20 8 0 8 -225271 -1 -1 1 -1; -#X msg 572 320 sigmode \$1; -#X msg 425 417 print; -#X obj 579 425 hsl 128 15 -0.001 1 0 1 empty empty empty 20 8 0 8 -225271 --1 -1 2800 1; -#X msg 601 347 mixmode \$1; -#X floatatom 645 443 8 0 0 0 - - -; -#X obj 427 530 metro 30; -#X obj 22 315 metro 30; -#X obj 681 86 osc~ 10; -#X obj 90 146 r~ rec; -#X obj 498 396 r~ rec; -#X obj 667 149 s~ rec; -#X obj 664 113 *~ 1; -#X obj 663 90 tgl 15 1 empty empty empty 20 8 0 8 -225271 -1 -1 1 1 -; -#X obj 760 115 *~ 1; -#X obj 759 92 tgl 15 0 empty empty empty 20 8 0 8 -225271 -1 -1 0 1 -; -#X obj 777 88 adc~; -#X text 266 164 looping on/off; -#X text 241 133 display refresh; -#X text 56 81 start; -#X text 57 103 stop; -#X text 30 338 position signal; -#X text 635 295 looping on/off; -#X text 660 321 signal mode on/off; -#X text 714 436 trigger signal; -#X text 383 189 <----- message triggered; -#X text 187 439 signal triggered ------->; -#X text 509 242 click to activate auto update; -#X text 448 328 start; -#X text 466 352 stop; -#X msg 152 239 all; -#X msg 504 263 100; -#X obj 554 497 line~; -#X msg 554 472 \$1 20; -#X msg 13 203 getattributes; -#X obj 236 281 print A; -#X msg 14 231 getbuffer; -#X obj 583 116 *~ 1; -#X obj 582 93 tgl 15 1 empty empty empty 20 8 0 8 -225271 -1 -1 0 1 -; -#X obj 602 89 noise~; -#X obj 554 349 hradio 15 1 0 3 empty empty empty 0 -6 0 8 -225271 -1 --1 0; -#X text 575 366 mixmode (off \, mix-in \, add); -#X text 582 396 by the trigger signal; -#X text 581 383 the amount of mixing-in is given; -#X obj 95 280 xrecord~ \$0-buf; -#X obj 516 529 xrecord~ \$0-buf; -#X obj 18 12 cnv 15 800 40 empty empty xrecord~ 10 22 0 24 -260818 --1 0; -#X text 202 253 min/max points; -#X obj 201 241 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -225271 --1 -1 0 256; -#X obj 258 241 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -225271 --1 -1 10002 256; -#X obj 190 365 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -262131 --1 -1 0 256; -#X obj 247 365 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -262131 --1 -1 10000 256; -#X text 192 378 min/max points; -#X obj 224 321 bng 15 250 50 0 empty empty loop_bang 0 -6 0 8 -262131 --1 -1; -#X text 294 284 print attributes; -#X obj 617 574 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -262131 --1 -1 0 256; -#X obj 674 574 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -262131 --1 -1 10000 256; -#X obj 618 500 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -225271 --1 -1 0 256; -#X obj 675 500 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -225271 --1 -1 10000 256; -#X text 224 31 http://grrrr.org/ext; -#X text 224 12 buffer-based signal recorder \, (C)2001-2005 Thomas -Grill; -#X connect 0 0 67 0; -#X connect 1 0 67 0; -#X connect 3 0 67 0; -#X connect 4 0 5 0; -#X connect 6 0 30 0; -#X connect 7 0 67 0; -#X connect 8 0 9 0; -#X connect 9 0 67 0; -#X connect 10 0 12 0; -#X connect 11 0 12 0; -#X connect 12 0 67 0; -#X connect 13 0 68 0; -#X connect 14 0 68 0; -#X connect 15 0 68 0; -#X connect 16 0 17 0; -#X connect 18 0 29 0; -#X connect 19 0 20 0; -#X connect 20 0 68 0; -#X connect 21 0 22 0; -#X connect 22 0 68 0; -#X connect 23 0 24 0; -#X connect 24 0 68 0; -#X connect 25 0 68 0; -#X connect 26 0 28 0; -#X connect 26 0 56 0; -#X connect 27 0 68 0; -#X connect 29 0 16 0; -#X connect 30 0 4 0; -#X connect 31 0 35 0; -#X connect 32 0 67 0; -#X connect 33 0 68 0; -#X connect 35 0 34 0; -#X connect 36 0 35 1; -#X connect 37 0 34 0; -#X connect 38 0 37 1; -#X connect 39 0 37 0; -#X connect 39 1 37 0; -#X connect 53 0 67 0; -#X connect 54 0 22 0; -#X connect 55 0 68 1; -#X connect 56 0 55 0; -#X connect 57 0 67 0; -#X connect 59 0 67 0; -#X connect 60 0 34 0; -#X connect 61 0 60 1; -#X connect 62 0 60 0; -#X connect 63 0 27 0; -#X connect 67 0 4 0; -#X connect 67 1 73 0; -#X connect 67 2 74 0; -#X connect 67 3 76 0; -#X connect 67 4 58 0; -#X connect 68 0 16 0; -#X connect 68 1 78 0; -#X connect 68 2 79 0; -#X connect 71 0 67 2; -#X connect 72 0 67 3; -#X connect 80 0 68 2; -#X connect 81 0 68 3; diff --git a/externals/grill/xsample/pd/xgroove~-help.pd b/externals/grill/xsample/pd/xgroove~-help.pd new file mode 100644 index 00000000..03906625 --- /dev/null +++ b/externals/grill/xsample/pd/xgroove~-help.pd @@ -0,0 +1,250 @@ +#N canvas 69 62 945 610 12; +#X obj 215 253 hsl 128 15 0.001 3 1 1 empty empty speed 0 -8 0 10 -225271 +-1 -1 5000 1; +#X msg 603 169 loop \$1; +#X obj 28 72 bng 15 250 50 0 empty empty empty 20 8 0 8 -258699 -1 +-1; +#X msg 27 92 stop; +#N canvas 0 0 450 300 graph7 0; +#X array \$0-buf 10000 float 0; +#X coords 0 1 9999 -1 300 150 1; +#X restore 573 269 graph; +#X obj 17 556 dac~; +#X msg 120 73 reset; +#X text 299 321 min/max points; +#X text 50 69 start; +#X text 67 90 stop; +#X msg 119 99 help; +#X text 280 269 (float or signal); +#X msg 749 167 interp \$1; +#X msg 237 305 all; +#X text 747 94 interpolation; +#X text 622 116 once; +#X text 768 116 none; +#X text 768 148 linear; +#X text 224 75 units; +#X msg 225 163 units \$1; +#X msg 358 163 sclmode \$1; +#X text 244 127 ms; +#X text 244 142 s; +#X text 377 127 buffer; +#X text 377 142 loop; +#X obj 487 208 bng 15 250 50 0 empty empty empty 0 -6 0 8 -228992 -1 +-1; +#X obj 335 349 print A; +#N canvas 0 0 450 300 graph2 0; +#X array \$0-scp 300 float 0; +#X coords 0 1 299 -1 300 100 1; +#X restore 573 447 graph; +#X obj 26 525 *~; +#X obj 82 491 hsl 128 15 0.0001 1 1 0 empty empty volume -2 -6 0 8 +-261689 -1 -1 0 1; +#X obj 79 509 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +10 -261689 -1 -1 0.0001 256; +#X msg 25 249 pos \$1; +#X msg 63 220 200; +#X msg 25 221 100; +#X obj 507 209 nbx 5 14 0 1e+037 0 1 empty empty frq 0 -6 0 10 -228992 +-1 -1 220 256; +#N canvas 19 334 427 333 loopzone 0; +#X msg 28 84 xzone \$1; +#X obj 31 43 hsl 128 15 0 300 0 0 empty empty empty -2 -6 0 8 -262131 +-1 -1 0 1; +#X floatatom 28 64 5 0 0 0 - - -; +#X msg 203 207 xfade \$1; +#X obj 203 142 vdl 15 0 0 4 empty empty empty 0 -6 0 8 -262144 -1 -1 +0; +#X text 202 123 loop zone mode; +#X text 222 141 keep loop pos; +#X text 222 157 keep loop length; +#X text 222 173 keep fade length; +#X msg 47 205 xshape \$1; +#X obj 48 155 vdl 15 0 0 3 empty empty empty 0 -6 0 8 -262144 -1 -1 +0; +#X text 45 133 fade zone shape; +#X text 67 152 linear; +#X text 67 168 quarter sine; +#X text 67 184 half sine; +#X text 125 67 length of the loop zone; +#X text 123 84 (in units); +#X text 222 188 zone inside loop; +#X text 21 9 xgroove~ crossfading loop zone; +#X obj 27 255 s to-g; +#X connect 0 0 19 0; +#X connect 1 0 2 0; +#X connect 2 0 0 0; +#X connect 3 0 19 0; +#X connect 4 0 3 0; +#X connect 9 0 19 0; +#X connect 10 0 9 0; +#X restore 23 414 pd loopzone; +#X text 64 147 set buffer; +#X text 23 383 settings for; +#X text 22 395 cross-fading loop zone; +#X text 399 349 print attributes; +#X obj 357 394 bng 15 250 50 0 empty empty loop_bang 0 -6 0 8 -262131 +-1 -1; +#X text 357 60 scale mode; +#X text 354 75 (pos message and position outlet); +#X text 622 148 bidirectional; +#X text 244 111 buffer size; +#X obj 574 419 hsl 300 15 0 10000 0 0 empty bufpos empty -2 -6 0 8 +-262144 -1 -1 10628 1; +#X obj 236 527 nbx 5 14 -1e+037 1e+037 0 0 empty empty position 0 -6 +0 10 -228992 -1 -1 3554.44 256; +#N canvas 0 0 474 324 watch 0; +#X obj 163 18 loadbang; +#X obj 88 80 snapshot~; +#X obj 164 44 metro 50; +#X obj 143 109 s bufpos; +#X obj 176 196 outlet; +#X obj 22 14 inlet~; +#X obj 88 14 inlet~; +#X obj 22 196 tabwrite~ \$0-scp; +#X connect 0 0 2 0; +#X connect 1 0 3 0; +#X connect 1 0 4 0; +#X connect 1 0 7 0; +#X connect 2 0 1 0; +#X connect 2 0 7 0; +#X connect 5 0 7 0; +#X connect 6 0 1 0; +#X restore 235 492 pd watch; +#X text 377 111 units in loop; +#N canvas 97 34 266 202 genosc 0; +#X obj 38 29 inlet; +#X obj 64 94 osc~ 1000; +#X obj 38 54 route bang; +#X obj 37 134 tabwrite~ \$0-buf; +#X obj 158 94 loadbang; +#X connect 0 0 2 0; +#X connect 1 0 3 0; +#X connect 2 0 3 0; +#X connect 2 1 1 0; +#X connect 4 0 3 0; +#X restore 487 229 pd genosc; +#X text 600 97 loop mode; +#X text 23 201 set position; +#X obj 299 426 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -262131 +-1 -1 1004 256; +#X obj 356 426 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -262131 +-1 -1 8996 256; +#X obj 298 309 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -225271 +-1 -1 1004 256; +#X obj 355 309 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -225271 +-1 -1 8996 256; +#X text 244 95 frames (def.); +#X text 377 96 units in buffer (def.); +#X text 622 132 forward (def.); +#X text 768 132 4-point (def.); +#N canvas 12 194 490 407 attributes 0; +#X msg 82 74 getattributes; +#X msg 138 133 getmax; +#X msg 81 133 getmin; +#X text 198 75 dump all attributes; +#X text 200 135 get min/max positions; +#X msg 82 105 getbuffer; +#X msg 80 162 getpos; +#X text 140 162 get current position; +#X text 167 105 get buffer name; +#X msg 79 251 getloop; +#X msg 79 276 getinterp; +#X text 147 251 get loop mode; +#X text 160 276 get interpolation mode; +#X msg 79 197 getunits; +#X text 152 197 get unit setting; +#X msg 79 222 getsclmode; +#X text 170 222 get scale mode; +#X msg 79 315 getxfade; +#X msg 78 365 getxshape; +#X text 157 315 get crossfade mode; +#X msg 79 340 getxzone; +#X text 154 340 get crossfade length; +#X text 156 367 get crossfade shape; +#X text 19 12 xgroove~ attributes; +#X obj 19 195 s to-g; +#X msg 82 49 getmethods; +#X text 174 49 dump all methods; +#X connect 0 0 24 0; +#X connect 1 0 24 0; +#X connect 2 0 24 0; +#X connect 5 0 24 0; +#X connect 6 0 24 0; +#X connect 9 0 24 0; +#X connect 10 0 24 0; +#X connect 13 0 24 0; +#X connect 15 0 24 0; +#X connect 17 0 24 0; +#X connect 18 0 24 0; +#X connect 20 0 24 0; +#X connect 25 0 24 0; +#X restore 24 343 pd attributes; +#X text 23 324 attribute stuff; +#X text 484 177 generate; +#X obj 26 10 cnv 15 850 40 empty empty xgroove~ 10 22 0 24 -260818 +-1 0; +#X msg 105 221 1000; +#X msg 96 249 posmod \$1; +#X text 146 227 modulo; +#X text 301 439 min/max points; +#X text 299 454 (sample rounded); +#X obj 603 120 vradio 15 1 0 3 empty empty empty 0 -6 0 8 -225271 -1 +-1 0; +#X obj 749 119 vradio 15 1 0 3 empty empty empty 0 -6 0 8 -225271 -1 +-1 0; +#X obj 225 99 vradio 15 1 0 4 empty empty empty 0 -6 0 8 -225271 -1 +-1 0; +#X obj 358 99 vradio 15 1 0 4 empty empty empty 0 -6 0 8 -225271 -1 +-1 0; +#X obj 65 164 s to-g; +#X obj 298 197 s to-g; +#X obj 61 278 s to-g; +#X obj 180 304 r to-g; +#X obj 704 201 s to-g; +#X obj 191 349 xgroove~ \$0-buf; +#X text 227 29 http://grrrr.org/ext; +#X obj 79 550 line~; +#X msg 79 527 \$1 50; +#X obj 212 271 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +10 -225271 -1 -1 0.0233854 256; +#X text 227 10 varispeed sample player \, (C)2001-2005 Thomas Grill +; +#X connect 0 0 82 0; +#X connect 1 0 77 0; +#X connect 2 0 73 0; +#X connect 3 0 73 0; +#X connect 6 0 73 0; +#X connect 10 0 73 0; +#X connect 12 0 77 0; +#X connect 13 0 78 0; +#X connect 19 0 74 0; +#X connect 20 0 74 0; +#X connect 25 0 49 0; +#X connect 28 0 5 0; +#X connect 28 0 5 1; +#X connect 29 0 30 0; +#X connect 30 0 81 0; +#X connect 31 0 75 0; +#X connect 32 0 31 0; +#X connect 33 0 31 0; +#X connect 34 0 49 0; +#X connect 47 0 46 0; +#X connect 54 0 78 1; +#X connect 55 0 78 2; +#X connect 64 0 65 0; +#X connect 65 0 75 0; +#X connect 69 0 1 0; +#X connect 70 0 12 0; +#X connect 71 0 19 0; +#X connect 72 0 20 0; +#X connect 76 0 78 0; +#X connect 78 0 28 0; +#X connect 78 0 47 0; +#X connect 78 1 47 1; +#X connect 78 2 52 0; +#X connect 78 3 53 0; +#X connect 78 4 40 0; +#X connect 78 5 26 0; +#X connect 80 0 28 1; +#X connect 81 0 80 0; +#X connect 82 0 78 0; diff --git a/externals/grill/xsample/pd/xplay~-help.pd b/externals/grill/xsample/pd/xplay~-help.pd new file mode 100644 index 00000000..a079a361 --- /dev/null +++ b/externals/grill/xsample/pd/xplay~-help.pd @@ -0,0 +1,123 @@ +#N canvas 165 149 716 444 12; +#X obj 21 75 bng 15 250 50 0 empty empty empty 20 8 0 8 -258699 -1 +-1; +#X msg 21 95 stop; +#X msg 107 99 reset; +#X text 43 72 start; +#X text 60 93 stop; +#X obj 159 217 *~ 300; +#X text 161 239 position signal; +#X msg 107 75 help; +#N canvas 0 0 450 300 graph7 0; +#X array \$0-buf 300 float 1; +#A 0 -0.445589 -0.568192 -0.679282 -0.776596 -0.858191 -0.922374 -0.967874 +-0.99377 -0.999505 -0.985009 -0.950534 -0.896801 -0.824907 -0.736274 +-0.632737 -0.516371 -0.38954 -0.254823 -0.114932 0.0272834 0.168947 +0.307184 0.439204 0.562312 0.674031 0.772096 0.854499 0.919606 0.966059 +0.992941 0.999714 0.986201 0.952726 0.899931 0.8289 0.741087 0.638231 +0.522457 0.396092 0.261698 0.122005 -0.0201642 -0.161923 -0.300402 +-0.432789 -0.556415 -0.668753 -0.767544 -0.85079 -0.916775 -0.964202 +-0.992074 -0.999845 -0.987371 -0.954858 -0.903018 -0.832869 -0.74584 +-0.643712 -0.528517 -0.402624 -0.268571 -0.129073 0.013039 0.154887 +0.293596 0.426359 0.550472 0.663443 0.762958 0.847014 0.913919 0.962278 +0.991158 0.999942 0.988459 0.956966 0.906048 0.836789 0.75057 0.649134 +0.534557 0.409131 0.275422 0.136132 -0.00591801 -0.147849 -0.286781 +-0.419902 -0.544521 -0.658091 -0.758339 -0.84321 -0.910993 -0.960333 +-0.990181 -0.999986 -0.989519 -0.958993 -0.909055 -0.840666 -0.755257 +-0.654544 -0.540557 -0.415628 -0.282266 -0.143188 -0.00120819 0.140795 +0.279949 0.413425 0.538524 0.652719 0.753668 0.83936 0.908035 0.958306 +0.989179 0.999971 0.99052 0.960994 0.911984 0.844512 0.759903 0.659907 +0.54654 0.422089 0.289093 0.150232 0.00832932 -0.133744 -0.273102 -0.406932 +-0.532511 -0.647298 -0.748981 -0.835462 -0.90503 -0.956253 -0.988091 +-0.999927 -0.991469 -0.962937 -0.914892 -0.848294 -0.764525 -0.665244 +-0.55249 -0.428544 -0.295904 -0.157275 -0.015455 0.126676 0.266245 +0.400409 0.526467 0.641853 0.744228 0.831539 0.901971 0.954143 0.986978 +0.999801 0.992384 0.96483 0.917738 0.852053 0.769085 0.67055 0.558412 +0.434962 0.302703 0.164301 0.0225751 -0.11961 -0.25937 -0.393881 -0.520396 +-0.636376 -0.739458 -0.827548 -0.898887 -0.951984 -0.985804 -0.99965 +-0.993222 -0.966689 -0.920545 -0.855754 -0.773631 -0.675811 -0.564313 +-0.441369 -0.309483 -0.171329 -0.0296987 0.112532 0.252482 0.387314 +0.514306 0.63086 0.73464 0.823534 0.895727 0.94979 0.984581 0.999431 +0.994035 0.968475 0.92331 0.859418 0.778115 0.681053 0.570172 0.447749 +0.316248 0.178338 0.0368166 -0.105453 -0.245585 -0.380741 -0.508177 +-0.625327 -0.729788 -0.819469 -0.892548 -0.947524 -0.98332 -0.999169 +-0.994777 -0.970238 -0.926013 -0.863044 -0.782573 -0.686245 -0.576021 +-0.454107 -0.323001 -0.185347 -0.0439363 0.0983649 0.23867 0.374141 +0.502032 0.619741 0.724906 0.815363 0.889305 0.945234 0.981988 0.998863 +0.99548 0.971926 0.928692 0.866611 0.786989 0.69141 0.581818 0.460448 +0.32973 0.19234 0.0510499 -0.0912742 -0.231752 -0.367527 -0.495857 +-0.614144 -0.719972 -0.811227 -0.886027 -0.942877 -0.980632 -0.998489 +-0.996135 -0.973581 -0.931298 -0.87016 -0.79136 -0.696541 -0.587603 +-0.466754 -0.336455 -0.199327 -0.0581653 0.0841763 0.22481 0.360894 +0.489656 0.608499 0.715018 0.80703 0.882706 0.940481 0.979199 0.998091 +0.996726 0.975184 0.933873 0.873632 0.795706; +#X coords 0 1 299 -1 300 200 1; +#X restore 370 80 graph; +#X obj 162 174 hsl 128 15 1 100 1 1 empty empty speed 0 -8 0 10 -225271 +-1 -1 9300 1; +#X msg 107 123 print; +#X obj 159 194 phasor~ 100; +#X obj 180 311 print A; +#X obj 37 389 dac~; +#X obj 46 358 *~; +#X obj 87 360 hsl 128 15 0.0001 1 1 0 empty empty volume -2 -6 0 8 +-261689 -1 -1 0 1; +#X obj 84 378 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0 +10 -261689 -1 -1 0 256; +#X obj 21 10 cnv 15 650 40 empty empty xplay~ 10 22 0 24 -260818 -1 +0; +#N canvas 0 0 450 300 graph2 0; +#X array \$0-scp 300 float 0; +#X coords 0 1 299 -1 300 100 1; +#X restore 370 294 graph; +#N canvas 0 0 265 143 watch 0; +#X obj 100 13 loadbang; +#X obj 101 39 metro 50; +#X obj 22 14 inlet~; +#X obj 22 94 tabwrite~ \$0-scp; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 2 0 3 0; +#X restore 90 310 pd watch; +#N canvas 33 327 454 231 attributes 0; +#X msg 85 60 getattributes; +#X obj 22 181 s to; +#X text 203 61 dump all attributes; +#X msg 85 91 getbuffer; +#X text 170 91 get buffer name; +#X msg 84 186 getinterp; +#X text 165 186 get interpolation mode; +#X msg 85 130 getunits; +#X text 158 130 get unit setting; +#X msg 85 155 getsclmode; +#X text 176 155 get scale mode; +#X text 21 15 xplay~ attributes; +#X connect 0 0 1 0; +#X connect 3 0 1 0; +#X connect 5 0 1 0; +#X connect 7 0 1 0; +#X connect 9 0 1 0; +#X restore 22 210 pd attributes; +#X text 21 192 attributes; +#X obj 21 154 s to-p; +#X obj 21 250 r to-p; +#X obj 81 280 xplay~ \$0-buf; +#X text 180 29 http://grrrr.org/ext; +#X text 179 11 buffer-based sample player \, (C)2001-2005 Thomas Grill +; +#X connect 0 0 22 0; +#X connect 1 0 22 0; +#X connect 2 0 22 0; +#X connect 5 0 24 0; +#X connect 7 0 22 0; +#X connect 9 0 11 0; +#X connect 10 0 22 0; +#X connect 11 0 5 0; +#X connect 14 0 13 0; +#X connect 14 0 13 1; +#X connect 15 0 16 0; +#X connect 16 0 14 1; +#X connect 23 0 24 0; +#X connect 24 0 14 0; +#X connect 24 0 19 0; +#X connect 24 1 12 0; diff --git a/externals/grill/xsample/pd/xrecord~-help.pd b/externals/grill/xsample/pd/xrecord~-help.pd new file mode 100644 index 00000000..cccbdee9 --- /dev/null +++ b/externals/grill/xsample/pd/xrecord~-help.pd @@ -0,0 +1,168 @@ +#N canvas 58 17 877 659 12; +#X obj 18 83 bng 15 250 50 0 empty empty empty 20 8 0 8 -258699 -1 +-1; +#X msg 17 103 stop; +#N canvas 0 0 450 300 graph7 0; +#X array \$0-buf 10000 float 0; +#X coords 0 1 9999 -1 200 140 1; +#X restore 61 477 graph; +#X msg 15 137 reset; +#X obj 74 355 snapshot~; +#X floatatom 76 380 7 0 0 0 - - -; +#X obj 22 288 loadbang; +#X msg 14 167 help; +#X obj 179 164 tgl 15 1 empty empty empty 20 8 0 8 -225271 -1 -1 1 +1; +#X msg 197 161 loop \$1; +#X msg 177 104 0; +#X msg 213 104 200; +#X msg 176 132 draw \$1; +#X obj 427 332 bng 15 250 50 0 empty empty empty 20 8 0 8 -258699 -1 +-1; +#X msg 426 352 stop; +#X msg 425 391 reset; +#X obj 516 575 snapshot~; +#X floatatom 516 605 7 0 0 0 - - -; +#X obj 427 503 loadbang; +#X obj 553 299 tgl 15 1 empty empty empty 20 8 0 8 -225271 -1 -1 1 +1; +#X msg 572 296 loop \$1; +#X msg 468 263 0; +#X msg 467 291 draw \$1; +#X obj 554 322 tgl 15 1 empty empty empty 20 8 0 8 -225271 -1 -1 1 +1; +#X msg 572 320 sigmode \$1; +#X msg 425 417 print; +#X obj 579 425 hsl 128 15 -0.001 1 0 1 empty empty empty 20 8 0 8 -225271 +-1 -1 2800 1; +#X msg 601 347 mixmode \$1; +#X floatatom 645 443 8 0 0 0 - - -; +#X obj 427 530 metro 30; +#X obj 22 315 metro 30; +#X obj 681 86 osc~ 10; +#X obj 90 146 r~ rec; +#X obj 498 396 r~ rec; +#X obj 667 149 s~ rec; +#X obj 664 113 *~ 1; +#X obj 663 90 tgl 15 1 empty empty empty 20 8 0 8 -225271 -1 -1 1 1 +; +#X obj 760 115 *~ 1; +#X obj 759 92 tgl 15 0 empty empty empty 20 8 0 8 -225271 -1 -1 0 1 +; +#X obj 777 88 adc~; +#X text 266 164 looping on/off; +#X text 241 133 display refresh; +#X text 56 81 start; +#X text 57 103 stop; +#X text 30 338 position signal; +#X text 635 295 looping on/off; +#X text 660 321 signal mode on/off; +#X text 714 436 trigger signal; +#X text 383 189 <----- message triggered; +#X text 187 439 signal triggered ------->; +#X text 509 242 click to activate auto update; +#X text 448 328 start; +#X text 466 352 stop; +#X msg 152 239 all; +#X msg 504 263 100; +#X obj 554 497 line~; +#X msg 554 472 \$1 20; +#X msg 13 203 getattributes; +#X obj 236 281 print A; +#X msg 14 231 getbuffer; +#X obj 583 116 *~ 1; +#X obj 582 93 tgl 15 1 empty empty empty 20 8 0 8 -225271 -1 -1 0 1 +; +#X obj 602 89 noise~; +#X obj 554 349 hradio 15 1 0 3 empty empty empty 0 -6 0 8 -225271 -1 +-1 0; +#X text 575 366 mixmode (off \, mix-in \, add); +#X text 582 396 by the trigger signal; +#X text 581 383 the amount of mixing-in is given; +#X obj 95 280 xrecord~ \$0-buf; +#X obj 516 529 xrecord~ \$0-buf; +#X obj 18 12 cnv 15 800 40 empty empty xrecord~ 10 22 0 24 -260818 +-1 0; +#X text 202 253 min/max points; +#X obj 201 241 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -225271 +-1 -1 0 256; +#X obj 258 241 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -225271 +-1 -1 10002 256; +#X obj 190 365 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -262131 +-1 -1 0 256; +#X obj 247 365 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -262131 +-1 -1 10000 256; +#X text 192 378 min/max points; +#X obj 224 321 bng 15 250 50 0 empty empty loop_bang 0 -6 0 8 -262131 +-1 -1; +#X text 294 284 print attributes; +#X obj 617 574 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -262131 +-1 -1 0 256; +#X obj 674 574 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -262131 +-1 -1 10000 256; +#X obj 618 500 nbx 5 14 0 1e+037 0 1 empty empty min 0 -6 0 10 -225271 +-1 -1 0 256; +#X obj 675 500 nbx 5 14 0 1e+037 0 1 empty empty max 0 -6 0 10 -225271 +-1 -1 10000 256; +#X text 224 31 http://grrrr.org/ext; +#X text 224 12 buffer-based signal recorder \, (C)2001-2005 Thomas +Grill; +#X connect 0 0 67 0; +#X connect 1 0 67 0; +#X connect 3 0 67 0; +#X connect 4 0 5 0; +#X connect 6 0 30 0; +#X connect 7 0 67 0; +#X connect 8 0 9 0; +#X connect 9 0 67 0; +#X connect 10 0 12 0; +#X connect 11 0 12 0; +#X connect 12 0 67 0; +#X connect 13 0 68 0; +#X connect 14 0 68 0; +#X connect 15 0 68 0; +#X connect 16 0 17 0; +#X connect 18 0 29 0; +#X connect 19 0 20 0; +#X connect 20 0 68 0; +#X connect 21 0 22 0; +#X connect 22 0 68 0; +#X connect 23 0 24 0; +#X connect 24 0 68 0; +#X connect 25 0 68 0; +#X connect 26 0 28 0; +#X connect 26 0 56 0; +#X connect 27 0 68 0; +#X connect 29 0 16 0; +#X connect 30 0 4 0; +#X connect 31 0 35 0; +#X connect 32 0 67 0; +#X connect 33 0 68 0; +#X connect 35 0 34 0; +#X connect 36 0 35 1; +#X connect 37 0 34 0; +#X connect 38 0 37 1; +#X connect 39 0 37 0; +#X connect 39 1 37 0; +#X connect 53 0 67 0; +#X connect 54 0 22 0; +#X connect 55 0 68 1; +#X connect 56 0 55 0; +#X connect 57 0 67 0; +#X connect 59 0 67 0; +#X connect 60 0 34 0; +#X connect 61 0 60 1; +#X connect 62 0 60 0; +#X connect 63 0 27 0; +#X connect 67 0 4 0; +#X connect 67 1 73 0; +#X connect 67 2 74 0; +#X connect 67 3 76 0; +#X connect 67 4 58 0; +#X connect 68 0 16 0; +#X connect 68 1 78 0; +#X connect 68 2 79 0; +#X connect 71 0 67 2; +#X connect 72 0 67 3; +#X connect 80 0 68 2; +#X connect 81 0 68 3; diff --git a/externals/grill/xsample/source/groove.cpp b/externals/grill/xsample/source/groove.cpp index ccea67df..c4051714 100644 --- a/externals/grill/xsample/source/groove.cpp +++ b/externals/grill/xsample/source/groove.cpp @@ -56,6 +56,7 @@ public: void ms_xfade(int xf) { + if(xf < 0 || xf > xsf_inside) xf = xsf_keeplooppos; xfade = (xs_fade)xf; Update(xsc_fade,true); } @@ -263,6 +264,8 @@ void xgroove::ms_xzone(float xz) void xgroove::ms_xshape(int sh) { + if(sh < 0 || sh > xss_hsine) sh = xss_lin; + xshape = (xs_shape)sh; switch(xshape) { case xss_qsine: znmul = fade_qsine; break; diff --git a/externals/grill/xsample/source/main.cpp b/externals/grill/xsample/source/main.cpp index a19dcb2c..a948c056 100644 --- a/externals/grill/xsample/source/main.cpp +++ b/externals/grill/xsample/source/main.cpp @@ -56,7 +56,7 @@ xsample::xsample(): unitmode(xsu_sample), // PD defaults to samples #endif sclmode(xss_unitsinbuf), - curmin(0),curmax(1<<(sizeof(curmax)*8-2)) + curmin(0),curmax(1L<<(sizeof(curmax)*8-2)) {} xsample::~xsample() {} diff --git a/externals/grill/xsample/source/main.h b/externals/grill/xsample/source/main.h index 9cc29e5b..ad41ffbf 100644 --- a/externals/grill/xsample/source/main.h +++ b/externals/grill/xsample/source/main.h @@ -15,7 +15,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. #error You need at least flext version 0.5.0 #endif -#define XSAMPLE_VERSION "0.3.1pre6" +#define XSAMPLE_VERSION "0.3.1pre7" // most compilers are somehow broken - in other words - can't handle all C++ features -- cgit v1.2.1