[PD-cvs] externals/hcs/hid/examples polar-joystick.pd, 1.2, 1.3 spiral-joystick.pd, 1.2, 1.3

Hans-Christoph Steiner eighthave at users.sourceforge.net
Sat Nov 25 18:02:08 CET 2006


Update of /cvsroot/pure-data/externals/hcs/hid/examples
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31487

Modified Files:
	polar-joystick.pd spiral-joystick.pd 
Log Message:
updated to work with current Pd-extended

Index: spiral-joystick.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/examples/spiral-joystick.pd,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** spiral-joystick.pd	26 Apr 2005 04:44:22 -0000	1.2
--- spiral-joystick.pd	25 Nov 2006 17:02:05 -0000	1.3
***************
*** 1,5 ****
! #N canvas 35 146 474 469 10;
! #X obj 165 174 hid_invert;
! #X obj 134 99 tgl 25 0 empty empty start 1 12 1 9 -225271 -1 -1 0 1
  ;
  #X msg 196 118 open \$1;
--- 1,5 ----
! #N canvas 645 306 478 473 10;
! #X obj 323 10 import mapping;
! #X obj 134 99 tgl 25 0 empty empty start 1 12 1 9 -225271 -1 -1 1 1
  ;
  #X msg 196 118 open \$1;
***************
*** 14,18 ****
  #X obj 58 283 line~;
  #X msg 58 261 \$1 5;
- #X obj 58 242 hid_cube;
  #X text 25 32 This patch uses the angle of the joystick to control
  pitch and the distance from the centerpoint to control amplitude. The
--- 14,17 ----
***************
*** 22,49 ****
  #X text 40 417 (C) Copyright 2005 Hans-Christoph Steiner <hans at at.or.at>
  ;
- #X obj 100 198 hid_spiral;
  #X obj 165 262 pow 3;
  #X text 189 211 set 440 as start;
  #X obj 165 241 + 7.60591;
  #X text 187 223 (7.60591 ^ 3 = 440.001);
- #X obj 134 142 joystick 3;
  #X text 14 9 spiral_joystick;
! #X connect 0 0 16 1;
! #X connect 1 0 21 0;
! #X connect 2 0 21 0;
  #X connect 3 0 2 0;
! #X connect 5 0 21 0;
  #X connect 6 0 7 0;
! #X connect 7 0 13 0;
  #X connect 9 0 7 1;
  #X connect 10 0 9 0;
! #X connect 11 0 10 0;
! #X connect 13 0 8 0;
! #X connect 13 1 8 1;
! #X connect 16 0 11 0;
! #X connect 16 1 19 0;
! #X connect 17 0 6 0;
! #X connect 19 0 17 0;
! #X connect 21 0 16 0;
! #X connect 21 1 0 0;
! #X connect 21 2 13 1;
--- 21,52 ----
  #X text 40 417 (C) Copyright 2005 Hans-Christoph Steiner <hans at at.or.at>
  ;
  #X obj 165 262 pow 3;
  #X text 189 211 set 440 as start;
  #X obj 165 241 + 7.60591;
  #X text 187 223 (7.60591 ^ 3 = 440.001);
  #X text 14 9 spiral_joystick;
! #X obj 134 142 hid/joystick 3;
! #X obj 165 174 invert;
! #X obj 100 198 spiral;
! #X obj 58 242 hid/hid_cube;
! #X floatatom 231 172 5 0 0 0 - - -;
! #X connect 1 0 20 0;
! #X connect 2 0 20 0;
  #X connect 3 0 2 0;
! #X connect 5 0 20 0;
  #X connect 6 0 7 0;
! #X connect 7 0 12 0;
  #X connect 9 0 7 1;
  #X connect 10 0 9 0;
! #X connect 12 0 8 0;
! #X connect 12 1 8 1;
! #X connect 15 0 6 0;
! #X connect 17 0 15 0;
! #X connect 20 0 22 0;
! #X connect 20 1 21 0;
! #X connect 20 1 24 0;
! #X connect 20 2 12 1;
! #X connect 21 0 22 1;
! #X connect 22 0 23 0;
! #X connect 22 1 17 0;
! #X connect 23 0 10 0;

