aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorials')
-rw-r--r--doc/tutorials/playnow/viewfm.pd188
-rw-r--r--doc/tutorials/playnow/voice-fm.pd32
2 files changed, 205 insertions, 15 deletions
diff --git a/doc/tutorials/playnow/viewfm.pd b/doc/tutorials/playnow/viewfm.pd
new file mode 100644
index 00000000..ca8fc072
--- /dev/null
+++ b/doc/tutorials/playnow/viewfm.pd
@@ -0,0 +1,188 @@
+#N canvas 308 75 701 582 10;
+#X obj 229 244 osc~ 500;
+#X obj 266 327 *~;
+#X obj 282 304 osc~;
+#X obj 286 283 hsl 128 15 0.2 2000 1 0 empty empty modulating_frequency
+-2 -8 0 12 -143356 -1 -1 3100 0;
+#X obj 463 382 r \$0-master-lvl;
+#X obj 444 405 *~;
+#X obj 624 30 vsl 22 200 0 1 0 0 \$0-master-level empty amplitude -9
+-8 1 10 -225271 -1 -1 18900 1;
+#N canvas 0 22 450 300 graph1 0;
+#X array \$0-wave 1027 float 1;
+#A 0 -0.609364 -0.596634 -0.583713 -0.5706 -0.557308 -0.54383 -0.530185
+-0.516359 -0.502378 -0.488223 -0.473926 -0.45946 -0.444862 -0.430107
+-0.415227 -0.400204 -0.385062 -0.36979 -0.354405 -0.338904 -0.323298
+-0.307588 -0.291781 -0.275883 -0.259896 -0.24383 -0.227685 -0.211472
+-0.19519 -0.178852 -0.162454 -0.146011 -0.129519 -0.112993 -0.0964304
+-0.0798424 -0.06323 -0.046602 -0.0299617 -0.0133158 0.00333072 0.0199724
+0.0366035 0.0532188 0.0698128 0.0863796 0.102915 0.119412 0.135867
+0.152271 0.168626 0.184916 0.201148 0.217303 0.23339 0.24939 0.26531
+0.281134 0.296868 0.312495 0.328021 0.343432 0.358729 0.373904 0.388952
+0.403871 0.418651 0.433295 0.447787 0.462138 0.476322 0.49036 0.504219
+0.517927 0.531442 0.544797 0.557955 0.570941 0.583724 0.596323 0.608715
+0.620912 0.632897 0.644675 0.656238 0.667581 0.678706 0.689598 0.70027
+0.710698 0.720905 0.730856 0.740586 0.750046 0.759284 0.768243 0.776973
+0.785425 0.793636 0.801568 0.809249 0.816652 0.823793 0.830658 0.837251
+0.843568 0.849603 0.855366 0.860836 0.866036 0.870935 0.875566 0.879886
+0.883944 0.88768 0.891155 0.894306 0.89719 0.899756 0.902047 0.904023
+0.905718 0.907103 0.908199 0.908993 0.909489 0.909689 0.909585 0.909192
+0.908489 0.907504 0.906202 0.904624 0.902723 0.900555 0.898061 0.895304
+0.892224 0.888878 0.88522 0.881291 0.877059 0.872552 0.867751 0.862673
+0.857311 0.851669 0.845752 0.839553 0.833089 0.826342 0.819341 0.812054
+0.804524 0.796709 0.788661 0.780327 0.771766 0.76293 0.753867 0.744541
+0.734989 0.725186 0.715156 0.704889 0.694396 0.683678 0.672736 0.661581
+0.650205 0.638628 0.626833 0.614848 0.602651 0.590275 0.57769 0.564939
+0.551984 0.538869 0.525565 0.512105 0.49847 0.484684 0.470735 0.456641
+0.442398 0.428014 0.413494 0.398841 0.384064 0.36916 0.354145 0.339011
+0.323777 0.308433 0.293 0.277466 0.261854 0.246151 0.23038 0.21453
+0.19862 0.182644 0.166616 0.150535 0.13441 0.118245 0.102045 0.0858168
+0.0695637 0.0532927 0.0370077 0.0207154 0.0044201 -0.0118723 -0.0281563
+-0.0444277 -0.0606788 -0.0769079 -0.0931049 -0.10927 -0.125392 -0.141472
+-0.157498 -0.17347 -0.189379 -0.205223 -0.220995 -0.236691 -0.252305
+-0.267831 -0.283267 -0.298603 -0.313842 -0.328967 -0.343989 -0.358884
+-0.373669 -0.388314 -0.402841 -0.417219 -0.431468 -0.445562 -0.459515
+-0.473305 -0.486943 -0.500413 -0.513718 -0.52685 -0.539806 -0.552583
+-0.565171 -0.577577 -0.589782 -0.601801 -0.613606 -0.625222 -0.636612
+-0.647812 -0.658772 -0.669536 -0.680056 -0.69037 -0.700437 -0.710287
+-0.719889 -0.729262 -0.738386 -0.747269 -0.755902 -0.764283 -0.772416
+-0.780286 -0.787907 -0.795256 -0.802358 -0.809176 -0.815748 -0.822026
+-0.828061 -0.833792 -0.839276 -0.844458 -0.849384 -0.854011 -0.858373
+-0.862439 -0.866231 -0.869732 -0.872949 -0.87588 -0.878519 -0.880876
+-0.882934 -0.884714 -0.886189 -0.887391 -0.88828 -0.888902 -0.889205
+-0.889246 -0.888963 -0.888418 -0.887557 -0.886427 -0.884987 -0.883274
+-0.881259 -0.878965 -0.876377 -0.873505 -0.870349 -0.866904 -0.863182
+-0.859167 -0.854883 -0.850304 -0.845467 -0.840332 -0.834948 -0.829263
+-0.823337 -0.817114 -0.81065 -0.8039 -0.796907 -0.789639 -0.782127
+-0.774351 -0.76633 -0.758057 -0.749538 -0.740777 -0.731772 -0.722536
+-0.713057 -0.703358 -0.693417 -0.683269 -0.67288 -0.662295 -0.651472
+-0.640461 -0.629222 -0.617798 -0.60616 -0.594339 -0.582316 -0.570113
+-0.557721 -0.545154 -0.53241 -0.519495 -0.506415 -0.493169 -0.47977
+-0.466211 -0.452511 -0.438657 -0.424674 -0.410543 -0.396294 -0.381905
+-0.367408 -0.352783 -0.338057 -0.323216 -0.30828 -0.293242 -0.278116
+-0.262901 -0.247606 -0.232233 -0.216788 -0.201278 -0.185705 -0.170078
+-0.154396 -0.138672 -0.122904 -0.107103 -0.0912683 -0.0754115 -0.0595317
+-0.0436392 -0.0277357 -0.0118285 0.00407809 0.0199788 0.035868 0.0517412
+0.0675923 0.0834169 0.0992094 0.114965 0.130678 0.146343 0.161957 0.177511
+0.193006 0.208428 0.223783 0.239053 0.254249 0.269347 0.284361 0.299268
+0.314081 0.328779 0.343371 0.357841 0.372193 0.386416 0.40051 0.414468
+0.428284 0.441959 0.45548 0.468855 0.482063 0.495119 0.507997 0.520719
+0.53325 0.54562 0.557788 0.569787 0.58158 0.593193 0.604595 0.615806
+0.626804 0.637598 0.648177 0.658541 0.668688 0.678608 0.688309 0.697773
+0.707017 0.716012 0.724786 0.7333 0.741594 0.749617 0.757417 0.764941
+0.772234 0.779252 0.78603 0.792532 0.798783 0.804761 0.810479 0.815927
+0.821105 0.826016 0.830648 0.835016 0.839096 0.842915 0.846439 0.849705
+0.852667 0.855376 0.857773 0.859918 0.861752 0.863327 0.864598 0.865602
+0.866308 0.866741 0.866882 0.866743 0.866318 0.865609 0.864619 0.86334
+0.861788 0.85994 0.857828 0.855415 0.852745 0.849771 0.846548 0.843017
+0.839239 0.835161 0.830834 0.826215 0.821344 0.816192 0.810784 0.805104
+0.799167 0.792965 0.786504 0.779791 0.772818 0.765604 0.758128 0.750421
+0.742452 0.734264 0.725814 0.717153 0.708234 0.699109 0.689737 0.680159
+0.670347 0.66033 0.65009 0.639648 0.628994 0.61814 0.607087 0.595836
+0.584397 0.572764 0.560956 0.548957 0.536794 0.524445 0.511943 0.499261
+0.486436 0.473438 0.460305 0.447011 0.433587 0.420015 0.406317 0.392485
+0.378533 0.364459 0.35027 0.335972 0.321566 0.307063 0.292459 0.277768
+0.262985 0.248127 0.233186 0.21818 0.203101 0.187966 0.172769 0.157525
+0.14223 0.126897 0.111525 0.0961227 0.0806933 0.065243 0.0497761 0.034298
+0.0188139 0.00332847 -0.0121529 -0.0276251 -0.0430836 -0.058522 -0.0739376
+-0.0893219 -0.104675 -0.119984 -0.135254 -0.15047 -0.165635 -0.180737
+-0.195779 -0.210748 -0.225647 -0.240463 -0.255198 -0.269844 -0.284396
+-0.298851 -0.313201 -0.327448 -0.341577 -0.355596 -0.369486 -0.38326
+-0.396891 -0.4104 -0.423756 -0.436982 -0.450047 -0.462972 -0.47573
+-0.488338 -0.500773 -0.513046 -0.525142 -0.537064 -0.548806 -0.560362
+-0.571735 -0.58291 -0.593898 -0.604678 -0.615269 -0.625639 -0.635818
+-0.645765 -0.655519 -0.665031 -0.674343 -0.683412 -0.69227 -0.700884
+-0.709278 -0.717426 -0.725343 -0.733015 -0.740447 -0.747634 -0.75457
+-0.761262 -0.767693 -0.773882 -0.779801 -0.78548 -0.790879 -0.79604
+-0.800912 -0.805547 -0.809888 -0.813986 -0.817792 -0.821348 -0.824617
+-0.827628 -0.830356 -0.832818 -0.835002 -0.836913 -0.83855 -0.839908
+-0.840996 -0.841799 -0.842338 -0.842585 -0.842575 -0.842266 -0.841707
+-0.840843 -0.839732 -0.838318 -0.836655 -0.834696 -0.832484 -0.829983
+-0.827223 -0.824184 -0.820882 -0.817308 -0.813469 -0.809366 -0.804994
+-0.800368 -0.79547 -0.790326 -0.784909 -0.779255 -0.773326 -0.76717
+-0.760738 -0.754084 -0.747161 -0.740016 -0.732613 -0.724988 -0.717115
+-0.709018 -0.700683 -0.692127 -0.683344 -0.67434 -0.665121 -0.655682
+-0.646039 -0.636177 -0.626123 -0.615853 -0.6054 -0.594735 -0.583898
+-0.572852 -0.561642 -0.550234 -0.538665 -0.52691 -0.514998 -0.502912
+-0.490673 -0.478272 -0.465722 -0.453022 -0.440178 -0.427196 -0.414075
+-0.400828 -0.387448 -0.373953 -0.360331 -0.346606 -0.332762 -0.318825
+-0.304776 -0.290643 -0.27641 -0.2621 -0.247702 -0.233234 -0.21869 -0.204083
+-0.189412 -0.174685 -0.159906 -0.145079 -0.13021 -0.115303 -0.100366
+-0.0853987 -0.070411 -0.0554039 -0.0403856 -0.0253583 -0.010329 0.00469862
+0.0197193 0.0347275 0.0497196 0.0646889 0.0796327 0.0945438 0.109419
+0.124253 0.139041 0.153778 0.168458 0.183079 0.197633 0.212119 0.226527
+0.24086 0.255103 0.269265 0.283324 0.297294 0.311152 0.324913 0.338553
+0.352084 0.365489 0.378774 0.391926 0.404948 0.41783 0.430572 0.443168
+0.455612 0.467906 0.480035 0.49201 0.503809 0.51545 0.526904 0.538197
+0.549291 0.560219 0.570941 0.581488 0.591826 0.601979 0.611919 0.621665
+0.631195 0.64052 0.64963 0.658522 0.667198 0.675647 0.683879 0.691873
+0.699651 0.70718 0.714493 0.721548 0.728388 0.734959 0.741312 0.747396
+0.753254 0.758844 0.764199 0.769289 0.774134 0.778717 0.783047 0.787117
+0.790926 0.794478 0.797761 0.800792 0.803546 0.806052 0.808273 0.81025
+0.811934 0.813379 0.814525 0.815431 0.816046 0.816414 0.816495 0.816324
+0.815874 0.815165 0.814183 0.812938 0.811426 0.809646 0.807607 0.805295
+0.802732 0.799892 0.796808 0.793444 0.789844 0.785961 0.781848 0.777453
+0.772829 0.767932 0.762804 0.757412 0.751786 0.745906 0.739791 0.733431
+0.726835 0.720004 0.712937 0.705644 0.698114 0.690369 0.682387 0.674201
+0.665778 0.657161 0.648309 0.63927 0.630003 0.620552 0.610883 0.601031
+0.590975 0.580738 0.570308 0.559699 0.548909 0.537944 0.526807 0.5155
+0.504032 0.492398 0.480614 0.468668 0.456584 0.444343 0.431974 0.419454
+0.406815 0.394035 0.381142 0.368119 0.354989 0.341741 0.328392 0.314936
+0.301385 0.287739 0.274004 0.260186 0.246286 0.232314 0.218267 0.204158
+0.189984 0.175758 0.161474 0.147149 0.132776 0.118369 0.103925 0.0894565
+0.0749619 0.06045 0.045923 0.0313872 0.0168467 0.00230663 -0.0122283
+-0.0267534 -0.0412639 -0.0557547 -0.0702221 -0.0846595 -0.0990649 -0.11343
+-0.127755 -0.142028 -0.156254 -0.170417 -0.184524 -0.19856 -0.212529
+-0.226419 -0.240233 -0.253959 -0.267599 -0.281144 -0.294592 -0.307938
+-0.321177 -0.334307 -0.347319 -0.360216 -0.372984 -0.385632 -0.398139
+-0.410522 -0.422752 -0.434853 -0.44679 -0.458591 -0.470223 -0.481708
+-0.493021 -0.504175 -0.515153 -0.525963 -0.536592 -0.547043 -0.55731
+-0.567386 -0.577277 -0.586967 -0.59647 -0.605762 -0.614866 -0.623748
+-0.63244 -0.6409 -0.649168 -0.657198 -0.665029 -0.672621 -0.680004
+-0.687148 -0.694076 -0.700763 -0.707225 -0.713448 -0.719436 -0.725187
+-0.730693 -0.735965 -0.740983 -0.745769 -0.750293 -0.754587 -0.758612
+-0.762409 -0.765928 -0.769221 -0.772235 -0.775017 -0.777523 -0.779791
+-0.781788 -0.783539 -0.785024 -0.786256 -0.787228 -0.787941 -0.788398
+-0.78859 -0.788533 -0.788206 -0.787632 -0.786783 -0.785696 -0.78433
+;
+#A 1000 -0.782732 -0.78085 -0.778739 -0.776349 -0.773728 -0.770835
+-0.767706 -0.764314 -0.760683 -0.756797 -0.752668 -0.748293 -0.743674
+-0.738816 -0.733712 -0.728378 -0.722796 -0.716994 -0.710942 -0.704679
+-0.698166 -0.691451 -0.684485 -0.677322 -0.669919 -0.662317 -0.654487
+;
+#X coords 0 1 1026 -1 513 140 1;
+#X restore 59 24 graph;
+#X obj 241 495 tabwrite~ \$0-wave;
+#X obj 271 469 metro 100;
+#X obj 231 225 hsl 128 15 20 2000 1 0 empty empty carrier_frequency
+-2 -8 1 12 -229338 -1 -1 5100 1;
+#X obj 271 389 t b f;
+#X msg 271 410 1;
+#X obj 286 433 /;
+#X floatatom 316 437 5 0 0 0 - - -;
+#X obj 271 367 / 100;
+#X text 8 532 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
+;
+#X text 225 547 released under the GNU GPL;
+#X obj 585 264 pddp_dsp;
+#X obj 201 326 f;
+#X text 117 190 Watch how a basic FM synth changes the waveform.;
+#X obj 432 450 dac~;
+#X connect 0 0 1 0;
+#X connect 1 0 8 0;
+#X connect 1 0 5 0;
+#X connect 2 0 1 1;
+#X connect 3 0 2 0;
+#X connect 4 0 5 1;
+#X connect 5 0 21 0;
+#X connect 5 0 21 1;
+#X connect 9 0 8 0;
+#X connect 10 0 0 0;
+#X connect 10 0 19 0;
+#X connect 11 0 12 0;
+#X connect 11 1 13 1;
+#X connect 12 0 13 0;
+#X connect 13 0 9 0;
+#X connect 13 0 14 0;
+#X connect 15 0 11 0;
+#X connect 19 0 15 0;
diff --git a/doc/tutorials/playnow/voice-fm.pd b/doc/tutorials/playnow/voice-fm.pd
index 0f3b100d..59db4080 100644
--- a/doc/tutorials/playnow/voice-fm.pd
+++ b/doc/tutorials/playnow/voice-fm.pd
@@ -1,4 +1,4 @@
-#N canvas 527 178 683 602 10;
+#N canvas 527 178 691 610 10;
#X obj 72 16 adc~;
#X obj 152 496 dac~;
#X obj 72 103 fiddle~;
@@ -21,7 +21,6 @@
#X obj 358 287 t b b b;
#X obj 342 412 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 367 379 makesymbol /Users/hans/Desktop/voice-fm-%s.wav;
#X obj 119 299 osc~;
#X obj 124 234 +~;
#X obj 140 203 *~;
@@ -33,13 +32,16 @@
#X text 17 539 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 236 555 released under the GNU GPL;
+#X text 395 255 click to record;
+#X obj 367 379 makesymbol voice-fm-%s.wav;
+#X obj 539 249 pddp_dsp;
#X connect 0 0 2 0;
#X connect 2 0 3 0;
#X connect 2 0 4 0;
#X connect 2 3 8 0;
-#X connect 2 3 25 0;
-#X connect 3 0 24 0;
-#X connect 3 0 26 0;
+#X connect 2 3 24 0;
+#X connect 3 0 23 0;
+#X connect 3 0 25 0;
#X connect 5 0 1 1;
#X connect 5 0 1 0;
#X connect 5 0 9 0;
@@ -48,19 +50,19 @@
#X connect 11 0 9 0;
#X connect 12 0 9 0;
#X connect 13 0 14 0;
-#X connect 13 0 19 0;
+#X connect 13 0 30 0;
#X connect 14 0 13 1;
#X connect 15 0 13 0;
#X connect 16 0 17 0;
#X connect 17 0 10 0;
#X connect 17 1 15 0;
#X connect 17 2 11 0;
-#X connect 19 0 18 0;
-#X connect 19 0 12 0;
-#X connect 20 0 5 0;
-#X connect 21 0 20 0;
-#X connect 22 0 21 1;
-#X connect 23 0 22 0;
-#X connect 24 0 21 0;
-#X connect 25 0 22 1;
-#X connect 26 0 23 0;
+#X connect 19 0 5 0;
+#X connect 20 0 19 0;
+#X connect 21 0 20 1;
+#X connect 22 0 21 0;
+#X connect 23 0 20 0;
+#X connect 24 0 21 1;
+#X connect 25 0 22 0;
+#X connect 30 0 18 0;
+#X connect 30 0 12 0;