Skip to content

Commit

Permalink
remove sound files and update help files
Browse files Browse the repository at this point in the history
use flac instead of wav and etc
  • Loading branch information
porres committed Feb 5, 2025
1 parent cbe5c0d commit 09bd40a
Show file tree
Hide file tree
Showing 19 changed files with 337 additions and 421 deletions.
Binary file removed Documentation/Extra-files/audio/MouthBow.wav
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/bagal.aif
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/bubul.wav
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/church.wav
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/dholak.aif
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/didge.aif
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/drum-loop.wav
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/guitar.wav
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/kantele.wav
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/numbers.wav
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/test.wav
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/vacuous.wav
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/violin.wav
Binary file not shown.
Binary file removed Documentation/Extra-files/audio/voice.flac
Binary file not shown.
250 changes: 93 additions & 157 deletions Documentation/Help-files/gran.player~-help.pd
Original file line number Diff line number Diff line change
@@ -1,131 +1,80 @@
#N canvas 576 23 571 723 10;
#X obj 306 4 cnv 15 250 40 empty empty empty 12 13 0 18 #7c7c7c #e0e4dc
0;
#X obj 345 11 cnv 10 10 10 empty empty ELSE 0 15 2 30 #7c7c7c #e0e4dc
0;
#X obj 458 11 cnv 10 10 10 empty empty EL 0 6 2 13 #7c7c7c #e0e4dc
0;
#X obj 478 11 cnv 10 10 10 empty empty Locus 0 6 2 13 #7c7c7c #e0e4dc
0;
#X obj 515 11 cnv 10 10 10 empty empty Solus' 0 6 2 13 #7c7c7c #e0e4dc
0;
#X obj 464 26 cnv 10 10 10 empty empty ELSE 0 6 2 13 #7c7c7c #e0e4dc
0;
#X obj 502 26 cnv 10 10 10 empty empty library 0 6 2 13 #7c7c7c #e0e4dc
0;
#N canvas 536 74 564 770 10;
#X obj 306 4 cnv 15 250 40 empty empty empty 12 13 0 18 #7c7c7c #e0e4dc 0;
#X obj 345 11 cnv 10 10 10 empty empty ELSE 0 15 2 30 #7c7c7c #e0e4dc 0;
#X obj 458 11 cnv 10 10 10 empty empty EL 0 6 2 13 #7c7c7c #e0e4dc 0;
#X obj 478 11 cnv 10 10 10 empty empty Locus 0 6 2 13 #7c7c7c #e0e4dc 0;
#X obj 515 11 cnv 10 10 10 empty empty Solus' 0 6 2 13 #7c7c7c #e0e4dc 0;
#X obj 464 26 cnv 10 10 10 empty empty ELSE 0 6 2 13 #7c7c7c #e0e4dc 0;
#X obj 502 26 cnv 10 10 10 empty empty library 0 6 2 13 #7c7c7c #e0e4dc 0;
#N canvas 0 22 450 278 (subpatch) 0;
#X coords 0 1 100 -1 252 42 1 0 0;
#X restore 305 3 graph;
#X obj 22 40 cnv 4 4 4 empty empty Multi-channel 0 28 2 18 #e0e0e0
#000000 0;
#X obj 3 3 cnv 15 301 42 empty empty gran.player~ 20 20 2 37 #e0e0e0
#000000 0;
#X obj 22 40 cnv 4 4 4 empty empty Multi-channel 0 28 2 18 #e0e0e0 #000000 0;
#X obj 3 3 cnv 15 301 42 empty empty gran.player~ 20 20 2 37 #e0e0e0 #000000 0;
#N canvas 0 22 450 278 (subpatch) 0;
#X coords 0 1 100 -1 302 42 1;
#X restore 2 3 graph;
#X obj 206 193 else/out~;
#X obj 209 132 tgl 15 0 empty empty empty 17 7 0 10 #dcdcdc #000000
#000000 0 1;
#X obj 4 715 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020
0;
#X obj 6 254 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000
0;
#X obj 6 508 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000
0;
#X obj 5 637 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000
0;
#X obj 96 515 cnv 17 3 17 empty empty n 5 9 0 16 #dcdcdc #9c9c9c 0
;
#X obj 97 262 cnv 17 3 180 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0
;
#X text 118 274 open <symbol> -;
#X obj 6 556 cnv 3 550 3 empty empty flags 8 12 0 13 #dcdcdc #000000
0;
#X text 192 641 (optional) channels (default 1 if no file is given
\, or sound file's if given \, max 64), f 44;
#X text 115 666 2) symbol;
#X text 180 666 - the name of the file to open (default none), f 46
;
#X text 115 681 3) float;
#X text 115 644 1) float;
#X text 179 642 -;
#X text 173 259 bang - (re)start playing the buffer from the beginning
, f 60;
#X text 127 561 -speed <float>: sets playing speed (default 100),
f 58;
#X text 152 516 signal - the buffer signal of the corresponding channel
;
#X text 221 273 opens a file with the symbol name (no symbol opens
dialog box) and starts playing, f 52;
#X text 167 298 start - same as bang, f 61;
#X text 167 384 pause - pauses playing the buffer, f 61;
#X text 173 313 stop - stops and goes back to the beginning, f 60
;
#X text 167 328 float - <1> is the same as "start" \, "0" is the same
as "stop", f 61;
#X text 149 398 continue - unpauses and continues playing the buffer
, f 64;
#X text 161 412 reload - reloads the file into the buffer and starts
playing, f 62;
#X text 125 426 set <symbol> - sets a file to open (needs a reload
message), f 68;
#X obj 96 445 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0
;
#X obj 96 466 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0
;
#X text 167 466 float - sets transposition in cents, f 61;
#X text 121 575 -transp <float>: sets transposition in cents (default
0), f 59;
#X obj 202 40 cnv 4 4 4 empty empty player 0 28 2 18 #e0e0e0 #000000
0;
#X obj 132 40 cnv 4 4 4 empty empty granular 0 28 2 18 #e0e0e0 #000000
0;
#X text 84 156 see also:;
#X obj 197 213 else/out~;
#X obj 200 152 tgl 15 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 0 1;
#X obj 4 741 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 6 277 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 6 531 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 5 660 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 96 538 cnv 17 3 17 empty empty n 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 97 285 cnv 17 3 180 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 118 297 open <symbol> -;
#X obj 6 579 cnv 3 550 3 empty empty flags 8 12 0 13 #dcdcdc #000000 0;
#X text 192 664 (optional) channels (default 1 if no file is given \, or sound file's if given \, max 64), f 44;
#X text 115 689 2) symbol;
#X text 180 689 - the name of the file to open (default none), f 46;
#X text 115 704 3) float;
#X text 115 667 1) float;
#X text 179 665 -;
#X text 173 282 bang - (re)start playing the buffer from the beginning, f 60;
#X text 127 584 -speed <float>: sets playing speed (default 100), f 58;
#X text 152 539 signal - the buffer signal of the corresponding channel;
#X text 221 296 opens a file with the symbol name (no symbol opens dialog box) and starts playing, f 52;
#X text 167 321 start - same as bang, f 61;
#X text 167 407 pause - pauses playing the buffer, f 61;
#X text 173 336 stop - stops and goes back to the beginning, f 60;
#X text 167 351 float - <1> is the same as "start" \, "0" is the same as "stop", f 61;
#X text 149 421 continue - unpauses and continues playing the buffer, f 64;
#X text 161 435 reload - reloads the file into the buffer and starts playing, f 62;
#X text 125 449 set <symbol> - sets a file to open (needs a reload message), f 68;
#X obj 96 468 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 96 489 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 167 489 float - sets transposition in cents, f 61;
#X text 121 598 -transp <float>: sets transposition in cents (default 0), f 59;
#X obj 202 40 cnv 4 4 4 empty empty player 0 28 2 18 #e0e0e0 #000000 0;
#X obj 132 40 cnv 4 4 4 empty empty granular 0 28 2 18 #e0e0e0 #000000 0;
#X text 31 156 see also:;
#X obj 67 222 else/player~;
#X obj 96 536 cnv 17 3 17 empty empty n+1 5 9 0 16 #dcdcdc #9c9c9c
0;
#X text 164 537 bang - a bang when finishing playing the buffer;
#X text 181 603 -loop: turns loop mode on (default off), f 49;
#X text 115 697 4) float;
#X text 180 698 - loop <1: on \, 0: off> (default 0), f 46;
#X text 180 681 - autostart <1: on \, 0: off> (default 0), f 46;
#X text 39 84 [gran.player~] is like [player~] but provides independent
time stretching and pitch shifting via granulation., f 76;
#X text 125 342 size <float> - sets gain size in ms, f 68;
#X obj 96 559 cnv 17 3 17 empty empty n+1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 164 560 bang - a bang when finishing playing the buffer;
#X text 181 626 -loop: turns loop mode on (default off), f 49;
#X text 115 720 4) float;
#X text 180 721 - loop <1: on \, 0: off> (default 0), f 46;
#X text 180 704 - autostart <1: on \, 0: off> (default 0), f 46;
#X text 125 365 size <float> - sets gain size in ms, f 68;
#X obj 37 201 else/pvoc.player~;
#X text 133 589 -size <float>: sets grain size in ms (default 75),
f 57;
#X text 133 612 -size <float>: sets grain size in ms (default 75), f 57;
#X obj 24 180 else/stretch.shift~;
#X text 85 617 -range <float \, float>: sets sample range (default:
0 1), f 65;
#X text 125 356 loop <float> - loop on <1> or off <0>, f 68;
#X text 125 370 range <f \, f> - sets sample's playing range (from
0 to 1), f 68;
#X text 85 640 -range <float \, float>: sets sample range (default: 0 1), f 65;
#X text 125 379 loop <float> - loop on <1> or off <0>, f 68;
#X text 125 393 range <f \, f> - sets sample's playing range (from 0 to 1), f 68;
#N canvas 574 23 692 509 multi-channel 0;
#X obj 169 332 else/meter2~;
#X obj 376 323 else/out~;
#X msg 120 215 open violin.wav;
#X obj 317 294 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc
#000000 #000000;
#X obj 589 302 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc
#000000 #000000;
#X obj 317 294 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X obj 589 302 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X msg 134 240 open stereo.wav;
#X text 122 30 If you give an optional float argumewnt as the first
argument \, it specifies the number of channels. If no float argument
and no sound file are given \, then the default number of channels
is 1 (mono). But if the first optional argument is not given and a
file name is given \, then the number of channels is the same as the
sound file's. The maximum number is 64 channels.;
#X text 122 30 If you give an optional float argumewnt as the first argument \, it specifies the number of channels. If no float argument and no sound file are given \, then the default number of channels is 1 (mono). But if the first optional argument is not given and a file name is given \, then the number of channels is the same as the sound file's. The maximum number is 64 channels.;
#X text 222 213 <= mono file;
#X text 235 239 <= stereo file;
#X text 123 115 If you have a file with less channels than specified
(like a mono file in a stereo buffer player) \, the extra channels
are silent. Conversely \, a file with more channels than specified
(like a stereo file in a mono buffer player) has its remaining channels
ignored.;
#X text 123 115 If you have a file with less channels than specified (like a mono file in a stereo buffer player) \, the extra channels are silent. Conversely \, a file with more channels than specified (like a stereo file in a mono buffer player) has its remaining channels ignored.;
#X msg 35 190 start;
#X obj 376 238 tgl 20 0 empty empty empty 17 7 0 10 #dcdcdc #000000
#000000 0 1;
#X obj 376 238 tgl 20 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 0 1;
#X msg 56 214 stop;
#X obj 56 342 else/out~;
#X obj 376 277 else/gran.player~ -loop 1 stereo.wav;
Expand All @@ -142,43 +91,34 @@ ignored.;
#X connect 15 1 0 1;
#X connect 15 1 13 1;
#X connect 15 2 3 0;
#X restore 445 222 pd multi-channel;
#X restore 445 240 pd multi-channel;
#N canvas 814 148 552 384 example 0;
#X msg 99 101 pause;
#X msg 154 100 continue;
#X msg 232 127 loop \$1;
#X obj 232 103 tgl 15 0 empty empty empty 17 7 0 10 #dcdcdc #000000
#000000 0 1;
#X obj 196 128 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc
#000000 #000000;
#X obj 340 248 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc
#000000 #000000;
#X obj 232 103 tgl 15 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 0 1;
#X obj 196 128 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X obj 340 248 bng 15 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X text 361 246 <= finished;
#X msg 140 78 open vacuous.wav;
#X obj 175 128 tgl 15 0 empty empty empty 17 7 0 10 #dcdcdc #000000
#000000 0 1;
#X obj 175 128 tgl 15 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 0 1;
#X text 84 211 click: opens a new file =>, f 13;
#X msg 36 78 open stereo.wav;
#X floatatom 290 113 5 0 0 0 - - - 0;
#X obj 293 89 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 #dcdcdc
#000000 #000000 0 1;
#X obj 293 89 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 #dcdcdc #000000 #000000 0 1;
#X floatatom 349 131 5 0 0 0 - - - 0;
#X obj 352 110 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 #dcdcdc
#000000 #000000 0 1;
#X obj 352 110 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 #dcdcdc #000000 #000000 0 1;
#X text 333 89 minimum;
#X text 393 110 maximum;
#X text 113 35 Test the main message methods of [gran.player~].;
#X obj 173 253 else/out~;
#X obj 232 151 else/pack2 range 0 1;
#X obj 175 220 else/gran.player~ stereo.wav;
#X obj 285 197 nbx 4 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
#dcdcdc #000000 #000000 0 256;
#X obj 340 197 nbx 4 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
#dcdcdc #000000 #000000 0 256;
#X obj 285 197 nbx 4 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 340 197 nbx 4 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 286 181 speed;
#X text 389 195 transposition;
#X obj 230 197 nbx 4 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
#dcdcdc #000000 #000000 0 256;
#X obj 230 197 nbx 4 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 231 181 size;
#X connect 0 0 20 0;
#X connect 1 0 20 0;
Expand All @@ -199,30 +139,26 @@ ignored.;
#X connect 21 0 20 2;
#X connect 22 0 20 3;
#X connect 25 0 20 1;
#X restore 480 200 pd example;
#X obj 374 200 bng 18 250 50 0 empty empty empty 17 7 0 10 #dcdcdc
#000000 #000000;
#X text 371 223 done;
#X obj 209 157 else/gran.player~ stereo.wav -speed 50 -transp -400
, f 28;
#X obj 319 133 nbx 6 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
#dcdcdc #000000 #000000 0 256;
#X obj 402 133 nbx 6 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
#dcdcdc #000000 #000000 0 256;
#X text 321 115 speed (%);
#X text 401 114 transposition;
#X text 471 132 cents;
#X obj 264 134 nbx 4 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
#dcdcdc #000000 #000000 0 256;
#X text 251 115 size (ms);
#X obj 96 487 cnv 17 3 17 empty empty 3 5 9 0 16 #dcdcdc #9c9c9c 0
;
#X text 167 487 float - sets transposition in cents, f 61;
#X text 167 444 float - grain size in ms, f 61;
#X connect 12 0 64 0;
#X connect 64 0 11 0;
#X connect 64 1 11 1;
#X connect 64 2 62 0;
#X connect 65 0 64 2;
#X connect 66 0 64 3;
#X connect 70 0 64 1;
#X restore 480 218 pd example;
#X obj 365 220 bng 18 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X text 362 243 done;
#X obj 200 177 else/gran.player~ stereo.wav -speed 50 -transp -400, f 28;
#X obj 310 153 nbx 6 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 393 153 nbx 6 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 312 135 speed (%);
#X text 392 134 transposition;
#X text 462 152 cents;
#X obj 255 154 nbx 4 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 242 135 size (ms);
#X obj 96 510 cnv 17 3 17 empty empty 3 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 167 510 float - sets transposition in cents, f 61;
#X text 167 467 float - grain size in ms, f 61;
#X obj 73 242 else/sfload;
#X text 32 84 [gran.player~] is like [player~] but provides independent time stretching and pitch shifting via granulation (just like [pvoc.player~]). Like [player~] \, it is based on [sfload] and support the same file formats (check its help file)., f 78;
#X connect 12 0 63 0;
#X connect 63 0 11 0;
#X connect 63 1 11 1;
#X connect 63 2 61 0;
#X connect 64 0 63 2;
#X connect 65 0 63 3;
#X connect 69 0 63 1;
Loading

0 comments on commit 09bd40a

Please sign in to comment.