Index: polar-joystick.pd
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/hid/examples/polar-joystick.pd,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** polar-joystick.pd	26 Apr 2005 04:44:22 -0000	1.2
--- polar-joystick.pd	25 Nov 2006 17:02:05 -0000	1.3
***************
*** 1,6 ****
! #N canvas 233 112 468 474 10;
! #X obj 164 172 joystick 3;
! #X obj 201 204 hid_invert;
! #X obj 163 119 tgl 25 0 empty empty start 1 12 1 9 -225271 -1 -1 0
  1;
  #X msg 226 138 open \$1;
--- 1,4 ----
! #N canvas 628 147 472 478 10;
! #X obj 163 119 tgl 25 0 empty empty start 1 12 1 9 -225271 -1 -1 1
  1;
  #X msg 226 138 open \$1;
***************
*** 16,49 ****
  #X obj 101 295 line~;
  #X msg 101 273 \$1 5;
- #X obj 101 254 hid_cube;
- #X obj 201 268 notescale 40 90;
  #X text 25 38 This patch uses the angle of the joystick to control
  pitch and the distance from the centerpoint to control amplitude. The
  joystick Z/twist is mapped to pan.;
  #X obj 142 369 pan~;
- #X obj 143 226 hid_polar;
  #X text 254 444 released under the GNU GPL;
  #X text 40 429 (C) Copyright 2005 Hans-Christoph Steiner <hans at at.or.at>
  ;
  #X text 14 9 polar_joystick;
! #X obj 201 248 hid_log;
! #X connect 0 0 17 0;
! #X connect 0 1 1 0;
! #X connect 0 2 16 1;
! #X connect 1 0 17 1;
! #X connect 2 0 0 0;
! #X connect 3 0 0 0;
! #X connect 4 0 3 0;
! #X connect 6 0 0 0;
! #X connect 7 0 8 0;
! #X connect 8 0 9 0;
! #X connect 9 0 16 0;
! #X connect 11 0 9 1;
! #X connect 12 0 11 0;
! #X connect 13 0 12 0;
! #X connect 14 0 7 0;
! #X connect 16 0 10 0;
! #X connect 16 1 10 1;
! #X connect 17 0 13 0;
! #X connect 17 1 21 0;
! #X connect 21 0 14 0;
--- 14,50 ----
  #X obj 101 295 line~;
  #X msg 101 273 \$1 5;
  #X text 25 38 This patch uses the angle of the joystick to control
  pitch and the distance from the centerpoint to control amplitude. The
  joystick Z/twist is mapped to pan.;
  #X obj 142 369 pan~;
  #X text 254 444 released under the GNU GPL;
  #X text 40 429 (C) Copyright 2005 Hans-Christoph Steiner <hans at at.or.at>
  ;
  #X text 14 9 polar_joystick;
! #X obj 164 172 hid/joystick 3;
! #X obj 201 204 invert;
! #X obj 291 11 import mapping;
! #X obj 143 226 polar;
! #X obj 101 254 hid/hid_cube;
! #X obj 201 248 hid/hid_log;
! #X obj 201 268 notescale 50 74;
! #X connect 0 0 16 0;
! #X connect 1 0 16 0;
! #X connect 2 0 1 0;
! #X connect 4 0 16 0;
! #X connect 5 0 6 0;
! #X connect 6 0 7 0;
! #X connect 7 0 12 0;
! #X connect 9 0 7 1;
! #X connect 10 0 9 0;
! #X connect 12 0 8 0;
! #X connect 12 1 8 1;
! #X connect 16 0 19 0;
! #X connect 16 1 17 0;
! #X connect 16 2 12 1;
! #X connect 17 0 19 1;
! #X connect 19 0 20 0;
! #X connect 19 1 21 0;
! #X connect 20 0 10 0;
! #X connect 21 0 22 0;
! #X connect 22 0 5 0;





More information about the Pd-cvs mailing list