From 8cc64f15b59e013ec82d41900e979f97b7ab56ad Mon Sep 17 00:00:00 2001 From: farvardin Date: Thu, 1 Oct 2020 23:59:53 +0200 Subject: [PATCH] updating synth --- README.md | 15 +- binaural_screenshot.png | Bin binaural_screenshot_android.jpg | Bin binauralsynth.pd | 275 ++---- droidparty_main.pd | 1437 +++++++++++++++++++++++++++++-- garvalf.png | Bin makefile | 0 mobmuplat.mmp | 0 readme.t2t | 15 +- 9 files changed, 1496 insertions(+), 246 deletions(-) mode change 100644 => 100755 README.md mode change 100644 => 100755 binaural_screenshot.png mode change 100644 => 100755 binaural_screenshot_android.jpg mode change 100644 => 100755 binauralsynth.pd mode change 100644 => 100755 droidparty_main.pd mode change 100644 => 100755 garvalf.png mode change 100644 => 100755 makefile mode change 100644 => 100755 mobmuplat.mmp mode change 100644 => 100755 readme.t2t diff --git a/README.md b/README.md old mode 100644 new mode 100755 index b7cffef..6c46dc2 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Some believe it might help focusing, or induce meditative states. We won't discu Binaural Beats are fun! They can create hypnotic drones or high frequencies madness! So let's create some with this simple synth. -## How does it sound like? +## What does it sound like? * https://clyp.it/ufkzshog * https://clyp.it/b4evitno @@ -20,9 +20,13 @@ Binaural Beats are fun! They can create hypnotic drones or high frequencies madn It works with: * [Pure Data (Pd) vanilla](https://puredata.info) - * [Purr Data](https://agraef.github.io/purr-data/) (a fork based on [Pd-L2Ork](http://l2ork.music.vt.edu/main/make-your-own-l2ork/software/), which is itself based on the now obsolete Pd Extended. + * [Purr Data](https://agraef.github.io/purr-data/) (a fork based on [Pd-L2Ork](http://l2ork.music.vt.edu/main/make-your-own-l2ork/software/)), which is itself based on the now obsolete Pd Extended. -Just start Pd or Purr-Data, and load the run.pd sketch. You can explore the inside of the synth by right-clicking the Binaural Synth and selecting "Open", or by loading the binauralsynth.pd sketch. +Just start Pd or Purr-Data, and load the droidparty_main.pd sketch. You can explore the inside of the synth by right-clicking the Binaural Synth and selecting "Open", or by loading the binauralsynth.pd sketch. + + * droidparty_main.pd is the interface, with some presets and demo sequences + * binauralsynth.pd is the engine itself + * you can find an example of a full "song" in the demos/sable folder ![](binaural_screenshot.png) @@ -30,8 +34,9 @@ You can change the base frequency (called carrier frequency), and the beat frequ In addition to the classic, "traditional" Sine wave, you can also add, by increasing their volume: - * a FM sound, driven by a few parameters (including the modulation frequency, mod depth, and FM wave). - * a phaser (sawtooth wave) sound (no parameter yet) + * a FM generator, driven by a few parameters (including the modulation frequency, mod depth, and FM wave). + * a phaser (sawtooth wave) generator + * a square generator * a white noise If you connect a MIDI keyboard, you should be able to play the frequencies with the keys! (monophonic) diff --git a/binaural_screenshot.png b/binaural_screenshot.png old mode 100644 new mode 100755 diff --git a/binaural_screenshot_android.jpg b/binaural_screenshot_android.jpg old mode 100644 new mode 100755 diff --git a/binauralsynth.pd b/binauralsynth.pd old mode 100644 new mode 100755 index 1c37fc0..eeb6343 --- a/binauralsynth.pd +++ b/binauralsynth.pd @@ -1,4 +1,4 @@ -#N canvas 754 148 1166 909 10; +#N canvas 190 148 1166 909 10; #X obj 599 -8 cnv 15 277 864 empty empty empty 46 13 0 14 -163105 -66577 0; #N canvas 399 117 877 871 output 0; @@ -73,7 +73,7 @@ patch.; #X connect 37 0 18 0; #X connect 38 0 18 0; #X coords 0 -1 1 1 65 55 1 300 200; -#X restore 435 267 pd output; +#X restore 432 278 pd output; #X text 774 114 Hz; #X text 776 755 noise resonance; #X floatatom 741 755 5 0 200 0 - noise_resonance_knob noise_resonance @@ -87,7 +87,7 @@ f 5; #X obj 121 188 pack 0 50; #X obj 137 231 line; #X obj 106 113 hsl 110 15 0 127 0 0 empty volume_phasor empty -2 -8 -0 10 -262144 -1 -1 0 1; +0 10 -262144 -1 -1 5150 1; #X obj 189 292 s phasor_volume; #X connect 0 0 1 0; #X connect 1 0 2 0; @@ -100,7 +100,7 @@ f 5; #X obj 121 188 pack 0 50; #X obj 137 231 line; #X obj 106 113 hsl 128 15 0 127 0 0 empty volume_noise empty -2 -8 -0 10 -262144 -1 -1 0 1; +0 10 -262144 -1 -1 1400 1; #X obj 121 298 s noise_volume; #X connect 0 0 1 0; #X connect 1 0 2 0; @@ -126,7 +126,7 @@ f 5; #X obj 121 188 pack 0 50; #X obj 137 231 line; #X obj 106 113 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 10000 1; +-1 -1 0 1; #X obj 121 34 loadbang; #X msg 121 59 100; #X obj 121 298 s sine_volume; @@ -143,7 +143,7 @@ f 5; #X obj 121 188 pack 0 50; #X obj 137 231 line; #X obj 106 113 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 5000 1; +-1 -1 7200 1; #X obj 121 34 loadbang; #X msg 121 59 50; #X obj 121 298 s FM_volume; @@ -157,15 +157,15 @@ f 5; #X restore 643 288 pd volume FM; #X floatatom 703 341 5 0 0 0 - - FM_Freq, f 5; #X floatatom 833 342 5 0 0 0 - - FM_mod_depth, f 5; -#X obj 410 236 r~ OUT_left; -#X obj 495 236 r~ OUT_right; +#X obj 409 236 r~ OUT_left; +#X obj 494 236 r~ OUT_right; #X text 743 341 FM mod depth:; #X text 614 115 Carrier Frequency:; #X text 614 150 Beat Frequency:; #X text 618 340 FM mod freq:; #X text 707 375 FM Wave; #N canvas 0 0 450 300 (subpatch) 0; -#X array pitchmod14 131 float 1 black black; +#X array pitchmod14 131 float 1; #A 0 -0.423689 -0.345228 -0.313844 -0.298151 -0.282459 -0.266767 -0.258921 -0.251075 -0.235382 -0.21969 -0.211844 -0.203998 -0.188306 -0.28247 -0.266777 -0.261546 -0.256315 -0.251085 -0.251085 -0.251085 -0.245854 @@ -191,13 +191,13 @@ f 5; #X text 642 756 noise cut off; #X obj 831 205 / 100; #X obj 828 591 nbx 2 15 1 99 0 0 square_pwm square_pwm_knob empty 0 --8 0 12 -179695 -1 -1 23 256 0; +-8 0 12 -179695 -1 -1 89.7638 256; #N canvas 661 204 616 414 volume 0; #X obj 121 161 / 127; #X obj 121 188 pack 0 50; #X obj 137 231 line; #X obj 106 113 hsl 110 15 0 127 0 0 empty volume_square empty -2 -8 -0 10 -262144 -1 -1 0 1; +0 10 -262144 -1 -1 5150 1; #X obj 121 298 s square_volume; #X connect 0 0 1 0; #X connect 1 0 2 0; @@ -206,7 +206,7 @@ f 5; #X coords 0 -1 1 1 125 40 1 100 100; #X restore 747 533 pd volume square; #X text 777 590 sq pwm:; -#N canvas 133 259 1015 920 pdpulp 0; +#N canvas 123 160 1015 920 pdpulp 0; #X obj 100 -10 loadbang; #X obj 50 100 s pdpulp_p1; #X obj 87 218 r pdpulp_p1; @@ -282,167 +282,61 @@ f 5; #X connect 36 0 10 0; #X connect 37 0 11 0; #X restore 900 634 pd pdpulp; -#N canvas 151 141 851 569 knobs 0; -#X obj 183 121 s Beat_Frequency; -#X obj 49 48 ctlin 74; -#X obj 50 121 s Main_Frequency; -#X obj 185 48 ctlin 71; +#N canvas 0 107 851 569 knobs 1; +#X obj 48 43 ctlin 74; +#X obj 207 43 ctlin 71; #X text 49 163 Midi CC control for a few parameters (made for Behringer ULA25S \, adapt it for your own device); -#X obj 67 90 * 2; -#X obj 209 90 * 0.5; +#X obj 66 85 * 2; +#X obj 231 85 * 0.5; #X obj 55 231 ctlin 7; #X obj 82 268 * 1; #X obj 56 299 s master_volume; -#X obj 406 48 ctlin 75; -#X obj 287 47 ctlin 73; -#X obj 417 79 * 10; -#X obj 299 83 * 5; -#X obj 520 46 ctlin 72; +#X obj 492 44 ctlin 75; +#X obj 364 44 ctlin 73; +#X obj 503 75 * 10; +#X obj 376 80 * 5; +#X obj 510 331 ctlin 72; #X obj 631 47 ctlin 91; -#X obj 738 48 ctlin 93; -#X obj 751 165 ctlin 10; -#X obj 519 115 s volume_square; -#X obj 531 77 * 1; -#X obj 630 116 s square_pwm; +#X obj 620 216 ctlin 93; +#X obj 637 357 ctlin 10; +#X obj 600 308 s volume_square; +#X obj 521 362 * 1; #X obj 642 78 / 1.27; -#X obj 737 117 s volume_phasor; -#X obj 750 234 s volume_noise; -#X obj 749 79 * 1; -#X obj 762 196 * 1; -#X obj 306 119 s FM_Freq_knob; -#X obj 398 119 s FM_mod_depth_knob; -#X connect 1 0 5 0; -#X connect 3 0 6 0; -#X connect 5 0 2 0; -#X connect 6 0 0 0; -#X connect 7 0 8 0; -#X connect 8 0 9 0; -#X connect 10 0 12 0; -#X connect 11 0 13 0; -#X connect 12 0 27 0; -#X connect 13 0 26 0; -#X connect 14 0 19 0; -#X connect 15 0 21 0; -#X connect 16 0 24 0; -#X connect 17 0 25 0; -#X connect 19 0 18 0; -#X connect 21 0 20 0; -#X connect 24 0 22 0; -#X connect 25 0 23 0; -#X restore 901 662 pd knobs; +#X obj 619 285 s volume_phasor; +#X obj 636 426 s volume_noise; +#X obj 631 247 * 1; +#X obj 648 388 * 1; +#X obj 357 116 s FM_Freq_knob; +#X obj 484 115 s FM_mod_depth_knob; +#X obj 49 116 s Main_Frequency_knob; +#X obj 205 116 s Beat_Frequency_knob; +#X obj 630 116 s square_pwm_knob; +#X obj 491 430 s phase_cutoff_knob; +#X connect 0 0 3 0; +#X connect 1 0 4 0; +#X connect 3 0 25 0; +#X connect 4 0 26 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 8 0 10 0; +#X connect 9 0 11 0; +#X connect 10 0 24 0; +#X connect 11 0 23 0; +#X connect 12 0 17 0; +#X connect 13 0 18 0; +#X connect 14 0 21 0; +#X connect 15 0 22 0; +#X connect 17 0 28 0; +#X connect 18 0 27 0; +#X connect 21 0 19 0; +#X connect 21 0 16 0; +#X connect 22 0 20 0; +#X restore 899 596 pd knobs; #X obj 449 376 r master_volume; -#N canvas 324 268 951 474 keyboard 0; -#X msg 108 144 C; -#X msg 109 190 66; -#X msg 174 190 74.25; -#X msg 173 144 D; -#X msg 233 144 E; -#X msg 297 144 F; -#X msg 348 144 G; -#X msg 400 144 A; -#X msg 454 145 B; -#X msg 508 144 C; -#X msg 234 190 82.5; -#X msg 298 190 88; -#X msg 349 190 99; -#X msg 401 190 110; -#X msg 454 190 123.75; -#X msg 512 190 132; -#X msg 139 71 C#; -#X msg 204 71 D#; -#X msg 328 71 F#; -#X msg 379 71 G#; -#X msg 431 71 A#; -#X msg 140 117 68.75; -#X msg 205 117 77.34; -#X msg 329 117 92.81; -#X msg 380 117 103.13; -#X msg 432 117 116.02; -#X obj 313 308 *; -#X floatatom 577 258 5 0 0 0 - - -, f 5; -#X msg 650 191 0.5; -#X obj 599 38 loadbang; -#X msg 695 191 1; -#X msg 735 191 2; -#X text 695 229 octave; -#X msg 778 191 3; -#X obj 313 365 s Main_Frequency_knob; -#X obj 64 98 r key-C; -#X obj 174 92 r key-D; -#X obj 683 60 r key-octave-1; -#X obj 782 93 r key-octave-2; -#X obj 807 139 r key-octave-3; -#X obj 202 29 r key-Ds; -#X obj 119 30 r key-Cs; -#X obj 235 89 r key-E; -#X obj 294 92 r key-F; -#X obj 347 93 r key-G; -#X obj 407 92 r key-A; -#X obj 471 91 r key-B; -#X obj 534 93 r key-C2; -#X obj 467 29 r key-As; -#X obj 397 20 r key-Gs; -#X obj 314 21 r key-Fs; -#X obj 640 101 r key-octave-0; -#X obj 845 169 r key-octave-4; -#X msg 816 221 4; -#X connect 0 0 1 0; -#X connect 1 0 26 0; -#X connect 2 0 26 0; -#X connect 3 0 2 0; -#X connect 4 0 10 0; -#X connect 5 0 11 0; -#X connect 6 0 12 0; -#X connect 7 0 13 0; -#X connect 8 0 14 0; -#X connect 9 0 15 0; -#X connect 10 0 26 0; -#X connect 11 0 26 0; -#X connect 12 0 26 0; -#X connect 13 0 26 0; -#X connect 14 0 26 0; -#X connect 15 0 26 0; -#X connect 16 0 21 0; -#X connect 17 0 22 0; -#X connect 18 0 23 0; -#X connect 19 0 24 0; -#X connect 20 0 25 0; -#X connect 21 0 26 0; -#X connect 22 0 26 0; -#X connect 23 0 26 0; -#X connect 24 0 26 0; -#X connect 25 0 26 0; -#X connect 26 0 34 0; -#X connect 27 0 26 1; -#X connect 28 0 27 0; -#X connect 29 0 28 0; -#X connect 30 0 27 0; -#X connect 31 0 27 0; -#X connect 33 0 27 0; -#X connect 35 0 0 0; -#X connect 36 0 3 0; -#X connect 37 0 30 0; -#X connect 38 0 31 0; -#X connect 39 0 33 0; -#X connect 40 0 17 0; -#X connect 41 0 16 0; -#X connect 42 0 4 0; -#X connect 43 0 5 0; -#X connect 44 0 6 0; -#X connect 45 0 7 0; -#X connect 46 0 8 0; -#X connect 47 0 9 0; -#X connect 48 0 20 0; -#X connect 49 0 19 0; -#X connect 50 0 18 0; -#X connect 51 0 28 0; -#X connect 52 0 53 0; -#X connect 53 0 27 0; -#X restore 901 689 pd keyboard; #X obj 907 238 r FM_Freq_knob; #X obj 895 295 r FM_mod_depth_knob; -#N canvas 634 261 450 346 midi_input 0; +#N canvas 624 251 450 346 midi_input 0; #X obj 260 131 mtof; #X obj 66 89 pack 0 0 0; #X obj 94 118 route 1; @@ -465,7 +359,7 @@ ULA25S \, adapt it for your own device); #X connect 7 1 4 1; #X restore 447 22 pd midi_input; #X obj 890 180 s Beat_Frequency_final; -#N canvas 226 254 834 667 initialise 0; +#N canvas 206 234 834 667 initialise 0; #X obj 406 -152 metro; #X floatatom 416 -183 5 0 0 0 - - -, f 5; #X obj 379 -164 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 @@ -523,7 +417,7 @@ ULA25S \, adapt it for your own device); #X connect 16 0 23 0; #X connect 16 0 24 0; #X restore 448 49 pd initialise; -#N canvas 0 0 450 300 not_used 0; +#N canvas 0 98 450 300 not_used 0; #N canvas 1103 233 616 368 volume 0; #X obj 121 161 / 127; #X obj 121 188 pack 0 50; @@ -574,7 +468,7 @@ ULA25S \, adapt it for your own device); #X connect 11 0 10 0; #X connect 12 0 13 0; #X restore 454 152 pd mobmuplat; -#N canvas 8 210 847 847 engine 0; +#N canvas 95 192 847 847 engine 0; #X floatatom 198 -83 5 0 0 0 - - -, f 5; #X floatatom 430 -94 5 0 0 0 - - -, f 5; #X obj 481 -23 osc~ 128; @@ -586,10 +480,10 @@ ULA25S \, adapt it for your own device); #X obj 452 36 phasor~; #X obj 491 108 *~; #X obj 309 87 *~; -#N canvas 1057 150 730 649 FM 0; -#X text 77 65 frequency; +#N canvas 76 118 730 649 FM 0; +#X text 79 67 frequency; #X floatatom 95 199 4 0 0 0 - - -, f 4; -#X text 78 50 modulation; +#X text 80 52 modulation; #X obj 80 170 *~; #X text 130 142 modulation; #X text 130 156 depth; @@ -603,7 +497,6 @@ ULA25S \, adapt it for your own device); #X floatatom 163 69 5 0 0 0 - - -, f 5; #X obj 304 47 r FM_mod_depth; #X obj 231 22 r FM_Freq; -#X text 289 169 test, f 6; #X connect 1 0 7 1; #X connect 3 0 7 0; #X connect 6 0 3 1; @@ -614,7 +507,7 @@ ULA25S \, adapt it for your own device); #X connect 14 0 6 0; #X connect 15 0 13 0; #X restore 278 -57 pd FM; -#N canvas 1059 367 730 603 FM 0; +#N canvas 1081 197 730 603 FM 0; #X text 77 65 frequency; #X floatatom 95 199 4 0 0 0 - - -, f 4; #X text 78 50 modulation; @@ -643,7 +536,7 @@ ULA25S \, adapt it for your own device); #X restore 479 -52 pd FM; #X obj 106 -44 osc~ 120; #X obj 574 65 *~; -#X obj 79 44 *~; +#X obj 72 40 *~; #X obj 80 192 s~ OUT_left; #X obj 432 286 s~ OUT_right; #X obj 221 -211 r Main_Frequency; @@ -652,7 +545,7 @@ ULA25S \, adapt it for your own device); #X obj 47 210 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 59 235 metro 100; -#N canvas 1110 106 450 323 square~ 0; +#N canvas 1100 98 450 323 square~ 0; #X obj 111 45 phasor~; #X obj 94 6 inlet; #X obj 124 157 outlet~; @@ -664,8 +557,8 @@ ULA25S \, adapt it for your own device); #X connect 3 0 2 0; #X connect 4 0 5 0; #X connect 5 0 3 1; -#X restore 126 22 pd square~; -#N canvas 1245 277 450 300 square~ 0; +#X restore 130 27 pd square~; +#N canvas 1225 257 450 300 square~ 0; #X obj 111 45 phasor~; #X obj 94 6 inlet; #X obj 124 157 outlet~; @@ -677,7 +570,7 @@ ULA25S \, adapt it for your own device); #X connect 3 0 2 0; #X connect 4 0 5 0; #X connect 5 0 3 1; -#X restore 534 5 pd square~; +#X restore 566 -52 pd square~; #X obj 495 250 r~ noise_OUT_right; #X obj 31 135 r~ noise_OUT_left; #X obj 345 -212 r Beat_Frequency_final; @@ -691,6 +584,7 @@ ULA25S \, adapt it for your own device); #X obj 392 201 r~ phase_OUT_right; #X obj 87 75 s~ square_left; #X obj 666 42 s~ square_right; +#X text 22 -183 This one is the main engine; #X connect 0 0 7 0; #X connect 0 0 11 0; #X connect 0 0 13 0; @@ -733,16 +627,16 @@ ULA25S \, adapt it for your own device); #X connect 33 0 16 0; #X connect 35 0 17 0; #X restore 448 77 pd engine; -#N canvas 261 241 1022 683 phase_sq_filter 0; +#N canvas 52 139 1022 683 phase_sq_filter 0; #X obj 388 150 *~, f 7; -#X obj 384 490 bob~; +#X obj 399 508 bob~; #X obj 769 143 / 25; #X obj 411 253 line~; #X obj 808 143 mtof; #X obj 814 241 pack 0 50; #X floatatom 810 190 7 0 0 0 - - -, f 7; -#X obj 172 498 bob~; -#X obj 273 457 +; +#X obj 169 506 bob~; +#X obj 297 439 +; #X obj 158 391 -; #X obj 212 259 / 2; #X obj 346 369 line; @@ -758,7 +652,7 @@ ULA25S \, adapt it for your own device); #X obj 586 430 *~, f 7; #X obj 768 439 *~, f 7; #X obj 808 314 r~ square_right; -#X obj 687 349 r square_volume; +#X obj 693 357 r square_volume; #X obj 573 336 r~ square_left; #X connect 0 0 7 0; #X connect 1 0 20 0; @@ -834,19 +728,30 @@ ULA25S \, adapt it for your own device); #X restore 447 126 pd noise_filter; #X floatatom 740 621 5 0 200 0 - phase_resonance_knob phase_resonance , f 5; -#X floatatom 608 622 5 0 140 0 - phase_cutoff_knob phase_cutoff, f +#X floatatom 605 622 5 0 140 0 - phase_cutoff_knob phase_cutoff, f 5; #X floatatom 635 652 5 0 0 0 - phase_panning_knob phase_panning, f 5; #X text 641 622 phase cut off; #X text 775 621 phase resonance; #X text 677 653 phase cutt off panning effect; +#X obj 902 723 s Main_Frequency_knob; +#X obj 901 689 keyboard; +#X obj 904 765 loadbang; +#X msg 904 802 Binaural Synth by Garvalf; +#X obj 904 833 print -n; +#N canvas 45 322 450 323 README 0; +#X msg 68 93 https://github.com/farvardin/binaural-synth; +#X restore 900 565 pd README; #X connect 5 0 14 0; #X connect 6 0 34 0; -#X connect 14 0 45 0; +#X connect 14 0 44 0; #X connect 23 0 1 0; #X connect 24 0 1 1; #X connect 34 0 14 1; -#X connect 42 0 21 0; -#X connect 43 0 22 0; +#X connect 41 0 21 0; +#X connect 42 0 22 0; +#X connect 58 0 57 0; +#X connect 59 0 60 0; +#X connect 60 0 61 0; #X coords 0 0 1 1 280 750 0; diff --git a/droidparty_main.pd b/droidparty_main.pd old mode 100644 new mode 100755 index ea6b8d0..d864d57 --- a/droidparty_main.pd +++ b/droidparty_main.pd @@ -1,5 +1,5 @@ -#N canvas 15 94 1102 927 12; -#N canvas 730 108 648 541 sequence 0; +#N canvas 360 138 1102 679 12; +#N canvas 1177 340 648 541 sequence 0; #X floatatom 283 73 8 0 0 0 - - -, f 8; #X msg 38 209 300; #X msg 75 209 8; @@ -53,7 +53,7 @@ and beats, f 29; #X connect 19 0 0 0; #X connect 21 0 19 0; #X restore 663 209 pd sequence; -#N canvas 2140 115 783 902 presets 0; +#N canvas 354 363 783 679 presets 0; #X text 291 28 Disclamer: Those presets are only for educational/entertainment purposes and are not claimed to be based on scientifical researches. ; @@ -61,7 +61,7 @@ purposes and are not claimed to be based on scientifical researches. #X obj 602 188 s Main_Frequency_knob; #X msg 36 42 Lucid Dreaming \; mfk 174 \; bfk 3; #X obj 512 120 r mfk; -#X obj 566 325 r bfk; +#X obj 565 217 r bfk; #X msg 30 163 Astral Projection \; mfk 852 \; bfk 6; #X obj 31 125 r preset_astral_projection; #X obj 36 16 r preset_lucid_dreaming; @@ -79,6 +79,15 @@ purposes and are not claimed to be based on scientifical researches. #X obj 556 639 r preset_gamma; #X msg 305 665 alpha \; mfk 108 \; bfk 10; #X msg 553 677 gamma \; mfk 108 \; bfk 50; +#X obj 12 231 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 16 336 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 10 28 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 355 223 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X msg 395 342 Seq01 \; mfk 73.42 \; bfk 2; #X connect 4 0 2 0; #X connect 5 0 1 0; #X connect 7 0 6 0; @@ -90,6 +99,10 @@ purposes and are not claimed to be based on scientifical researches. #X connect 17 0 21 0; #X connect 18 0 19 0; #X connect 20 0 22 0; +#X connect 23 0 9 0; +#X connect 24 0 12 0; +#X connect 25 0 3 0; +#X connect 26 0 27 0; #X restore 664 181 pd presets; #N canvas 1009 134 603 417 volume 0; #X obj 121 161 / 127; @@ -180,7 +193,7 @@ bang is clicked); #X connect 4 0 0 0; #X coords 0 -1 1 1 140 40 1 100 100; #X restore 667 409 pd volume noise; -#N canvas 47 114 1035 849 variate 0; +#N canvas 2070 126 1035 849 variate 0; #X msg 156 41 bang; #X obj 144 96 metro; #X floatatom 223 93 5 0 0 0 - - -, f 5; @@ -269,11 +282,11 @@ bang is clicked); #X obj 393 49 vsl 20 100 100 800 0 1 empty empty empty 0 -9 0 10 -204786 -1 -1 2800 1; #X obj 153 153 vsl 20 100 1 20 0 1 empty rand_beat_freq empty 0 -9 -0 10 -204786 -1 -1 3800 1; +0 10 -204786 -1 -1 900 1; #X obj 535 322 vsl 20 100 1 30 0 1 empty rand_fm_freq empty 0 -9 0 -10 -204786 -1 -1 6500 1; +10 -204786 -1 -1 1100 1; #X obj 647 140 vsl 20 100 1 100 0 1 empty rand_noise_cutoff empty 0 --9 0 10 -204786 -1 -1 6300 1; +-9 0 10 -204786 -1 -1 7300 1; #N canvas 144 144 450 616 randomize 0; #X obj 85 18 inlet; #X obj 118 425 outlet; @@ -307,7 +320,7 @@ bang is clicked); #X connect 14 0 13 1; #X restore 793 167 pd randomize; #X obj 892 36 vsl 20 100 1 100 0 1 empty rand_noise_resonance empty -0 -9 0 10 -204786 -1 -1 3800 1; +0 -9 0 10 -204786 -1 -1 8400 1; #X msg 800 69 stop; #N canvas 591 147 1 1 randomize 0; #X obj 85 18 inlet; @@ -342,7 +355,7 @@ bang is clicked); #X connect 14 0 13 1; #X restore 853 492 pd randomize; #X obj 952 361 vsl 20 100 1 100 0 1 empty rand_noise_panning empty -0 -9 0 10 -204786 -1 -1 5400 1; +0 -9 0 10 -204786 -1 -1 7200 1; #X msg 860 394 stop; #X obj 844 585 s noise_panning_knob; #X obj 529 460 r random_FM; @@ -399,7 +412,7 @@ bang is clicked); #X obj 688 250 binauralsynth; #X obj 656 58 cnv 15 197 36 empty empty BinauralSynth 24 15 0 18 -163127 -66577 0; -#N canvas 1009 134 603 417 volume 0; +#N canvas 370 169 603 417 volume 0; #X obj 121 161 / 127; #X obj 121 188 pack 0 50; #X obj 137 231 line; @@ -436,34 +449,34 @@ bang is clicked); #X obj -1 0 cnv 16 550 280 empty empty empty 20 12 0 14 -262065 -66577 0; #X obj 59 70 vsl 20 100 0 440 0 1 Main_Frequency_knob yellow-vsl empty -0 -9 0 10 -262114 -1 -1 2550 1; +0 -9 0 10 -262114 -1 -1 4750 1; #X obj 204 71 vsl 20 100 0 64 0 1 Beat_Frequency_knob green-vsl empty -0 -9 0 10 -204786 -1 -1 850 1; +0 -9 0 10 -204786 -1 -1 200 1; #X obj 187 41 nbx 5 20 -1e+37 1e+37 0 1 Beat_Frequency_final Beat_Frequency_knob -empty 0 -8 0 10 -204786 -1 -1 5.17172 256; +empty 0 -8 0 10 -204786 -1 -1 1.29293 256; #X text 254 41 Hz; #X text 106 42 Hz; #X obj 37 42 nbx 5 20 -1e+37 1e+37 0 1 Main_Frequency Main_Frequency_knob -empty 0 -8 0 10 -262130 -1 -1 37.125 256; +empty 0 -8 0 10 -262130 -1 -1 208.889 256; #X text 14 14 Carrier Frequency; #X text 166 14 Beat Frequency; #X text 359 127 Sine Volume; #X obj 347 146 hsl 100 20 0 100 0 1 sine_volume_knob empty empty -2 --8 0 10 -228856 -1 -1 8200 1; +-8 0 10 -228856 -1 -1 6100 1; #X obj 347 195 hsl 100 20 0 100 0 1 FM_volume_knob empty empty -2 -8 -0 10 -228856 -1 -1 3100 1; +0 10 -228856 -1 -1 4200 1; #X text 360 176 FM Volume; #X obj 507 242 bng 30 250 50 0 \$0-nextview1 empty next 4 15 0 10 -245092 -1 -16645; #X obj 460 151 nbx 4 20 -1e+37 1e+37 0 1 empty sine_volume_knob empty -0 -8 0 10 -167479 -1 -1 82.8283 256; +0 -8 0 10 -167479 -1 -1 61.6162 256; #X obj 460 200 nbx 4 20 -1e+37 1e+37 0 1 empty FM_volume_knob empty -0 -8 0 10 -167479 -1 -1 31.3131 256; +0 -8 0 10 -167479 -1 -1 42.4242 256; #X obj 347 87 hsl 100 20 0 110 0 1 master_volume_knob empty empty -2 --8 0 10 -228856 -1 -1 9000 1; +-8 0 10 -228856 -1 -1 8200 1; #X text 362 68 Main Volume; #X obj 460 92 nbx 4 20 -1e+37 1e+37 0 1 empty master_volume_knob empty -0 -8 0 10 -167479 -1 -1 100 256; +0 -8 0 10 -167479 -1 -1 91.1111 256; #X obj -1 280 cnv 16 550 280 empty empty empty 20 12 0 14 -262057 -66577 0; #X obj 507 522 bng 30 250 50 0 \$0-nextview2 empty next 4 15 0 10 -245092 @@ -506,19 +519,19 @@ empty 0 -8 0 10 -262130 -1 -1 37.125 256; #X obj 472 522 bng 30 250 50 0 \$0-nextview0 empty prev 4 15 0 10 -245092 -1 -1; #X obj 25 347 hsl 100 20 0 100 0 1 phasor_volume_knob empty empty -2 --8 0 10 -228856 -1 -1 0 1; +-8 0 10 -228856 -1 -1 2400 1; #X obj 139 347 nbx 4 20 -1e+37 1e+37 0 0 empty phasor_volume_knob empty -0 -8 0 10 -167479 -1 -1 0 256; +0 -8 0 10 -167479 -1 -1 24.2424 256; #X obj 25 407 hsl 100 20 0 100 0 1 square_volume_knob empty empty -2 --8 0 10 -228856 -1 -1 200 1; +-8 0 10 -228856 -1 -1 2500 1; #X obj 139 407 nbx 4 20 -1e+37 1e+37 0 0 empty square_volume_knob empty -0 -8 0 10 -167479 -1 -1 2.0202 256; +0 -8 0 10 -167479 -1 -1 25.2525 256; #X text 39 320 Phasor Volume; #X text 39 380 Square Volume; #X obj 24 466 hsl 50 20 1 50 0 1 square_pwm_knob empty empty -2 -8 -0 10 -228856 -1 -1 2000 1; +0 10 -228856 -1 -1 500 1; #X obj 85 466 nbx 4 20 1 99 0 1 empty square_pwm empty 0 -8 0 10 -167479 --1 -1 21 256; +-1 -1 40.1575 256; #X text 38 439 Square PWM; #X obj 507 802 bng 30 250 50 0 \$0-nextview3 empty next 4 15 0 10 -245092 -1 -1; @@ -589,31 +602,31 @@ empty 0 -8 0 10 -262130 -1 -1 37.125 256; #X connect 9 0 8 0; #X coords 0 -1 1 1 250 180 1 82 64; #X restore 622 664 pd Visu; -#X obj 209 351 vsl 20 100 0 150 0 1 phase_cutoff_knob empty empty 0 --9 0 10 -179199 -1 -1 3250 1; +#X obj 209 351 vsl 20 100 0 150 0 1 phase_cutoff_knob phase_cutoff_knob +empty 0 -9 0 10 -179199 -1 -1 5214 1; #X obj 280 351 vsl 20 100 0 120 0 1 phase_resonance_knob empty empty -0 -9 0 10 -179199 -1 -1 1500 1; +0 -9 0 10 -179199 -1 -1 5600 1; #X obj 267 316 nbx 4 20 -1e+37 1e+37 0 0 phase_resonance phase_resonance_knob -empty 0 -8 0 10 -167479 -1 -1 18.1818 256; +empty 0 -8 0 10 -167479 -1 -1 94.8788 256; #X obj 196 316 nbx 4 20 -1e+37 1e+37 0 0 phase_cutoff phase_cutoff_knob -empty 0 -8 0 10 -167479 -1 -1 48.4848 256; +empty 0 -8 0 10 -167479 -1 -1 70 256; #X text 253 462 resonance; #X text 192 462 cut off; #X text 223 290 Phase + Sq; #X obj 334 281 cnv 15 215 220 empty empty empty 24 15 0 18 -215543 -66577 0; #X obj 359 350 vsl 20 100 0 140 0 1 noise_cutoff_knob empty empty 0 --9 0 10 -261234 -1 -1 4650 1; +-9 0 10 -261234 -1 -1 3850 1; #X obj 430 350 vsl 20 100 0 120 0 1 noise_resonance_knob empty empty -0 -9 0 10 -261234 -1 -1 1800 1; +0 -9 0 10 -261234 -1 -1 7500 1; #X obj 417 315 nbx 4 20 -1e+37 1e+37 0 0 noise_resonance noise_resonance_knob -empty 0 -8 0 10 -167479 -1 -1 21.8182 256; +empty 0 -8 0 10 -167479 -1 -1 90.9091 256; #X obj 485 315 nbx 4 20 -1e+37 1e+37 0 0 noise_panning noise_panning_knob -empty 0 -8 0 10 -167479 -1 -1 80 256; +empty 0 -8 0 10 -167479 -1 -1 52.1212 256; #X obj 346 315 nbx 4 20 -1e+37 1e+37 0 0 noise_cutoff noise_cutoff_knob -empty 0 -8 0 10 -167479 -1 -1 65.0505 256; +empty 0 -8 0 10 -167479 -1 -1 53.7374 256; #X obj 500 350 vsl 20 100 0 120 0 1 noise_panning_knob empty empty -0 -9 0 10 -261234 -1 -1 6650 1; +0 -9 0 10 -261234 -1 -1 4350 1; #X text 415 289 Noise; #X text 403 461 resonance; #X text 342 461 cut off; @@ -621,11 +634,11 @@ empty 0 -8 0 10 -167479 -1 -1 65.0505 256; #X obj 274 489 cnv 15 179 67 empty empty empty 24 15 0 18 -215543 -66577 0; #X obj 283 529 hsl 100 20 0 60 0 0 noise_volume_knob empty empty -2 --8 0 10 -228856 -1 -1 0 1; +-8 0 10 -228856 -1 -1 8100 1; #X text 297 502 Noise Volume; #X obj 397 529 nbx 4 20 -1e+37 1e+37 0 0 empty noise_volume_knob empty -0 -8 0 10 -167479 -1 -1 0 256; -#N canvas 66 221 1 1 randommelody 0; +0 -8 0 10 -167479 -1 -1 49.0909 256; +#N canvas 987 136 746 561 randommelody 0; #X obj 113 28 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 150 73 metro 100; @@ -669,37 +682,37 @@ empty 0 -8 0 10 -167479 -1 -1 65.0505 256; 10 -245092 -1 -1; #X text 267 1135 Random; #X obj 93 1190 vsl 20 100 1 30 0 1 rand_fm_freq empty empty 0 -9 0 -10 -88489 -1 -1 6500 1; -#X obj 92 1159 tgl 24 0 random_FM empty empty 17 7 0 10 -262144 -1 +10 -88489 -1 -1 1100 1; +#X obj 93 1160 tgl 24 0 random_FM empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 189 1190 vsl 20 100 1 20 0 1 rand_beat_freq empty empty 0 -9 -0 10 -204786 -1 -1 3800 1; +0 10 -204786 -1 -1 900 1; #X obj -1 188 cnv 15 334 93 empty empty empty 24 15 0 18 -162999 -66577 0; #X text 25 201 FM mod freq:; #X text 18 232 FM mod depth:; #X obj 246 239 nbx 5 20 -1e+37 1e+37 0 1 FM_mod_depth FM_mod_depth_knob -empty 0 -8 0 10 -262144 -1 -1 21.8182 256; +empty 0 -8 0 10 -262144 -1 -1 1010 256; #X obj 125 234 hsl 100 20 0 120 0 1 FM_mod_depth_knob empty empty -2 --8 0 10 -228856 -1 -1 1800 1; +-8 0 10 -228856 -1 -1 0 1; #X obj 246 203 nbx 5 20 -1e+37 1e+37 0 1 FM_Freq FM_Freq_knob empty -0 -8 0 10 -262144 -1 -1 196.97 256; +0 -8 0 10 -262144 -1 -1 485 256; #X obj 125 198 hsl 100 20 0 300 0 1 FM_Freq_knob empty empty -2 -8 -0 10 -228856 -1 -1 6500 1; +0 10 -228856 -1 -1 0 1; #X obj 472 242 bng 30 250 50 0 \$0-nextview4 empty prev 4 15 0 10 -245092 -99800 -1; #X obj 352 0 cnv 15 197 36 empty empty empty 24 15 0 18 -163127 -66577 0; #X text 376 15 :: Binaural Synth ::; #X obj 304 1190 vsl 20 100 1 100 0 1 rand_noise_cutoff empty empty -0 -9 0 10 -178037 -1 -1 6300 1; +0 -9 0 10 -178037 -1 -1 7300 1; #X text 274 1302 Noise Cutoff; #X text 159 1302 Beat Freq; #X text 75 1302 FM Freq; #X obj 385 1190 vsl 20 100 1 100 0 1 rand_noise_resonance empty empty -0 -9 0 10 -178037 -1 -1 3800 1; +0 -9 0 10 -178037 -1 -1 8400 1; #X obj 468 1190 vsl 20 100 1 100 0 1 rand_noise_panning empty empty -0 -9 0 10 -178037 -1 -1 5450 1; +0 -9 0 10 -178037 -1 -1 7250 1; #X text 466 1302 panning; #X text 364 1302 Noise Reson.; #X obj 187 1159 tgl 24 0 random_beat empty empty 17 7 0 10 -262144 @@ -710,3 +723,1325 @@ empty 0 -8 0 10 -262144 -1 -1 21.8182 256; 0; #X obj 333 0 cnv 15 13 52 empty empty empty 24 15 0 18 -163127 -66577 0; +#N canvas 1920 121 1277 827 sequence2 0; +#X obj 208 623 qlist; +#X msg 630 372 tempo \$1 \, rewind \, bang; +#X floatatom 550 318 5 0.25 5 0 - - -, f 5; +#X msg 717 189 1; +#X msg 718 233 2; +#X msg 653 188 0.75; +#X msg 602 189 0.4; +#X obj 59 617 qlist; +#X obj 332 626 qlist; +#X msg 507 189 0.1; +#X msg 550 189 0.2; +#X floatatom 346 183 5 0 200 0 - - -, f 5; +#X floatatom 346 247 5 0 0 0 - - -, f 5; +#X obj 346 218 / 100; +#X obj 364 567 r read_seq_info; +#X obj 630 421 s read_seq_info; +#X floatatom 740 561 5 0 200 0 - - -, f 5; +#X floatatom 740 622 5 0 0 0 - - -, f 5; +#X obj 740 593 / 100; +#X msg 740 527 50; +#X msg 685 662 tempo \$1 \, rewind \, bang; +#X msg 607 535 read seq05.txt; +#X obj 275 723 print; +#X msg 346 152 100; +#X msg 83 530 read seq01.txt; +#X msg 202 531 read seq02.txt; +#X obj 532 678 qlist; +#X msg 538 599 read seq03.txt; +#X msg 340 531 read seq04.txt; +#X obj 114 152 delay 150; +#X obj 258 327 delay 170; +#X obj 249 94 delay 180; +#X obj 636 569 qlist; +#X obj 408 335 delay 160; +#X text 435 122 load sequences for altering volumes and filters; +#X obj 939 248 s engine02_volume; +#X msg 887 139 0; +#X obj 934 179 s noise_volume_knob; +#X obj 938 216 s sine_volume_knob; +#X obj 989 76 s FM_volume_knob; +#X obj 1057 141 s phasor_volume_knob; +#X obj 1040 103 s square_volume_knob; +#X obj 841 75 delay 100; +#X obj 138 55 x-loadbang; +#X connect 1 0 15 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X connect 4 0 2 0; +#X connect 5 0 2 0; +#X connect 6 0 2 0; +#X connect 9 0 2 0; +#X connect 10 0 2 0; +#X connect 11 0 13 0; +#X connect 12 0 2 0; +#X connect 13 0 12 0; +#X connect 14 0 0 0; +#X connect 14 0 7 0; +#X connect 14 0 8 0; +#X connect 14 0 32 0; +#X connect 14 0 26 0; +#X connect 16 0 18 0; +#X connect 17 0 20 0; +#X connect 18 0 17 0; +#X connect 19 0 16 0; +#X connect 21 0 32 0; +#X connect 23 0 11 0; +#X connect 24 0 7 0; +#X connect 24 0 22 0; +#X connect 25 0 0 0; +#X connect 27 0 26 0; +#X connect 28 0 8 0; +#X connect 29 0 24 0; +#X connect 29 0 25 0; +#X connect 30 0 28 0; +#X connect 30 0 21 0; +#X connect 31 0 23 0; +#X connect 33 0 27 0; +#X connect 36 0 35 0; +#X connect 36 0 39 0; +#X connect 36 0 41 0; +#X connect 36 0 40 0; +#X connect 36 0 37 0; +#X connect 36 0 38 0; +#X connect 42 0 36 0; +#X connect 43 0 29 0; +#X connect 43 0 31 0; +#X connect 43 0 30 0; +#X connect 43 0 33 0; +#X connect 43 0 42 0; +#X restore 764 209 pd sequence2; +#N canvas 74 138 1846 876 sequence3 0; +#X obj 90 51 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X msg 45 140 mfk 73.42; +#X obj 304 44 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 371 292 print; +#X obj 436 285 send; +#X floatatom 321 213 5 0 0 0 - - -, f 5; +#X obj 336 125 metro; +#X obj 418 71 + 1; +#X floatatom 422 148 5 0 0 0 - - -, f 5; +#X obj 605 1117 s phase_cutoff_knob; +#X obj 110 1073 s phase_resonance_knob; +#X msg 173 608 bang; +#X obj 162 680 metro; +#X floatatom 241 677 5 0 0 0 - - -, f 5; +#X msg 290 628 500; +#X obj 110 765 + 2; +#X msg 360 641 200; +#X obj 242 733 random 400; +#X msg 225 586 stop; +#N canvas 54 372 450 461 randomize 0; +#X obj 85 18 inlet; +#X obj 94 210 outlet; +#X obj 179 58 metro; +#X floatatom 258 55 5 0 0 0 - - -, f 5; +#X obj 356 76 + 300; +#X obj 127 143 + 12; +#X obj 73 97 random 4; +#X obj 259 111 random 1500; +#X obj 246 175 inlet; +#X connect 0 0 2 0; +#X connect 2 0 6 0; +#X connect 2 0 7 0; +#X connect 3 0 2 1; +#X connect 4 0 3 0; +#X connect 5 0 1 0; +#X connect 6 0 5 0; +#X connect 7 0 4 0; +#X connect 8 0 5 1; +#X restore 441 942 pd randomize; +#X msg 433 770 bang; +#N canvas 32 247 450 369 randomize 0; +#X obj 85 18 inlet; +#X obj 179 58 metro; +#X floatatom 258 55 5 0 0 0 - - -, f 5; +#X obj 356 76 + 300; +#X obj 73 97 random 12; +#X obj 222 172 inlet; +#X obj 118 444 outlet; +#X floatatom 163 232 5 0 0 0 - - -, f 5; +#X obj 158 322 line; +#X floatatom 260 299 5 0 0 0 - - -, f 5; +#X msg 157 270 \$1 700; +#X obj 224 410 spigot; +#X obj 127 143 + 45; +#X obj 259 111 random 1400; +#X obj 264 378 r random_noise; +#X connect 0 0 1 0; +#X connect 1 0 4 0; +#X connect 1 0 13 0; +#X connect 2 0 1 1; +#X connect 3 0 2 0; +#X connect 4 0 12 0; +#X connect 5 0 12 1; +#X connect 7 0 10 0; +#X connect 8 0 11 0; +#X connect 10 0 8 0; +#X connect 10 0 9 0; +#X connect 11 0 6 0; +#X connect 12 0 7 0; +#X connect 13 0 3 0; +#X connect 14 0 11 1; +#X restore 523 836 pd randomize; +#X obj 669 1009 s noise_cutoff_knob; +#X msg 397 903 stop; +#X msg 609 797 stop; +#X obj 533 660 metro; +#X msg 616 629 500; +#X obj 530 590 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 456 1090 spigot; +#X obj 172 933 spigot; +#X floatatom 376 975 5 0 0 0 - - -, f 5; +#X obj 371 1065 line; +#X floatatom 473 1042 5 0 0 0 - - -, f 5; +#X msg 370 1013 \$1 700; +#X floatatom 81 799 5 0 0 0 - - -, f 5; +#X obj 76 889 line; +#X msg 75 837 \$1 700; +#X obj 56 719 random 10; +#X obj 327 694 + 400; +#X obj 411 633 vsl 20 100 100 800 0 1 empty empty empty 0 -9 0 10 -204786 +-1 -1 7000 1; +#X obj 171 737 vsl 20 100 1 95 0 1 empty rand_beat_freq empty 0 -9 +0 10 -204786 -1 -1 182 1; +#X obj 553 906 vsl 20 100 1 150 0 1 empty empty empty 0 -9 0 10 -204786 +-1 -1 8100 1; +#X obj 665 724 vsl 20 100 1 100 0 1 empty rand_noise_cutoff empty 0 +-9 0 10 -204786 -1 -1 7300 1; +#X floatatom 226 866 5 0 0 0 - - -, f 5; +#X obj 936 428 s Frequency01; +#X obj 905 34 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 967 197 metro; +#X obj 1036 145 + 1; +#X floatatom 1040 222 5 0 0 0 - - -, f 5; +#X obj 1070 93 random 4; +#X obj 452 19 random 4; +#N canvas 403 130 549 409 randlist2 0; +#X obj 17 102 random; +#X obj 19 40 inlet; +#X obj 16 75 t b; +#X obj 19 256 outlet; +#X obj 162 20 inlet; +#X msg 287 105 clear; +#X obj 167 54 t a a b; +#X obj 186 108 list length; +#X obj 17 128 t b f; +#X msg 17 148 0; +#X text 39 294 https://forum.pdpatchrepo.info/topic/10903/pick-random-elements-from-a-list/3 +; +#X obj 55 72 r \$0-range-2; +#X obj 186 128 s \$0-range-2; +#X obj 287 125 text define \$0-list-2; +#X obj 166 176 text set \$0-list-2 0; +#X obj 16 195 text get \$0-list-2; +#X connect 0 0 8 0; +#X connect 1 0 2 0; +#X connect 2 0 0 0; +#X connect 4 0 6 0; +#X connect 5 0 13 0; +#X connect 6 0 14 0; +#X connect 6 1 5 0; +#X connect 6 1 7 0; +#X connect 7 0 12 0; +#X connect 8 0 9 0; +#X connect 8 1 15 1; +#X connect 9 0 15 0; +#X connect 11 0 0 1; +#X connect 15 0 3 0; +#X restore 1026 291 pd randlist2; +#X msg 984 22 stop; +#X msg 598 37 stop; +#X obj 1108 633 line~; +#X obj 1013 676 *~; +#X obj 981 832 dac~; +#X msg 1108 609 1 \, 0 50; +#X obj 988 638 osc~; +#X obj 988 600 line~; +#X text 1097 827 kick; +#X text 1138 710 http://impala.utopia.free.fr/pd/patchs/doc_tut_workshop/Fr_Workshop_giair/2.synthese/fotils_pddrums/pddrums.html +; +#X obj 1474 383 noise~; +#X obj 1565 386 line~; +#X obj 1474 449 *~; +#X obj 1465 599 dac~; +#X obj 1278 598 hsl 128 15 0 1 0 0 empty drum_volume Volume_0-1 -2 +-6 0 8 -262144 -1 -1 0 1; +#X obj 1474 473 lop~ 400; +#X floatatom 1601 444 5 0 0 0 - - -, f 5; +#X obj 1556 409 *~; +#X obj 1537 440 *~; +#X msg 1565 358 1 \, 0 95; +#X text 1618 503 snare; +#X obj 1213 346 metro; +#X floatatom 1454 170 5 0 0 0 - - -, f 5; +#X obj 1550 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -241291 +-1 -1; +#X obj 1024 481 bng 15 250 50 0 empty empty empty 0 -6 0 8 -241291 +-1 -1; +#X msg 1037 602 0.85; +#X obj 1530 246 metro; +#X msg 1447 136 1200; +#X floatatom 1607 184 5 0 0 0 - - -, f 5; +#X obj 440 102 * 400; +#X obj 1058 176 * 200; +#X msg 273 821 1; +#X obj 999 759 *~; +#X obj 1473 572 *~; +#X msg 1605 137 3000; +#X obj 186 86 s random_noise; +#X obj 211 158 s random_FM; +#X msg 151 49 1; +#X obj 151 198 delay 8000; +#X obj 218 268 s drum_volume; +#X obj 28 341 s engine02_volume; +#X msg 74 281 0.15; +#X obj 949 685 *~; +#X obj 924 647 osc~; +#X obj 929 762 *~; +#X msg 934 586 1.1; +#X obj 879 551 line~; +#X msg 878 528 218 \, 50 20; +#X msg 988 577 228 \, 50 20; +#X msg 172 248 0.8; +#X obj 1564 645 * 1.9; +#X obj 75 243 delay 4000; +#X obj 21 448 s phasor_volume_knob; +#X msg 22 408 20; +#X floatatom 928 301 5 0 0 0 - - -, f 5; +#X floatatom 896 380 5 0 0 0 - - -, f 5; +#X floatatom 952 334 5 1 2 0 - - -, f 5; +#X obj 910 350 * 2; +#X msg 522 164 list key-D key-F key-G key-As key-D key-octave-0 key-octave-1 +; +#X msg 1135 229 58.01 148.5 148.5 165 198 232.03 297; +#X obj 483 303 s Main_Frequency_knob; +#N canvas 379 365 549 409 randlist 0; +#X obj 17 102 random; +#X obj 55 72 r \$0-range; +#X obj 19 40 inlet; +#X obj 16 75 t b; +#X obj 19 256 outlet; +#X obj 162 20 inlet; +#X obj 287 125 text define \$0-list; +#X msg 287 105 clear; +#X obj 166 176 text set \$0-list 0; +#X obj 167 54 t a a b; +#X obj 186 108 list length; +#X obj 186 128 s \$0-range; +#X obj 16 195 text get \$0-list; +#X obj 17 128 t b f; +#X msg 17 148 0; +#X text 39 294 https://forum.pdpatchrepo.info/topic/10903/pick-random-elements-from-a-list/3 +; +#X connect 0 0 13 0; +#X connect 1 0 0 1; +#X connect 2 0 3 0; +#X connect 3 0 0 0; +#X connect 5 0 9 0; +#X connect 7 0 6 0; +#X connect 9 0 8 0; +#X connect 9 1 7 0; +#X connect 9 1 10 0; +#X connect 10 0 11 0; +#X connect 12 0 4 0; +#X connect 13 0 14 0; +#X connect 13 1 12 1; +#X connect 14 0 12 0; +#X restore 495 252 pd randlist; +#X msg 399 215 pd randlist sample; +#X text 721 114 <- put your sequence there; +#X obj 1713 39 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 1775 202 metro; +#X obj 1844 150 + 1; +#X floatatom 1848 227 5 0 0 0 - - -, f 5; +#X msg 1792 27 stop; +#X floatatom 1736 306 5 0 0 0 - - -, f 5; +#X floatatom 1704 385 5 0 0 0 - - -, f 5; +#X floatatom 1760 339 5 1 4 0 - - -, f 5; +#X obj 1744 433 s Frequency03; +#N canvas 26 483 549 409 randlist3 0; +#X obj 17 102 random; +#X obj 19 40 inlet; +#X obj 16 75 t b; +#X obj 19 256 outlet; +#X obj 162 20 inlet; +#X msg 287 105 clear; +#X obj 167 54 t a a b; +#X obj 186 108 list length; +#X obj 17 128 t b f; +#X msg 17 148 0; +#X text 39 294 https://forum.pdpatchrepo.info/topic/10903/pick-random-elements-from-a-list/3 +; +#X obj 16 195 text get \$0-list-3; +#X obj 166 176 text set \$0-list-3 0; +#X obj 287 131 text define \$0-list-3; +#X obj 55 72 r \$0-range-3; +#X obj 186 135 s \$0-range-3; +#X connect 0 0 8 0; +#X connect 1 0 2 0; +#X connect 2 0 0 0; +#X connect 4 0 6 0; +#X connect 5 0 13 0; +#X connect 6 0 12 0; +#X connect 6 1 5 0; +#X connect 6 1 7 0; +#X connect 7 0 15 0; +#X connect 8 0 9 0; +#X connect 8 1 11 1; +#X connect 9 0 11 0; +#X connect 11 0 3 0; +#X connect 14 0 0 1; +#X restore 1834 296 pd randlist3; +#X obj 1878 98 random 4; +#X obj 1866 181 * 800; +#X msg 499 114 44 44 51.56 58.01 74.25 99; +#X msg 1282 74 44 58.01 74.25 88 88 116.02 148.5; +#X obj 223 336 delay 8000; +#X obj 236 425 s bell_volume; +#X text 1525 75 <- put your sequence there; +#X obj 1718 355 * 4; +#X obj 360 444 s bell_volume; +#X obj 342 370 delay 1000; +#X msg 358 399 0.3; +#X msg 235 380 0.12; +#X obj 265 14 x-loadbang; +#X obj 285 582 x-loadbang; +#X obj 611 583 x-loadbang; +#X connect 0 0 1 0; +#X connect 2 0 128 0; +#X connect 2 0 6 0; +#X connect 2 0 45 0; +#X connect 2 0 79 0; +#X connect 2 0 86 0; +#X connect 2 0 116 0; +#X connect 2 0 129 0; +#X connect 5 0 4 0; +#X connect 6 0 50 0; +#X connect 6 0 113 0; +#X connect 7 0 81 0; +#X connect 8 0 6 1; +#X connect 11 0 12 0; +#X connect 12 0 17 0; +#X connect 12 0 37 0; +#X connect 12 0 83 0; +#X connect 13 0 12 1; +#X connect 14 0 13 0; +#X connect 15 0 34 0; +#X connect 16 0 13 0; +#X connect 17 0 38 0; +#X connect 18 0 12 0; +#X connect 19 0 30 0; +#X connect 20 0 19 0; +#X connect 20 0 21 0; +#X connect 20 0 11 0; +#X connect 21 0 22 0; +#X connect 23 0 19 0; +#X connect 24 0 21 0; +#X connect 25 0 20 0; +#X connect 26 0 25 1; +#X connect 27 0 25 0; +#X connect 28 0 9 0; +#X connect 29 0 10 0; +#X connect 30 0 33 0; +#X connect 31 0 28 0; +#X connect 33 0 31 0; +#X connect 33 0 32 0; +#X connect 34 0 36 0; +#X connect 35 0 29 0; +#X connect 36 0 35 0; +#X connect 37 0 15 0; +#X connect 38 0 13 0; +#X connect 39 0 38 1; +#X connect 40 0 15 1; +#X connect 40 0 37 1; +#X connect 41 0 19 1; +#X connect 42 0 21 1; +#X connect 43 0 29 1; +#X connect 43 0 28 1; +#X connect 45 0 46 0; +#X connect 45 0 73 0; +#X connect 45 0 78 0; +#X connect 46 0 51 0; +#X connect 46 0 49 0; +#X connect 47 0 82 0; +#X connect 48 0 46 1; +#X connect 49 0 47 0; +#X connect 50 0 7 0; +#X connect 51 0 106 0; +#X connect 52 0 46 0; +#X connect 53 0 6 0; +#X connect 54 0 55 1; +#X connect 54 0 94 1; +#X connect 55 0 84 0; +#X connect 57 0 54 0; +#X connect 58 0 55 0; +#X connect 59 0 58 0; +#X connect 62 0 64 0; +#X connect 63 0 69 0; +#X connect 63 0 69 1; +#X connect 64 0 67 0; +#X connect 66 0 84 1; +#X connect 66 0 96 1; +#X connect 66 0 102 0; +#X connect 67 0 85 0; +#X connect 68 0 67 1; +#X connect 69 0 70 0; +#X connect 69 0 70 1; +#X connect 70 0 64 1; +#X connect 71 0 63 0; +#X connect 73 0 76 0; +#X connect 74 0 73 1; +#X connect 75 0 71 0; +#X connect 76 0 57 0; +#X connect 76 0 100 0; +#X connect 76 0 77 0; +#X connect 76 0 97 0; +#X connect 76 0 99 0; +#X connect 77 0 58 1; +#X connect 78 0 75 0; +#X connect 79 0 74 0; +#X connect 80 0 78 1; +#X connect 81 0 8 0; +#X connect 82 0 48 0; +#X connect 83 0 43 0; +#X connect 84 0 56 1; +#X connect 85 0 65 0; +#X connect 85 0 65 1; +#X connect 86 0 80 0; +#X connect 89 0 87 0; +#X connect 89 0 88 0; +#X connect 90 0 101 0; +#X connect 90 0 103 0; +#X connect 93 0 92 0; +#X connect 94 0 96 0; +#X connect 95 0 94 0; +#X connect 96 0 56 0; +#X connect 97 0 95 1; +#X connect 98 0 95 0; +#X connect 99 0 98 0; +#X connect 100 0 59 0; +#X connect 101 0 91 0; +#X connect 102 0 85 1; +#X connect 103 0 93 0; +#X connect 103 0 130 0; +#X connect 105 0 104 0; +#X connect 106 0 109 0; +#X connect 107 0 44 0; +#X connect 108 0 109 1; +#X connect 109 0 107 0; +#X connect 113 0 112 0; +#X connect 114 0 4 0; +#X connect 114 0 4 1; +#X connect 116 0 117 0; +#X connect 117 0 125 0; +#X connect 117 0 126 0; +#X connect 118 0 127 0; +#X connect 119 0 117 1; +#X connect 120 0 117 0; +#X connect 121 0 133 0; +#X connect 122 0 124 0; +#X connect 123 0 133 1; +#X connect 125 0 121 0; +#X connect 126 0 118 0; +#X connect 127 0 119 0; +#X connect 128 0 51 1; +#X connect 128 0 113 1; +#X connect 129 0 125 1; +#X connect 130 0 137 0; +#X connect 130 0 135 0; +#X connect 133 0 122 0; +#X connect 135 0 136 0; +#X connect 136 0 134 0; +#X connect 137 0 131 0; +#X connect 138 0 2 0; +#X connect 138 0 89 0; +#X connect 138 0 90 0; +#X connect 139 0 14 0; +#X connect 140 0 26 0; +#X connect 140 0 25 0; +#X restore 869 210 pd sequence3; +#N canvas 1988 284 1197 780 engine_02 0; +#X obj 548 90 s Frequency01; +#X floatatom 562 35 5 0 0 0 - - -, f 5; +#N canvas 415 127 450 323 square~ 0; +#X obj 111 45 phasor~; +#X obj 94 6 inlet; +#X obj 124 157 outlet~; +#X obj 127 100 expr~ $v1 > $v2; +#X obj 225 54 r square_pwm; +#X obj 229 76 / 100; +#X connect 0 0 3 0; +#X connect 1 0 0 0; +#X connect 3 0 2 0; +#X connect 4 0 5 0; +#X connect 5 0 3 1; +#X restore 488 192 pd square~; +#X obj 551 129 r Frequency01; +#X obj 474 455 *~, f 8; +#N canvas 827 106 450 323 square~ 0; +#X obj 111 45 phasor~; +#X obj 94 6 inlet; +#X obj 124 157 outlet~; +#X obj 127 100 expr~ $v1 > $v2; +#X obj 225 54 r square_pwm; +#X obj 229 76 / 100; +#X connect 0 0 3 0; +#X connect 1 0 0 0; +#X connect 3 0 2 0; +#X connect 4 0 5 0; +#X connect 5 0 3 1; +#X restore 27 352 pd square~; +#X obj 75 385 r sine_volume; +#X obj 34 441 *~; +#X obj 698 253 osc~ 120; +#X obj 20 289 osc~ 120; +#N canvas 399 117 877 871 output 0; +#X obj 353 490 t b; +#X obj 353 437 f; +#X obj 353 515 f; +#X msg 467 514 0; +#X obj 353 467 moses 1; +#X obj 467 486 t b f; +#X obj 433 447 moses 1; +#X obj 29 97 dbtorms; +#X obj 85 170 inlet~; +#X msg 287 315 \; pd dsp 1; +#X obj 29 170 line~; +#X obj 64 242 *~; +#X obj 64 272 dac~; +#X obj 29 127 pack 0 50; +#X text 209 141 audio in; +#X text 138 464 test if less than 1 -->; +#X text 104 491 if true convert to bang -->; +#X text 183 99 <-- convert from dB to linear units; +#X floatatom 323 219 3 0 100 0 dB - -, f 3; +#X obj 350 240 bng 15 250 50 0 empty empty mute -38 7 0 12 -262144 +-1 -1; +#X text 191 125 <-- make a ramp to avoid clicks or zipper noise; +#X obj 148 170 inlet~; +#X obj 154 241 *~; +#X text 373 378 MUTE logic:; +#X obj 323 174 r \$0-master-lvl; +#X obj 353 541 s \$0-master-lvl; +#X obj 323 279 s \$0-master-out; +#X obj 29 71 r \$0-master-out; +#X obj 435 408 r \$0-master-out; +#X text 60 10 Level control abstraction \, used in many of the Pd example +patches. The "level" and "mute" controls show up on the parent \, calling +patch.; +#X text 66 517 previous nonzero master-lvl -->; +#X text 138 421 recall previous; +#X text 138 439 value of master-lvl -->; +#X text 39 319 automatically start DSP -->; +#X obj 85 192 hip~ 3; +#X obj 147 192 hip~ 3; +#X obj 478 176 loadbang; +#X msg 480 222 85; +#X obj 564 193 r master_volume; +#X connect 0 0 2 0; +#X connect 1 0 4 0; +#X connect 2 0 25 0; +#X connect 3 0 25 0; +#X connect 4 0 0 0; +#X connect 4 1 5 0; +#X connect 5 0 3 0; +#X connect 6 1 2 1; +#X connect 7 0 13 0; +#X connect 8 0 34 0; +#X connect 10 0 22 0; +#X connect 10 0 11 0; +#X connect 11 0 12 0; +#X connect 13 0 10 0; +#X connect 18 0 9 0; +#X connect 18 0 26 0; +#X connect 19 0 1 0; +#X connect 21 0 35 0; +#X connect 22 0 12 1; +#X connect 24 0 18 0; +#X connect 27 0 7 0; +#X connect 28 0 1 1; +#X connect 28 0 6 0; +#X connect 34 0 11 1; +#X connect 35 0 22 1; +#X connect 36 0 37 0; +#X connect 37 0 18 0; +#X connect 38 0 18 0; +#X coords 0 -1 1 1 65 55 1 300 200; +#X restore 327 499 pd output; +#X text 27 30 This one is for extra instruments; +#X obj 156 332 phasor~; +#X obj 239 416 bob~; +#X obj 265 196 mtof; +#X obj 271 294 pack 0 50; +#X floatatom 267 243 7 0 0 0 - - -, f 7; +#X obj 268 150 r phase_cutoff; +#X obj 283 332 line; +#X obj 182 142 / 25; +#X obj 126 214 line~; +#X obj 269 88 r phase_resonance; +#X floatatom 646 437 4 0 0 0 - - -, f 4; +#X obj 673 528 *~; +#X text 723 500 modulation; +#X text 723 514 depth; +#X floatatom 702 489 4 0 0 0 - - -, f 4; +#X obj 654 576 +~; +#X text 721 562 frequency; +#X text 721 548 carrier; +#X floatatom 733 383 5 0 0 0 - - -, f 5; +#X obj 897 405 r FM_mod_depth; +#X obj 794 347 r FM_Freq; +#X text 663 380 frequency; +#X text 664 365 modulation; +#X msg 810 524 \; table1 sinesum 512 0.5 0.5 0.5 0.5 \; table2 cosinesum +512 0 1; +#N canvas 0 0 450 300 (subpatch) 0; +#X array pitchmod15 131 float 1; +#A 0 -0.423689 -0.345228 -0.313844 -0.298151 0.659075 0.721844 0.784613 +0.800305 0.831689 0.831689 0.831689 0.831689 0.847381 0.847381 0.847381 +0.847381 0.847381 0.847381 0.831689 0.815997 0.800305 0.784613 0.76892 +0.76892 0.753228 0.753228 0.737536 0.721844 0.706151 0.706151 0.674767 +0.659075 0.580616 0.533539 0.533539 0.455078 0.428924 0.40277 0.376616 +0.345232 0.313848 0.282463 0.266771 0.580616 0.596308 0.612 0.612 0.612 +0.612 0.0470752 0.0470752 0.0627675 0.0784599 0.0941522 0.109845 0.125537 +0.156922 0.172614 0.188306 0.219691 0.251076 0.266768 0.28246 0.329538 +0.360922 0.392307 0.470769 0.486461 0.141229 0.156922 0.172614 0.188306 +0.219691 0.251076 0.28246 0.313845 0.34523 0.376615 0.407999 0.439384 +0.486461 0.533538 0.580615 0.612 0.659077 0.345232 0.345232 0.345232 +0.345232 0.345232 0.345232 0.345232 0.345232 0.345232 0.345232 0.345232 +0.360924 0.36877 0.376616 0.376616 0.392309 0.408001 0.408001 0.408001 +0.423693 0.431539 0.439385 0.455078 0.47077 0.486462 0.486462 0.517847 +0.549231 0.596308 0.627692 0.674769 0.721846 0.690459 0.690459 0.706151 +0.721844 0.737536 0.753228 0.753228 0.76892 0.784613 0.800305 0.815997 +0.831689 0.847381 0.878766; +#X coords 0 1.02 130 -1.02 258 130 1; +#X restore 760 45 graph; +#X obj 693 435 tabosc4~ pitchmod15; +#X floatatom 527 369 4 0 0 0 - - -, f 4; +#X obj 561 588 osc~ 128; +#X obj 125 261 r Frequency01; +#X obj 287 366 * 2.5, f 8; +#X obj 108 419 / 2, f 8; +#X obj 412 491 /~ 2, f 8; +#X obj 361 432 *~; +#X obj 287 -104 r sine_volume; +#X obj 287 -104 r sine_volume; +#X obj 287 -104 r sine_volume; +#X obj 287 -104 r sine_volume; +#X obj 258 452 /~ 1.1, f 8; +#X obj 557 447 print; +#X obj 547 312 * 1.1; +#X floatatom 425 369 4 0 0 0 - - -, f 4; +#X obj 371 225 r engine02_volume; +#X obj 628 173 r engine02_volume; +#X obj 411 315 / 1, f 8; +#X obj 685 210 / 1, f 8; +#X floatatom 908 197 4 0 20 0 - - -, f 4; +#X obj 904 226 / 10, f 8; +#X floatatom 455 252 4 0 20 0 - - -, f 4; +#X obj 451 281 / 10, f 8; +#X floatatom 815 198 4 0 20 0 - - -, f 4; +#X obj 816 235 / 10, f 8; +#X obj 818 276 * 1.1; +#X connect 1 0 0 0; +#X connect 3 0 2 0; +#X connect 3 0 8 0; +#X connect 3 0 22 0; +#X connect 4 0 43 0; +#X connect 5 0 7 0; +#X connect 6 0 42 0; +#X connect 12 0 13 0; +#X connect 13 0 49 0; +#X connect 14 0 16 0; +#X connect 15 0 18 0; +#X connect 16 0 15 0; +#X connect 17 0 14 0; +#X connect 18 0 41 0; +#X connect 19 0 20 0; +#X connect 20 0 13 2; +#X connect 21 0 19 0; +#X connect 22 0 27 1; +#X connect 23 0 27 0; +#X connect 26 0 23 1; +#X connect 27 0 39 0; +#X connect 30 0 37 0; +#X connect 31 0 26 0; +#X connect 32 0 30 0; +#X connect 37 0 23 0; +#X connect 38 0 4 1; +#X connect 39 0 4 0; +#X connect 40 0 5 0; +#X connect 40 0 9 0; +#X connect 40 0 12 0; +#X connect 41 0 13 1; +#X connect 42 0 7 1; +#X connect 43 0 10 1; +#X connect 44 0 10 0; +#X connect 49 0 44 0; +#X connect 51 0 38 0; +#X connect 52 0 44 1; +#X connect 53 0 55 0; +#X connect 54 0 56 0; +#X connect 55 0 52 0; +#X connect 56 0 51 0; +#X connect 57 0 58 0; +#X connect 58 0 63 1; +#X connect 59 0 60 0; +#X connect 60 0 55 1; +#X connect 61 0 62 0; +#X connect 62 0 63 0; +#X restore 888 362 pd engine_02; +#N canvas 469 249 1098 478 engine_03 0; +#X obj 306 418 dac~; +#N canvas 876 606 701 290 bell1 0; +#N canvas 0 98 350 192 envelopes 0; +#X obj 238 82 / 9; +#X obj 187 82 / 7; +#X obj 71 85 * 0.9; +#X msg 120 58 600; +#X obj 135 83 / 2; +#X obj 12 85 * 1.2; +#X obj 120 33 inlet; +#X obj 12 136 outlet; +#X obj 71 133 outlet; +#X obj 135 132 outlet; +#X obj 187 132 outlet; +#X obj 238 132 outlet; +#X text 98 10 envelope ratios; +#X connect 0 0 11 0; +#X connect 1 0 10 0; +#X connect 2 0 8 0; +#X connect 3 0 0 0; +#X connect 3 0 1 0; +#X connect 3 0 2 0; +#X connect 3 0 4 0; +#X connect 3 0 5 0; +#X connect 4 0 9 0; +#X connect 5 0 7 0; +#X connect 6 0 3 0; +#X restore 251 50 pd envelopes; +#N canvas 543 182 406 316 part_fund+sub 0; +#X obj 156 54 osc~; +#X obj 71 78 osc~; +#X text 6 112 suboctave hum; +#X text 129 105 fundamental; +#X obj 197 258 *~; +#X obj 214 179 line~; +#X msg 216 136 1 \, 0 \$1; +#X obj 259 12 inlet; +#X obj 198 289 outlet~; +#X obj 93 10 r \$0-fundamental1; +#X obj 71 172 *~ 1e-05; +#X obj 70 51 * 0.500001; +#X obj 157 221 *~ 1.01; +#X connect 0 0 12 0; +#X connect 1 0 10 0; +#X connect 4 0 8 0; +#X connect 5 0 4 1; +#X connect 6 0 5 0; +#X connect 7 0 6 0; +#X connect 9 0 0 0; +#X connect 9 0 11 0; +#X connect 10 0 12 0; +#X connect 11 0 1 0; +#X connect 12 0 4 0; +#X restore 21 116 pd part_fund+sub; +#N canvas 1010 324 327 465 part 0; +#X obj 21 163 osc~; +#X obj 154 165 osc~; +#X obj 79 169 osc~; +#X text 147 192 Nominal; +#X text 82 192 "Quint"; +#X obj 160 368 *~; +#X obj 226 277 line~; +#X obj 46 269 *~ 0.2; +#X text 8 194 Octave; +#X msg 228 234 1 \, 0 \$1; +#X obj 246 38 inlet; +#X obj 160 396 outlet~; +#X text 79 11 primary overtones; +#X obj 65 38 r \$0-fundamental1; +#X obj 165 135 * 1.5; +#X obj 133 97 * 2; +#X obj 21 140 * 2.0002; +#X obj 88 140 * 5.0001; +#X obj 95 268 *~ 0.1; +#X obj 146 268 *~ 0.1; +#X obj 94 302 *~ 0.05; +#X connect 0 0 7 0; +#X connect 1 0 19 0; +#X connect 2 0 18 0; +#X connect 5 0 11 0; +#X connect 6 0 5 1; +#X connect 7 0 20 0; +#X connect 9 0 6 0; +#X connect 10 0 9 0; +#X connect 13 0 15 0; +#X connect 13 0 16 0; +#X connect 14 0 1 0; +#X connect 15 0 14 0; +#X connect 15 0 17 0; +#X connect 16 0 0 0; +#X connect 17 0 2 0; +#X connect 18 0 20 0; +#X connect 19 0 20 0; +#X connect 20 0 5 0; +#X restore 145 116 pd part primaries; +#N canvas 0 158 289 383 secondaries 0; +#X obj 80 104 osc~; +#X text 19 142 12th overtone; +#X obj 80 79 * 11; +#X obj 151 110 osc~; +#X obj 151 85 * 1.714; +#X text 149 142 12/7; +#X obj 13 105 osc~; +#X obj 13 80 * 1.6666; +#X obj 109 314 *~; +#X obj 173 223 line~; +#X obj 173 255 *~; +#X msg 173 196 1 \, 0 \$1; +#X obj 99 53 * 1.5; +#X obj 172 280 *~; +#X obj 72 254 *~ 0.2; +#X obj 72 210 *~ 0.2; +#X obj 23 210 *~ 0.1; +#X obj 118 209 *~ 0.1; +#X text 203 262 cubic; +#X obj 238 18 inlet; +#X obj 109 347 outlet~; +#X obj 80 19 r \$0-fundamental1; +#X connect 0 0 15 0; +#X connect 2 0 0 0; +#X connect 3 0 17 0; +#X connect 4 0 3 0; +#X connect 6 0 16 0; +#X connect 7 0 6 0; +#X connect 8 0 20 0; +#X connect 9 0 10 1; +#X connect 9 0 10 0; +#X connect 10 0 13 0; +#X connect 10 0 13 1; +#X connect 11 0 9 0; +#X connect 12 0 4 0; +#X connect 12 0 7 0; +#X connect 13 0 8 1; +#X connect 14 0 8 0; +#X connect 15 0 14 0; +#X connect 16 0 14 0; +#X connect 17 0 14 0; +#X connect 19 0 11 0; +#X connect 21 0 2 0; +#X connect 21 0 12 0; +#X restore 275 116 pd secondaries; +#N canvas 1410 439 389 416 circulars 0; +#X obj 145 106 osc~; +#X obj 40 103 osc~; +#X text 109 140 1st circular; +#X text 1 139 60 degree mode; +#X obj 40 80 * 3; +#X obj 145 82 * 6.242; +#X text 25 155 "Tierce"; +#X obj 218 105 osc~; +#X obj 218 81 * 12.483; +#X text 220 142 2nd circular; +#X obj 162 325 *~; +#X obj 228 234 line~; +#X obj 227 263 *~; +#X obj 146 237 *~ 0.05; +#X obj 81 189 *~ 0.1; +#X text 262 267 square; +#X msg 228 209 1 \, 0 \$1; +#X obj 313 16 inlet; +#X obj 161 362 outlet~; +#X obj 34 19 r \$0-fundamental1; +#X connect 0 0 13 0; +#X connect 1 0 14 0; +#X connect 4 0 1 0; +#X connect 5 0 0 0; +#X connect 7 0 13 0; +#X connect 8 0 7 0; +#X connect 10 0 18 0; +#X connect 11 0 12 1; +#X connect 11 0 12 0; +#X connect 12 0 10 1; +#X connect 13 0 10 0; +#X connect 14 0 13 0; +#X connect 16 0 11 0; +#X connect 17 0 16 0; +#X connect 19 0 4 0; +#X connect 19 0 5 0; +#X connect 19 0 8 0; +#X restore 384 116 pd circulars; +#N canvas 908 176 357 436 strike 0; +#X obj 67 129 osc~; +#X obj 67 105 * 16; +#X obj 108 129 osc~; +#X obj 108 105 * 24; +#X text 92 72 strikes; +#X obj 144 129 noise~; +#X obj 140 347 *~; +#X obj 205 264 line~; +#X obj 204 288 *~; +#X obj 204 312 *~; +#X text 244 304 cubic; +#X msg 205 242 1 \, 0 \$1; +#X obj 228 25 inlet; +#X obj 140 375 outlet~; +#X obj 77 23 r \$0-fundamental1; +#X obj 107 284 *~ 0.03; +#X connect 0 0 15 0; +#X connect 1 0 0 0; +#X connect 2 0 15 0; +#X connect 3 0 2 0; +#X connect 5 0 15 0; +#X connect 6 0 13 0; +#X connect 7 0 8 1; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 8 0 9 1; +#X connect 9 0 6 1; +#X connect 11 0 7 0; +#X connect 12 0 11 0; +#X connect 14 0 1 0; +#X connect 14 0 3 0; +#X connect 15 0 6 0; +#X restore 479 116 pd strike; +#N canvas 83 260 417 324 bodyresonance 0; +#X obj 96 151 delwrite~ \$0-body 400; +#X obj 96 50 clip~ -0.2 0.5; +#X obj 95 30 delread~ \$0-body 59; +#X obj 57 191 outlet~; +#X obj 250 29 inlet~; +#X text 91 6 body resonance; +#X obj 95 87 bp~ 287 12; +#X obj 179 87 bp~ 431 12; +#X obj 11 86 bp~ 1243 12; +#X obj 57 151 *~ 2; +#X obj 96 123 *~ 0.5; +#X connect 1 0 6 0; +#X connect 1 0 7 0; +#X connect 1 0 8 0; +#X connect 2 0 1 0; +#X connect 4 0 0 0; +#X connect 6 0 10 0; +#X connect 7 0 10 0; +#X connect 8 0 10 0; +#X connect 9 0 3 0; +#X connect 10 0 0 0; +#X connect 10 0 9 0; +#X restore 479 152 pd bodyresonance; +#X obj 257 254 outlet~; +#X obj 251 23 inlet; +#X obj 23 29 s \$0-fundamental1; +#X obj 23 6 inlet; +#X obj 256 183 *~ 0.7; +#X obj 257 206 clip~ -0.9 0.7; +#X obj 257 230 hip~ 200; +#X connect 0 0 1 0; +#X connect 0 1 2 0; +#X connect 0 3 4 0; +#X connect 0 4 5 0; +#X connect 1 0 11 0; +#X connect 2 0 11 0; +#X connect 3 0 11 0; +#X connect 4 0 11 0; +#X connect 5 0 6 0; +#X connect 5 0 11 0; +#X connect 6 0 12 0; +#X connect 8 0 0 0; +#X connect 10 0 9 0; +#X connect 11 0 12 0; +#X connect 12 0 13 0; +#X connect 13 0 7 0; +#X restore 155 273 pd bell1; +#X text 639 116 https://web.archive.org/web/20150923112224/http://obiwannabe.co.uk/tutorials/html/tutorial_morephones.html +; +#X obj 207 105 r Frequency03; +#N canvas 663 619 701 290 bell2 0; +#X obj 256 183 *~ 0.9; +#X obj 257 206 clip~ -0.9 0.9; +#N canvas 0 0 350 192 envelopes 0; +#X obj 238 82 / 9; +#X obj 187 82 / 7; +#X obj 71 85 * 0.9; +#X msg 120 58 600; +#X obj 135 83 / 2; +#X obj 12 85 * 1.2; +#X obj 120 33 inlet; +#X obj 12 136 outlet; +#X obj 71 133 outlet; +#X obj 135 132 outlet; +#X obj 187 132 outlet; +#X obj 238 132 outlet; +#X text 98 10 envelope ratios; +#X connect 0 0 11 0; +#X connect 1 0 10 0; +#X connect 2 0 8 0; +#X connect 3 0 0 0; +#X connect 3 0 1 0; +#X connect 3 0 2 0; +#X connect 3 0 4 0; +#X connect 3 0 5 0; +#X connect 4 0 9 0; +#X connect 5 0 7 0; +#X connect 6 0 3 0; +#X restore 251 50 pd envelopes; +#N canvas 0 98 406 316 part_fund+sub 0; +#X obj 156 54 osc~; +#X obj 71 78 osc~; +#X text 6 112 suboctave hum; +#X text 129 105 fundamental; +#X obj 71 52 * 0.5001; +#X obj 197 258 *~; +#X obj 214 179 line~; +#X msg 216 136 1 \, 0 \$1; +#X obj 157 221 *~ 0.02; +#X obj 259 12 inlet; +#X obj 198 289 outlet~; +#X obj 93 10 r \$0-fundamental2; +#X obj 71 172 *~ 0.01; +#X connect 0 0 8 0; +#X connect 1 0 12 0; +#X connect 4 0 1 0; +#X connect 5 0 10 0; +#X connect 6 0 5 1; +#X connect 7 0 6 0; +#X connect 8 0 5 0; +#X connect 9 0 7 0; +#X connect 11 0 4 0; +#X connect 11 0 0 0; +#X connect 12 0 8 0; +#X restore 21 116 pd part_fund+sub; +#N canvas 0 0 327 465 part 0; +#X obj 21 163 osc~; +#X obj 154 165 osc~; +#X obj 79 169 osc~; +#X text 147 192 Nominal; +#X obj 80 140 * 4.8; +#X text 82 192 "Quint"; +#X obj 154 140 * 1.5; +#X obj 160 368 *~; +#X obj 226 277 line~; +#X obj 46 269 *~ 0.2; +#X obj 95 268 *~ 0.5; +#X obj 146 268 *~ 0.1; +#X obj 21 140 * 2.002; +#X obj 133 97 * 2; +#X text 8 194 Octave; +#X msg 228 234 1 \, 0 \$1; +#X obj 95 302 *~ 0.04; +#X obj 246 38 inlet; +#X obj 160 396 outlet~; +#X text 79 11 primary overtones; +#X obj 65 38 r \$0-fundamental2; +#X connect 0 0 9 0; +#X connect 1 0 11 0; +#X connect 2 0 10 0; +#X connect 4 0 2 0; +#X connect 6 0 1 0; +#X connect 7 0 18 0; +#X connect 8 0 7 1; +#X connect 9 0 16 0; +#X connect 10 0 16 0; +#X connect 11 0 16 0; +#X connect 12 0 0 0; +#X connect 13 0 4 0; +#X connect 13 0 6 0; +#X connect 15 0 8 0; +#X connect 16 0 7 0; +#X connect 17 0 15 0; +#X connect 20 0 12 0; +#X connect 20 0 13 0; +#X restore 145 116 pd part primaries; +#N canvas 0 0 289 383 secondaries 0; +#X obj 80 104 osc~; +#X text 19 142 12th overtone; +#X obj 80 79 * 11; +#X obj 151 110 osc~; +#X obj 151 85 * 1.714; +#X text 149 142 12/7; +#X obj 13 105 osc~; +#X obj 13 80 * 1.6666; +#X obj 109 314 *~; +#X obj 173 223 line~; +#X obj 173 255 *~; +#X msg 173 196 1 \, 0 \$1; +#X obj 99 53 * 1.5; +#X obj 172 280 *~; +#X obj 72 254 *~ 0.2; +#X obj 72 210 *~ 0.2; +#X obj 23 210 *~ 0.1; +#X obj 118 209 *~ 0.1; +#X text 203 262 cubic; +#X obj 238 18 inlet; +#X obj 109 347 outlet~; +#X obj 80 19 r \$0-fundamental2; +#X connect 0 0 15 0; +#X connect 2 0 0 0; +#X connect 3 0 17 0; +#X connect 4 0 3 0; +#X connect 6 0 16 0; +#X connect 7 0 6 0; +#X connect 8 0 20 0; +#X connect 9 0 10 1; +#X connect 9 0 10 0; +#X connect 10 0 13 0; +#X connect 10 0 13 1; +#X connect 11 0 9 0; +#X connect 12 0 4 0; +#X connect 12 0 7 0; +#X connect 13 0 8 1; +#X connect 14 0 8 0; +#X connect 15 0 14 0; +#X connect 16 0 14 0; +#X connect 17 0 14 0; +#X connect 19 0 11 0; +#X connect 21 0 2 0; +#X connect 21 0 12 0; +#X restore 275 116 pd secondaries; +#N canvas 444 174 389 416 circulars 0; +#X obj 145 106 osc~; +#X obj 40 103 osc~; +#X text 109 140 1st circular; +#X text 1 139 60 degree mode; +#X obj 40 80 * 3; +#X obj 145 82 * 6.242; +#X text 25 155 "Tierce"; +#X obj 218 105 osc~; +#X obj 218 81 * 12.483; +#X text 220 142 2nd circular; +#X obj 162 325 *~; +#X obj 228 234 line~; +#X obj 227 263 *~; +#X obj 146 237 *~ 0.05; +#X obj 81 189 *~ 0.1; +#X text 262 267 square; +#X msg 228 209 1 \, 0 \$1; +#X obj 313 16 inlet; +#X obj 161 362 outlet~; +#X obj 34 19 r \$0-fundamental2; +#X connect 0 0 13 0; +#X connect 1 0 14 0; +#X connect 4 0 1 0; +#X connect 5 0 0 0; +#X connect 7 0 13 0; +#X connect 8 0 7 0; +#X connect 10 0 18 0; +#X connect 11 0 12 1; +#X connect 11 0 12 0; +#X connect 12 0 10 1; +#X connect 13 0 10 0; +#X connect 14 0 13 0; +#X connect 16 0 11 0; +#X connect 17 0 16 0; +#X connect 19 0 4 0; +#X connect 19 0 5 0; +#X connect 19 0 8 0; +#X restore 384 116 pd circulars; +#N canvas 0 0 357 436 strike 0; +#X obj 107 284 *~ 0.03; +#X obj 67 129 osc~; +#X obj 67 105 * 16; +#X obj 108 129 osc~; +#X obj 108 105 * 24; +#X text 92 72 strikes; +#X obj 144 129 noise~; +#X obj 140 347 *~; +#X obj 205 264 line~; +#X obj 204 288 *~; +#X obj 204 312 *~; +#X text 244 304 cubic; +#X msg 205 242 1 \, 0 \$1; +#X obj 228 25 inlet; +#X obj 140 375 outlet~; +#X obj 77 23 r \$0-fundamental2; +#X connect 0 0 7 0; +#X connect 1 0 0 0; +#X connect 2 0 1 0; +#X connect 3 0 0 0; +#X connect 4 0 3 0; +#X connect 6 0 0 0; +#X connect 7 0 14 0; +#X connect 8 0 9 1; +#X connect 8 0 9 0; +#X connect 9 0 10 0; +#X connect 9 0 10 1; +#X connect 10 0 7 1; +#X connect 12 0 8 0; +#X connect 13 0 12 0; +#X connect 15 0 2 0; +#X connect 15 0 4 0; +#X restore 479 116 pd strike; +#N canvas 0 0 327 216 bodyresonance 0; +#X obj 96 50 clip~ -0.2 0.5; +#X obj 96 123 *~ 0.4; +#X obj 10 87 bp~ 1243 12; +#X obj 95 87 bp~ 287 12; +#X obj 179 87 bp~ 431 12; +#X obj 57 151 *~ 4; +#X obj 57 191 outlet~; +#X obj 250 29 inlet~; +#X obj 96 151 delwrite~ \$0-body2 400; +#X obj 95 30 delread~ \$0-body2 59; +#X connect 0 0 2 0; +#X connect 0 0 3 0; +#X connect 0 0 4 0; +#X connect 1 0 5 0; +#X connect 1 0 8 0; +#X connect 2 0 1 0; +#X connect 3 0 1 0; +#X connect 4 0 1 0; +#X connect 5 0 6 0; +#X connect 7 0 8 0; +#X connect 9 0 0 0; +#X restore 479 152 pd bodyresonance; +#X obj 258 227 hip~ 10; +#X obj 257 254 outlet~; +#X obj 251 23 inlet; +#X obj 23 6 inlet; +#X obj 23 29 s \$0-fundamental2; +#X connect 0 0 1 0; +#X connect 1 0 9 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 2 2 5 0; +#X connect 2 3 6 0; +#X connect 2 4 7 0; +#X connect 3 0 0 0; +#X connect 4 0 0 0; +#X connect 5 0 0 0; +#X connect 6 0 0 0; +#X connect 7 0 8 0; +#X connect 7 0 0 0; +#X connect 8 0 1 0; +#X connect 9 0 10 0; +#X connect 11 0 2 0; +#X connect 12 0 13 0; +#X restore 432 276 pd bell2; +#X obj 517 323 hsl 128 15 0 1 0 0 empty bell_volume Volume_0-1 -2 -6 +0 8 -262144 -1 -1 0 1; +#X obj 452 399 *~; +#X obj 259 361 *~; +#X obj 412 183 + 0.2; +#X obj 511 357 * 1.8; +#X connect 1 0 7 0; +#X connect 3 0 1 0; +#X connect 3 0 1 1; +#X connect 3 0 8 0; +#X connect 4 0 6 0; +#X connect 5 0 7 1; +#X connect 5 0 9 0; +#X connect 6 0 0 1; +#X connect 7 0 0 0; +#X connect 8 0 4 0; +#X connect 8 0 4 1; +#X connect 9 0 6 1; +#X restore 886 405 pd engine_03; diff --git a/garvalf.png b/garvalf.png old mode 100644 new mode 100755 diff --git a/makefile b/makefile old mode 100644 new mode 100755 diff --git a/mobmuplat.mmp b/mobmuplat.mmp old mode 100644 new mode 100755 diff --git a/readme.t2t b/readme.t2t old mode 100644 new mode 100755 index 9ba4a1a..0d20e45 --- a/readme.t2t +++ b/readme.t2t @@ -11,7 +11,7 @@ Some believe it might help focusing, or induce meditative states. We won't discu Binaural Beats are fun! They can create hypnotic drones or high frequencies madness! So let's create some with this simple synth. -== How does it sound like? == +== What does it sound like? == - https://clyp.it/ufkzshog - https://clyp.it/b4evitno @@ -21,10 +21,14 @@ Binaural Beats are fun! They can create hypnotic drones or high frequencies madn It works with: - [Pure Data (Pd) vanilla https://puredata.info] -- [Purr Data https://agraef.github.io/purr-data/] (a fork based on [Pd-L2Ork http://l2ork.music.vt.edu/main/make-your-own-l2ork/software/], which is itself based on the now obsolete Pd Extended. +- [Purr Data https://agraef.github.io/purr-data/] (a fork based on [Pd-L2Ork http://l2ork.music.vt.edu/main/make-your-own-l2ork/software/]), which is itself based on the now obsolete Pd Extended. -Just start Pd or Purr-Data, and load the run.pd sketch. You can explore the inside of the synth by right-clicking the Binaural Synth and selecting "Open", or by loading the binauralsynth.pd sketch. +Just start Pd or Purr-Data, and load the droidparty_main.pd sketch. You can explore the inside of the synth by right-clicking the Binaural Synth and selecting "Open", or by loading the binauralsynth.pd sketch. + +- droidparty_main.pd is the interface, with some presets and demo sequences +- binauralsynth.pd is the engine itself +- you can find an example of a full "song" in the demos/sable folder [binaural_screenshot.png] @@ -34,8 +38,9 @@ You can change the base frequency (called carrier frequency), and the beat frequ In addition to the classic, "traditional" Sine wave, you can also add, by increasing their volume: -- a FM sound, driven by a few parameters (including the modulation frequency, mod depth, and FM wave). -- a phaser (sawtooth wave) sound (no parameter yet) +- a FM generator, driven by a few parameters (including the modulation frequency, mod depth, and FM wave). +- a phaser (sawtooth wave) generator +- a square generator - a white noise