diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2007-01-20 04:06:07 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2007-01-20 04:06:07 +0000 |
commit | 9303c7e113a5527d58b814c7bb11db5dbdfba5a4 (patch) | |
tree | 68b35be6c79d927fd0ec2d1a7e14b877489cb3f0 /pd/doc/3.audio.examples | |
parent | c234ece0a90103013734b32193dbf558615bede9 (diff) |
improve error reporting for lists to inlets, and replace __BYTE_ORDER by
BYTE_ORDER to fix compile failure on Mac.
svn path=/trunk/; revision=7367
Diffstat (limited to 'pd/doc/3.audio.examples')
-rw-r--r-- | pd/doc/3.audio.examples/C08.analog.sequencer.pd | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/pd/doc/3.audio.examples/C08.analog.sequencer.pd b/pd/doc/3.audio.examples/C08.analog.sequencer.pd index 9ee9e6de..bbde61cc 100644 --- a/pd/doc/3.audio.examples/C08.analog.sequencer.pd +++ b/pd/doc/3.audio.examples/C08.analog.sequencer.pd @@ -1,29 +1,29 @@ -#N canvas 46 22 825 554 12; -#N canvas 0 0 450 300 graph1 0; -#X array 29-sequence 9 float 1; -#A 0 55 550 385 495 165 385 495 275 615; -#X coords 0 500 8 0 200 100 1; +#N canvas 57 74 829 559 12; +#N canvas 0 0 450 300 (subpatch) 0; +#X array 29-sequence 9 float 3; +#A 0 110 550 385 495 165 385 495 275 615; +#X coords 0 500 9 0 200 100 1; #X restore 621 42 graph; #X obj 27 426 *~; #X obj 27 454 hip~ 5; -#N canvas 0 0 450 300 graph1 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array 29-envelope 103 float 1; -#A 0 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 1.01111 1 0.988889 0.977778 -0.966667 0.955556 0.944444 0.933333 0.922222 0.911111 0.9 0.888889 -0.797778 0.737777 0.677777 0.647777 0.617777 0.557777 0.487777 0.467777 -0.447776 0.417776 0.397776 0.387776 0.377776 0.367776 0.347776 0.327776 -0.317776 0.297776 0.277776 0.267776 0.257776 0.257776 0.277776 0.297776 -0.327776 0.357776 0.377776 0.397776 0.407776 0.427776 0.437776 0.387776 -0.367776 0.347776 0.337776 0.287776 0.277776 0.277776 0.277776 0.267776 -0.267776 0.267776 0.297776 0.317776 0.347776 0.367776 0.367776 0.357776 -0.347776 0.337776 0.307776 0.287776 0.257776 0.227776 0.197776 0.167776 -0.167776 0.167776 0.167776 0.167776 0.157776 0.157776 0.157776 0.157776 -0.147776 0.147776 0.147776 0.137776 0.137776 0.111111 0.1 0.0888889 -0.0777778 0.0666667 0.0555556 0.0444444 0.0333333 0.0222222 0.0111111 -0 -0.0111111; +#A 0 -0.0199988 1.0673e-06 0.0500008 0.13 0.16 0.28 0.5 0.6 0.7 0.8 +1.01111 1 0.988889 0.977778 0.966667 0.955556 0.944444 0.933333 0.922222 +0.911111 0.9 0.888889 0.797778 0.737777 0.677777 0.647777 0.617777 +0.557777 0.487777 0.467777 0.447776 0.417776 0.397776 0.387776 0.377776 +0.367776 0.347776 0.327776 0.317776 0.297776 0.277776 0.267776 0.257776 +0.257776 0.277776 0.297776 0.327776 0.357776 0.377776 0.397776 0.407776 +0.427776 0.437776 0.387776 0.367776 0.347776 0.337776 0.287776 0.277776 +0.277776 0.277776 0.267776 0.267776 0.267776 0.297776 0.317776 0.347776 +0.367776 0.367776 0.357776 0.347776 0.337776 0.307776 0.287776 0.257776 +0.227776 0.197776 0.167776 0.167776 0.167776 0.167776 0.167776 0.157776 +0.157776 0.157776 0.157776 0.147776 0.147776 0.147776 0.137776 0.137776 +0.111111 0.1 0.0888889 0.0777778 0.0666667 0.0555556 0.0444444 0.0333333 +0.0222222 0.0111111 0 -0.0111111; #X coords 0 1 102 0 200 100 1; #X restore 622 146 graph; -#N canvas 0 0 450 300 graph1 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array 29-sample 259 float 1; #A 0 0.989177 1 0.989177 0.95694 0.903989 0.83147 0.740952 0.634394 0.514103 0.382684 0.242981 0.0980184 -0.0490663 -0.195089 -0.336888 @@ -117,14 +117,6 @@ then went in and changed it with the mouse afterward.); #X restore 689 401 pd make-tables; #X text 46 1 ANALOG-SYNTH-STYLE SEQUENCER; #X obj 26 170 phasor~ 0.6; -#X text 27 27 Some control operations can be carried out entirely by -tilde objects passing audio signals around. Here is an imitation of -an analog sequencer and envelope generator. A phasor~ loops through -the "sequence" table at 0.6 Hz \, generating 9 frequencies. Simultaneously -\, by multiplying by 9 and wrapping \, we create a sawtooth at 9*0.6=5.4 -Hz \, which reads a second table for an envelope shape. This becomes -the grain size for a samplerbased on the 18.sampler.looped example -earlier.; #X text 97 194 main loop: sawtooth of amplitude 9; #X text 218 219 read frequency sequence; #X text 162 241 9x original frequency sawtooth; @@ -134,6 +126,14 @@ earlier.; #X text 147 361 adjust amplitude and center for wavetable; #X text 62 428 multiply by raised-cosine smoothing function; #X text 478 401 how to make the tables:; +#X text 27 27 Some control operations can be carried out entirely by +tilde objects passing audio signals around. Here is an imitation of +an analog sequencer and envelope generator. A phasor~ loops through +the "sequence" table at 0.6 Hz \, generating 9 frequencies. Simultaneously +\, by multiplying by 9 and wrapping \, we create a sawtooth at 9*0.6=5.4 +Hz \, which reads a second table for an envelope shape. This becomes +the grain size for a sampler based on the 18.sampler.looped example +earlier.; #X connect 1 0 2 0; #X connect 2 0 14 0; #X connect 2 0 14 1; |