From 0ca6f43514c11e30d76618be69fcb995b926d0d5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 21 Feb 2010 05:08:54 +0000 Subject: ported to new template Makefile and debianized it svn path=/trunk/externals/moonlib/; revision=13184 --- sfread2~-help.pd | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 sfread2~-help.pd (limited to 'sfread2~-help.pd') diff --git a/sfread2~-help.pd b/sfread2~-help.pd new file mode 100644 index 0000000..ad8ae16 --- /dev/null +++ b/sfread2~-help.pd @@ -0,0 +1,60 @@ +#N canvas 38 250 582 490 10; +#X obj 0 0 cnv 8 100 60 empty empty sfread2~ 10 20 1 18 -262144 -1109 +0; +#X text 2 459 (c) Moonix: Antoine Rousseau 2003; +#X text 66 390 Change "mlockall(MCL_FUTURE)" with "mlockall(MCL_CURRENT) +; +#X obj 155 262 sfread2~ 2; +#X msg 155 202 open \$1; +#X obj 19 151 bng 15 250 50 0 empty empty play 20 8 1 8 -24198 -1 -1 +; +#X msg 278 225 loop \$1; +#X obj 278 207 tgl 15 1 empty empty loop 20 8 0 8 -241291 -1 -1 1 1 +; +#X obj 57 103 tgl 15 1 empty empty interpolation 20 8 1 8 -257472 -1 +-1 1 1; +#X msg 57 121 interp \$1; +#X obj 458 181 vsl 15 128 -8 8 0 0 empty empty speed 0 -8 1 8 -260818 +-1 -1 7144 1; +#X text 135 12 soundfile reader at variable speed (possibly negative) +\, whith 4-point interpolation and loop.; +#X obj 154 296 dac~; +#X obj 155 92 openpanel; +#X obj 155 72 bng 15 250 50 0 empty empty open 0 -6 1 8 -166441 -1 +-1; +#X obj 18 179 bng 15 250 50 0 empty empty stop 20 8 1 8 -1 -1 -1; +#X msg 18 196 0; +#X obj 148 339 sfread~; +#X text 43 341 read manual of; +#X text 202 339 for more details...; +#X text 235 159 resets sound to position; +#X text 234 148 start position in samples; +#X msg 238 174 index 20000; +#X obj 497 177 loadbang; +#X msg 497 196 1; +#X msg 261 99 symbol /usr/local/lib/pd/doc/sound/voice.wav; +#X msg 261 78 symbol ../../sound/voice.wav; +#X text 66 414 If not \, the whole file will be loaded in memory when +opened (use of C function mmap()).; +#X text 66 401 in s_linux.c... SORRY \, I mean in s_inter.c (since +0.37...); +#X text 59 378 CAUTION: you should hack pd sources to have d-t-d working. +; +#X connect 3 0 12 0; +#X connect 3 1 12 1; +#X connect 4 0 3 0; +#X connect 5 0 3 0; +#X connect 6 0 3 0; +#X connect 7 0 6 0; +#X connect 8 0 9 0; +#X connect 9 0 3 0; +#X connect 10 0 3 1; +#X connect 13 0 4 0; +#X connect 14 0 13 0; +#X connect 15 0 16 0; +#X connect 16 0 3 0; +#X connect 22 0 3 0; +#X connect 23 0 24 0; +#X connect 24 0 10 0; +#X connect 25 0 4 0; +#X connect 26 0 4 0; -- cgit v1.2.1