diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2012-12-19 08:57:40 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2012-12-19 08:57:40 +0000 |
commit | af8b334c147ee752c34f29f00280884a0a7fbf9c (patch) | |
tree | 04da8839d8cca2661a9891e3b1e785598085963d | |
parent | 7d0fdfb2a64411e95605490e19607742e6140125 (diff) |
help-patch fixes (Closes: #3591893)
svn path=/trunk/externals/zexy/; revision=16705
-rw-r--r-- | reference/lpt-help.pd | 53 | ||||
-rw-r--r-- | reference/sf-play_record-help.pd | 87 |
2 files changed, 71 insertions, 69 deletions
diff --git a/reference/lpt-help.pd b/reference/lpt-help.pd index 32023cd..3861942 100644 --- a/reference/lpt-help.pd +++ b/reference/lpt-help.pd @@ -1,13 +1,12 @@ -#N canvas 1 88 640 508 10; +#N canvas 420 106 775 605 10; #X text 129 36 write data to the (parallel) port; -#X obj 81 355 % 256; -#X floatatom 81 304 4 0 0 0 - - -; +#X floatatom 81 304 4 0 255 0 - - -; #X text 122 304 write an 8bit-word; #X obj 90 33 lpt; #X text 521 30 part of zexy; #X text 79 64 this does not work on osX (as there is no parallel port) ; -#N canvas 0 0 631 406 windows 0; +#N canvas 4 49 631 406 windows 0; #X text 32 16 To get it running under WinNT/2000/XP a special kernel driver is needed. These systems do not allow direct access to I/O ports. ; @@ -27,8 +26,8 @@ Click on 'Start' and then 'Exit'.; #X restore 292 86 pd windows; #X text 80 253 you should be member of the "lp" group or set the the permissions of the device file; -#X obj 81 397 lpt /dev/parport0; -#N canvas 0 0 553 385 raw 0; +#X obj 81 477 lpt /dev/parport0; +#N canvas 4 49 553 385 raw 0; #X text 24 127 if your port-address exceeds 0x3ff \, "lpt" will try to get all permissions with the iopl()-command. this might be dangerous !; @@ -51,32 +50,32 @@ gain raw access to the port.; (and similar); #X text 82 189 the preferred way for linux users is to use the device-filesystem: ; -#X text 217 398 <-- access /dev/parport0; -#X obj 84 465 lpt/dev/parports/0; -#X text 222 466 <-- some systems might use this syntax; +#X text 217 478 <-- access /dev/parport0; +#X obj 84 545 lpt /dev/parports/0; +#X text 222 546 <-- some systems might use this syntax; #X msg 335 309 control \$1; -#X obj 335 330 % 256; -#X floatatom 335 291 4 0 0 0 - - -; -#X text 373 291 set the control bits; -#X floatatom 81 429 5 0 0 0 - - -; -#X msg 337 363 bang; -#X text 380 367 read the input bits; -#X text 131 429 input bits; -#N canvas 458 162 494 344 META 0; +#X floatatom 335 291 4 0 255 0 - - -; +#X floatatom 81 509 5 0 0 0 - - -; +#X msg 337 433 bang; +#X text 380 437 read the input bits; +#X text 131 509 input bits; +#N canvas 461 150 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 AUTHOR IOhannes m zmoelnig; #X text 12 45 DESCRIPTION write data to the (parallel) port; #X text 12 65 INLET_0 float bang control; -#X text 12 85 INLET_1; #X text 12 105 OUTLET_0 float; -#X text 12 5 KEYWORDS control filesystem; -#X restore 571 477 pd META; -#X connect 1 0 9 0; -#X connect 2 0 1 0; -#X connect 9 0 22 0; -#X connect 18 0 19 0; -#X connect 19 0 9 0; -#X connect 20 0 18 0; -#X connect 23 0 9 0; +#X text 12 5 KEYWORDS control hardware interfacing; +#X text 12 85 INLET_1 float; +#X restore 571 557 pd META; +#X floatatom 335 361 4 0 255 0 - - -; +#X text 373 361 alternative way to set control bits; +#X text 373 291 set control bits; +#X connect 1 0 8 0; +#X connect 8 0 19 0; +#X connect 17 0 8 0; +#X connect 18 0 17 0; +#X connect 20 0 8 0; +#X connect 24 0 8 1; diff --git a/reference/sf-play_record-help.pd b/reference/sf-play_record-help.pd index 958b2a5..5122365 100644 --- a/reference/sf-play_record-help.pd +++ b/reference/sf-play_record-help.pd @@ -1,40 +1,38 @@ -#N canvas 1 88 588 448 10; -#X obj 436 312 sfplay 2; -#X obj 38 315 sfrecord 2; -#X msg 436 130 help; -#X msg 436 156 open test.raw l; -#X msg 436 179 start; -#X msg 485 179 bang; -#X msg 525 179 1; -#X msg 436 202 stop; -#X msg 525 202 0; -#X msg 436 251 goto 100; -#X msg 436 228 rewind; -#X msg 507 286 done; -#X obj 507 311 print; -#X msg 38 131 help; -#X msg 38 180 start; -#X msg 38 204 stop; -#X msg 38 228 close; -#X msg 38 156 open test.raw l; -#X msg 38 253 bang; -#X floatatom 38 341 0 0 0 0 - - -; -#X text 72 341 status (1-recording / 0-not_recording); -#X obj 45 291 osc~ 100; -#X obj 113 291 osc~ 578; -#X msg 436 277 close; +#N canvas 539 295 609 448 10; +#X obj 436 322 sfplay 2; +#X obj 38 325 sfrecord 2; +#X msg 436 140 help; +#X msg 436 166 open test.raw l; +#X msg 436 189 start; +#X msg 485 189 bang; +#X msg 525 189 1; +#X msg 436 212 stop; +#X msg 525 212 0; +#X msg 436 261 goto 100; +#X msg 436 238 rewind; +#X msg 507 296 done; +#X obj 507 321 print; +#X msg 38 141 help; +#X msg 38 190 start; +#X msg 38 214 stop; +#X msg 38 238 close; +#X msg 38 166 open test.raw l; +#X msg 38 263 bang; +#X floatatom 38 351 0 0 0 0 - - -; +#X text 72 351 status (1-recording / 0-not_recording); +#X obj 45 301 osc~ 100; +#X obj 113 301 osc~ 578; +#X msg 436 287 close; #X text 122 19 a little harddisk-recording system; -#X text 77 254 retrigger status-output; -#X text 261 154 <name> <endianity>; -#X text 205 156 open; -#X text 135 315 sfrecord/sfplay <num. of channels>; +#X text 77 264 retrigger status-output; +#X text 135 325 sfrecord/sfplay <num. of channels>; #X text 53 49 this makes it possible to do multi-track recordings; #X text 52 64 up to now \, the "sfrecord" only supports .RAW format ; -#X text 51 79 "sfplay" can skip any header \, if you know it's size:: +#X text 51 78 "sfplay" can skip any header \, if you know it's size:: just call "sfplay <num.of.chan> <skip.bytes>; -#X floatatom 471 346 0 0 0 0 - - -; -#N canvas 159 26 495 266 output 0; +#X floatatom 471 356 0 0 0 0 - - -; +#N canvas 160 49 495 266 output 0; #X obj 338 160 t b; #X obj 338 110 f; #X obj 338 60 inlet; @@ -90,11 +88,11 @@ just call "sfplay <num.of.chan> <skip.bytes>; #X connect 25 0 9 0; #X connect 27 0 28 0; #X connect 28 0 19 1; -#X restore 437 368 pd output; -#X msg 500 346 MUTE; -#X text 111 353 output amplitude; +#X restore 437 378 pd output; +#X msg 500 356 MUTE; +#X text 111 363 output amplitude; #X text 435 9 part of zexy; -#N canvas 529 175 494 344 META 0; +#N canvas 589 163 494 344 META 0; #X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; @@ -102,13 +100,17 @@ Wilkes for Pd version 0.42.; #X text 12 45 DESCRIPTION a little harddisk recording system; #X text 12 65 INLET_0 float bang help open start stop rewind goto close ; -#X text 12 85 INLET_1; #X text 12 105 OUTLET_N signal; #X text 12 125 OUTLET_R bang; +#X text 12 85 INLET_1 float; #X text 12 5 KEYWORDS signal soundfile; #X restore 528 417 pd META; -#X connect 0 0 33 0; -#X connect 0 1 33 1; +#X floatatom 514 272 5 0 0 2 undocumented - -; +#X text 212 164 open <name> <endianity>; +#X text 54 106 you might be able to change the <skip.bytes> via the +2nd inlet of sfplay \, but thats a hidden feature.; +#X connect 0 0 31 0; +#X connect 0 1 31 1; #X connect 0 2 11 0; #X connect 1 0 19 0; #X connect 2 0 0 0; @@ -130,6 +132,7 @@ Wilkes for Pd version 0.42.; #X connect 21 0 1 0; #X connect 22 0 1 1; #X connect 23 0 0 0; -#X connect 32 0 33 2; -#X connect 33 0 32 0; -#X connect 34 0 33 3; +#X connect 30 0 31 2; +#X connect 31 0 30 0; +#X connect 32 0 31 3; +#X connect 36 0 0 1; |