diff options
author | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2010-05-28 13:46:58 +0000 |
---|---|---|
committer | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2010-05-28 13:46:58 +0000 |
commit | 341d5303b4612e506897b3c7f494b0d85434ad33 (patch) | |
tree | 77a74502c334ec9c540f7e75940a35dc3d968da9 /tof/sample-help.pd | |
parent | 87d9722dd71a9f67b77509f05f807d57a7bc493b (diff) |
Added a few sample abstractions
svn path=/trunk/externals/tof/; revision=13574
Diffstat (limited to 'tof/sample-help.pd')
-rw-r--r-- | tof/sample-help.pd | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tof/sample-help.pd b/tof/sample-help.pd new file mode 100644 index 0000000..a95eab8 --- /dev/null +++ b/tof/sample-help.pd @@ -0,0 +1,26 @@ +#N canvas 1173 49 686 393 10; +#X msg 47 142 read \$1; +#X obj 47 116 openpanel; +#X obj 47 93 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X text 126 115 Inlet 1 \, read symbol: sound file to read into memory +; +#X text 44 17 Description: Loads a sound file (wav) as a sample; +#X text 51 249 See also:; +#X text 45 34 Tags: File Sound Table Sample; +#X text 222 175 Argument 1 \, symbol: Sample name; +#X text 223 192 (Argument 2 \, symbol): Sound file to read into memory +when created; +#X text 224 222 (Argument 2 \, float): Set a default length to the +table; +#X text 281 316 The following example creates a mono (1 channel) sample +with a 10 second table (at a sampling rate of 44100).; +#X text 225 241 (Argument 3 \, float): Set a default number of channels +\, either 1 or 2; +#X obj 47 177 tof/sample test mono0.wav; +#X obj 73 272 tof/sample_play~; +#X obj 72 295 tof/sample_unpack; +#X obj 283 350 tof/sample recording 441000 1; +#X connect 0 0 12 0; +#X connect 1 0 0 0; +#X connect 2 0 1 0; |