diff --git a/binauralsynth.pd b/binauralsynth.pd old mode 100755 new mode 100644 index eeb6343..75108ac --- a/binauralsynth.pd +++ b/binauralsynth.pd @@ -1,4 +1,4 @@ -#N canvas 190 148 1166 909 10; +#N canvas 2011 93 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; @@ -82,12 +82,12 @@ patch.; #X floatatom 786 149 5 -100 100 0 - - -, f 5; #X floatatom 732 115 5 0 0 0 - Main_Frequency_knob Main_Frequency, f 5; -#N canvas 553 295 1 1 volume 0; +#N canvas 553 295 719 442 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_phasor empty -2 -8 -0 10 -262144 -1 -1 5150 1; +0 10 -262144 -1 -1 2146 1; #X obj 189 292 s phasor_volume; #X connect 0 0 1 0; #X connect 1 0 2 0; @@ -99,8 +99,8 @@ f 5; #X obj 121 161 / 127; #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 1400 1; +#X obj 106 113 hsl 128 15 0 127 0 0 empty noise_volume_knob empty -2 +-8 0 10 -262144 -1 -1 200 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 0 1; +-1 -1 10000 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 7200 1; +-1 -1 5000 1; #X obj 121 34 loadbang; #X msg 121 59 50; #X obj 121 298 s FM_volume; @@ -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 89.7638 256; +-8 0 12 -179695 -1 -1 46 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 5150 1; +0 10 -262144 -1 -1 2146 1; #X obj 121 298 s square_volume; #X connect 0 0 1 0; #X connect 1 0 2 0; @@ -282,7 +282,7 @@ f 5; #X connect 36 0 10 0; #X connect 37 0 11 0; #X restore 900 634 pd pdpulp; -#N canvas 0 107 851 569 knobs 1; +#N canvas 776 467 851 569 knobs 0; #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 @@ -303,35 +303,39 @@ ULA25S \, adapt it for your own device); #X obj 600 308 s volume_square; #X obj 521 362 * 1; #X obj 642 78 / 1.27; -#X obj 619 285 s volume_phasor; -#X obj 636 426 s volume_noise; +#X obj 640 279 s volume_phasor; #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 48 115 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 obj 97 93 s yellow-vsl; +#X obj 227 137 s green-vsl; +#X obj 636 426 s noise_volume_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 3 0 24 0; +#X connect 3 0 28 0; +#X connect 4 0 25 0; +#X connect 4 0 29 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 10 0 23 0; +#X connect 11 0 22 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 connect 14 0 20 0; +#X connect 15 0 21 0; +#X connect 17 0 27 0; +#X connect 18 0 26 0; +#X connect 20 0 19 0; +#X connect 20 0 16 0; +#X connect 21 0 30 0; #X restore 899 596 pd knobs; #X obj 449 376 r master_volume; #X obj 907 238 r FM_Freq_knob; diff --git a/droidparty_main.pd b/droidparty_main.pd old mode 100755 new mode 100644 index d864d57..3edfcd9 --- a/droidparty_main.pd +++ b/droidparty_main.pd @@ -1,5 +1,5 @@ -#N canvas 360 138 1102 679 12; -#N canvas 1177 340 648 541 sequence 0; +#N canvas 338 161 1102 679 12; +#N canvas 1067 239 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 354 363 783 679 presets 0; +#N canvas 929 113 965 747 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. ; @@ -88,6 +88,21 @@ purposes and are not claimed to be based on scientifical researches. #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 obj 617 355 r preset_reset; +#X obj 728 402 r rst; +#X obj 744 485 s square_volume_knob; +#X obj 745 459 s FM_volume_knob; +#X obj 745 434 s phasor_volume_knob; +#X obj 744 514 s noise_volume_knob; +#X msg 665 395 reset \; rst 0; +#X obj 194 419 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 226 468 r preset_throat01; +#X msg 223 506 Throat 1 \; mfk 141.27 \; bfk 12; +#X obj 347 417 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 379 466 r preset_throat02; +#X msg 376 504 Throat 1 \; mfk 741 bfk 12; #X connect 4 0 2 0; #X connect 5 0 1 0; #X connect 7 0 6 0; @@ -103,6 +118,15 @@ purposes and are not claimed to be based on scientifical researches. #X connect 24 0 12 0; #X connect 25 0 3 0; #X connect 26 0 27 0; +#X connect 28 0 34 0; +#X connect 29 0 30 0; +#X connect 29 0 31 0; +#X connect 29 0 32 0; +#X connect 29 0 33 0; +#X connect 35 0 37 0; +#X connect 36 0 37 0; +#X connect 38 0 40 0; +#X connect 39 0 40 0; #X restore 664 181 pd presets; #N canvas 1009 134 603 417 volume 0; #X obj 121 161 / 127; @@ -136,7 +160,7 @@ purposes and are not claimed to be based on scientifical researches. #X connect 6 0 0 0; #X coords 0 -1 1 1 140 40 1 100 100; #X restore 667 352 pd volume FM; -#N canvas 404 207 827 588 viewport 0; +#N canvas 944 234 827 588 viewport 0; #X obj 77 299 s ViewPort; #X msg 77 164 vis_size \$1 \$2; #X msg 160 247 pos \$1 \$2; @@ -193,7 +217,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 2070 126 1035 849 variate 0; +#N canvas 669 193 1035 849 variate 0; #X msg 156 41 bang; #X obj 144 96 metro; #X floatatom 223 93 5 0 0 0 - - -, f 5; @@ -410,7 +434,7 @@ bang is clicked); #X connect 46 0 24 1; #X restore 664 121 pd variate; #X obj 688 250 binauralsynth; -#X obj 656 58 cnv 15 197 36 empty empty BinauralSynth 24 15 0 18 -163127 +#X obj 557 0 cnv 15 197 36 empty empty BinauralSynth 24 15 0 18 -163127 -66577 0; #N canvas 370 169 603 417 volume 0; #X obj 121 161 / 127; @@ -444,42 +468,37 @@ bang is clicked); #X connect 5 0 0 0; #X coords 0 -1 1 1 140 40 1 100 100; #X restore 667 579 pd volume square; -#X obj 0 0 cnv 10 550 280 empty ViewPort empty 20 12 0 14 -128992 -262144 +#X obj 0 0 cnv 15 550 280 empty ViewPort empty 20 12 0 14 -128992 -262144 0; -#X obj -1 0 cnv 16 550 280 empty empty empty 20 12 0 14 -262065 -66577 +#X obj 964 0 cnv 16 550 280 empty empty empty 20 12 0 14 -191991 -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 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 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 1.29293 256; +empty 0 -8 0 10 -204786 -1 -1 5.17172 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 208.889 256; +empty 0 -8 0 10 -262130 -1 -1 102.222 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 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 4200 1; +#X obj 347 139 hsl 100 20 0 100 0 1 sine_volume_knob empty empty -2 +-8 0 10 -228856 -1 -1 8600 1; +#X obj 347 188 hsl 100 20 0 100 0 1 FM_volume_knob FM_volume_knob empty +-2 -8 0 10 -228856 -1 -1 6200 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 507 242 bng 30 250 50 0 \$0-nextview1 empty next 4 15 0 10 -204800 +-33289 -1; #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 61.6162 256; +0 -8 0 10 -167479 -1 -1 86.8687 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 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 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 91.1111 256; +0 -8 0 10 -167479 -1 -1 62.6263 256; +#X obj 347 90 hsl 100 20 0 110 0 1 master_volume_knob empty empty -2 +-8 0 10 -228856 -1 -1 7800 1; +#X text 357 78 Main Volume; +#X obj 460 102 nbx 4 20 -1e+37 1e+37 0 1 empty master_volume_knob empty +0 -8 0 10 -167479 -1 -1 86.6667 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 +#X obj 507 523 bng 30 250 50 0 \$0-nextview2 empty next 4 15 0 10 -245092 -1 -1; #X obj 815 158 image garvalf.png 0; #X obj -1 560 cnv 16 550 280 empty empty empty 20 12 0 14 -262057 -66577 @@ -516,66 +535,58 @@ empty 0 -8 0 10 -262130 -1 -1 208.889 256; -1; #X obj 92 596 bng 40 250 50 0 key-octave-0 empty oct-0 3 20 0 12 -262130 -1 -1; -#X obj 472 522 bng 30 250 50 0 \$0-nextview0 empty prev 4 15 0 10 -245092 +#X obj 472 523 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 2400 1; +#X obj 25 334 hsl 100 20 0 100 0 1 phasor_volume_knob phasor_volume_knob +empty -2 -8 0 10 -228856 -1 -1 0 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 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 2500 1; +0 -8 0 10 -167479 -1 -1 0 256; +#X obj 25 394 hsl 100 20 0 100 0 1 square_volume_knob square_volume_knob +empty -2 -8 0 10 -228856 -1 -1 0 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 25.2525 256; +0 -8 0 10 -167479 -1 -1 0 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 500 1; +#X obj 24 453 hsl 50 20 1 50 0 1 square_pwm_knob empty empty -2 -8 +0 10 -228856 -1 -1 4500 1; #X obj 85 466 nbx 4 20 1 99 0 1 empty square_pwm empty 0 -8 0 10 -167479 --1 -1 40.1575 256; +-1 -1 46 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 +#X obj 507 801 bng 30 250 50 0 \$0-nextview3 empty next 4 15 0 10 -245092 -1 -1; #X obj -1 841 cnv 16 550 280 empty empty empty 20 12 0 14 -262057 -66577 0; #X text 267 854 Presets; -#X obj 472 802 bng 30 250 50 0 \$0-nextview1 empty prev 4 15 0 10 -245092 +#X obj 472 801 bng 30 250 50 0 \$0-nextview1 empty prev 4 15 0 10 -245092 -1 -1; -#X obj 180 522 bng 30 250 50 0 \$0-nextview3 empty presets 36 15 0 -10 -245092 -1 -1; #X obj 507 1082 bng 30 250 50 0 \$0-nextview4 empty next 4 15 0 10 -245092 -1 -1; #X obj 472 1082 bng 30 250 50 0 \$0-nextview2 empty prev 4 15 0 10 -245092 -1 -1; -#X text 272 910 Delta Waves (0 Hz to 3.5 Hz); -#X obj 244 904 bng 20 250 50 0 preset_delta empty empty 17 7 0 10 -62052 +#X text 273 890 Delta Waves (0 Hz to 3.5 Hz); +#X obj 245 884 bng 20 250 50 0 preset_delta empty empty 17 7 0 10 -62052 +-1 -1; +#X text 272 939 Alpha Waves (8 Hz to 12 Hz); +#X text 273 914 Theta Waves (3.5 Hz to 8 Hz); +#X text 272 964 Beta Waves (12 Hz to 30 Hz); +#X text 272 989 Gamma Waves (30 Hz to 100 Hz); +#X obj 245 909 bng 20 250 50 0 preset_theta empty empty 17 7 0 10 -38628 -1 -1; -#X text 271 959 Alpha Waves (8 Hz to 12 Hz); -#X text 272 934 Theta Waves (3.5 Hz to 8 Hz); -#X text 271 984 Beta Waves (12 Hz to 30 Hz); -#X text 271 1009 Gamma Waves (30 Hz to 100 Hz); -#X obj 244 929 bng 20 250 50 0 preset_theta empty empty 17 7 0 10 -38628 +#X obj 245 934 bng 20 250 50 0 preset_alpha empty empty 17 7 0 10 -39125 -1 -1; -#X obj 244 954 bng 20 250 50 0 preset_alpha empty empty 17 7 0 10 -39125 +#X obj 245 959 bng 20 250 50 0 preset_beta empty empty 17 7 0 10 -215300 -1 -1; -#X obj 244 979 bng 20 250 50 0 preset_beta empty empty 17 7 0 10 -215300 +#X obj 245 984 bng 20 250 50 0 preset_gamma empty empty 17 7 0 10 -189125 -1 -1; -#X obj 244 1004 bng 20 250 50 0 preset_gamma empty empty 17 7 0 10 --189125 -1 -1; -#X obj 49 892 bng 30 250 50 0 preset_lucid_dreaming empty LucidDreaming +#X obj 29 878 bng 20 250 50 0 preset_lucid_dreaming empty LucidDreaming 35 10 0 10 -62052 -1 -1; -#X obj 48 941 bng 30 250 50 0 preset_astral_projection empty AstralProjection +#X obj 29 906 bng 20 250 50 0 preset_astral_projection empty AstralProjection 35 10 0 10 -38628 -1 -1; -#X obj 49 991 bng 30 250 50 0 preset_energy empty Energy 35 10 0 10 +#X obj 30 936 bng 20 250 50 0 preset_energy empty Energy 35 10 0 10 -39125 -1 -1; -#X obj 55 522 bng 30 250 50 0 \$0-nextview2 empty keyboard 36 15 0 +#X obj 174 523 bng 30 250 50 0 \$0-nextview2 empty keyboard 36 15 0 10 -245092 -1 -1; -#X obj 180 802 bng 30 250 50 0 \$0-nextview3 empty presets 36 15 0 -10 -245092 -1 -1; -#X obj 55 802 bng 30 250 50 0 \$0-nextview2 empty keyboard 36 15 0 -10 -245092 -1 -1; -#X obj 180 1080 bng 30 250 50 0 \$0-nextview3 empty presets 36 15 0 -10 -245092 -1 -1; -#X obj 55 1080 bng 30 250 50 0 \$0-nextview2 empty keyboard 36 15 0 +#X obj 312 801 bng 30 250 50 0 \$0-nextview3 empty presets 36 15 0 10 -245092 -1 -1; #X obj 376 596 bng 40 250 50 0 key-octave-4 empty oct-4 3 20 0 12 -262130 -1 -1; @@ -603,41 +614,41 @@ empty 0 -8 0 10 -262130 -1 -1 208.889 256; #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 phase_cutoff_knob -empty 0 -9 0 10 -179199 -1 -1 5214 1; +empty 0 -9 0 10 -179199 -1 -1 4000 1; #X obj 280 351 vsl 20 100 0 120 0 1 phase_resonance_knob empty empty -0 -9 0 10 -179199 -1 -1 5600 1; +0 -9 0 10 -179199 -1 -1 6100 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 94.8788 256; +empty 0 -8 0 10 -167479 -1 -1 73.9394 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 70 256; +empty 0 -8 0 10 -167479 -1 -1 60.6061 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 3850 1; +-9 0 10 -261234 -1 -1 4350 1; #X obj 430 350 vsl 20 100 0 120 0 1 noise_resonance_knob empty empty -0 -9 0 10 -261234 -1 -1 7500 1; +0 -9 0 10 -261234 -1 -1 6600 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 90.9091 256; +empty 0 -8 0 10 -167479 -1 -1 80 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 52.1212 256; +empty 0 -8 0 10 -167479 -1 -1 96.9697 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 53.7374 256; +empty 0 -8 0 10 -167479 -1 -1 60.8081 256; #X obj 500 350 vsl 20 100 0 120 0 1 noise_panning_knob empty empty -0 -9 0 10 -261234 -1 -1 4350 1; +0 -9 0 10 -261234 -1 -1 8050 1; #X text 415 289 Noise; #X text 403 461 resonance; #X text 342 461 cut off; #X text 486 461 pan fx; #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 8100 1; +#X obj 283 522 hsl 100 20 0 60 0 0 noise_volume_knob noise_volume_knob +empty -2 -8 0 10 -228856 -1 -1 0 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 49.0909 256; +#X obj 397 529 nbx 4 20 -1e+37 1e+37 0 0 noise_volume_knob noise_volume_knob +empty 0 -8 0 10 -167479 -1 -1 0 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; @@ -676,10 +687,6 @@ empty 0 -8 0 10 -167479 -1 -1 53.7374 256; -245092 -1 -1; #X obj 472 1362 bng 30 250 50 0 \$0-nextview3 empty prev 4 15 0 10 -245092 -1 -1; -#X obj 180 1361 bng 30 250 50 0 \$0-nextview3 empty presets 36 15 0 -10 -245092 -1 -1; -#X obj 55 1361 bng 30 250 50 0 \$0-nextview2 empty keyboard 36 15 0 -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 1100 1; @@ -689,21 +696,18 @@ empty 0 -8 0 10 -167479 -1 -1 53.7374 256; 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 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 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 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 0 1; -#X obj 472 242 bng 30 250 50 0 \$0-nextview4 empty prev 4 15 0 10 -245092 +#X text 25 207 FM mod freq:; +#X text 18 238 FM mod depth:; +#X obj 246 245 nbx 5 20 -1e+37 1e+37 0 1 FM_mod_depth FM_mod_depth_knob +empty 0 -8 0 10 -262144 -1 -1 75 256; +#X obj 125 234 hsl 100 20 0 120 0 1 FM_mod_depth_knob FM_mod_depth_knob +empty -2 -8 0 10 -228856 -1 -1 6187 1; +#X obj 246 209 nbx 5 20 -1e+37 1e+37 0 1 FM_Freq FM_Freq_knob empty +0 -8 0 10 -262144 -1 -1 50 256; +#X obj 125 198 hsl 100 20 0 300 0 1 FM_Freq_knob FM_Freq_knob empty +-2 -8 0 10 -228856 -1 -1 1650 1; +#X obj 472 242 bng 30 250 50 0 \$0-nextview4 empty prev 4 15 0 10 -204800 -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 7300 1; #X text 274 1302 Noise Cutoff; @@ -719,11 +723,7 @@ empty 0 -8 0 10 -262144 -1 -1 1010 256; -1 -1 0 1; #X obj 383 1159 tgl 24 0 random_noise empty empty 17 7 0 10 -262144 -1 -1 0 1; -#X obj 352 43 cnv 15 197 8 empty empty empty 24 15 0 18 -163127 -66577 -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; +#N canvas 494 172 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; @@ -766,8 +766,9 @@ empty 0 -8 0 10 -262144 -1 -1 1010 256; #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 obj 838 77 delay 100; +#X obj 138 55 bang; +#X msg 140 15 start; #X connect 1 0 15 0; #X connect 2 0 1 0; #X connect 3 0 2 0; @@ -813,8 +814,9 @@ empty 0 -8 0 10 -262144 -1 -1 1010 256; #X connect 43 0 30 0; #X connect 43 0 33 0; #X connect 43 0 42 0; +#X connect 44 0 43 0; #X restore 764 209 pd sequence2; -#N canvas 74 138 1846 876 sequence3 0; +#N canvas 0 164 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; @@ -856,7 +858,7 @@ empty 0 -8 0 10 -262144 -1 -1 1010 256; #X connect 7 0 4 0; #X connect 8 0 5 1; #X restore 441 942 pd randomize; -#X msg 433 770 bang; +#X msg 436 572 bang; #N canvas 32 247 450 369 randomize 0; #X obj 85 18 inlet; #X obj 179 58 metro; @@ -892,9 +894,9 @@ empty 0 -8 0 10 -262144 -1 -1 1010 256; #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 +#X obj 546 511 metro; +#X msg 629 480 500; +#X obj 543 441 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; @@ -1113,9 +1115,11 @@ empty 0 -8 0 10 -262144 -1 -1 1010 256; #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 msg 159 5 start; +#X obj 265 14 bang; +#X obj 285 582 bang; +#X obj 624 434 bang; +#X msg 668 380 start; #X connect 0 0 1 0; #X connect 2 0 128 0; #X connect 2 0 6 0; @@ -1262,12 +1266,14 @@ empty 0 -8 0 10 -262144 -1 -1 1010 256; #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 connect 138 0 139 0; +#X connect 139 0 2 0; +#X connect 139 0 89 0; +#X connect 139 0 90 0; +#X connect 140 0 14 0; +#X connect 141 0 26 0; +#X connect 141 0 25 0; +#X connect 142 0 141 0; #X restore 869 210 pd sequence3; #N canvas 1988 284 1197 780 engine_02 0; #X obj 548 90 s Frequency01; @@ -2045,3 +2051,38 @@ patch.; #X connect 8 0 4 1; #X connect 9 0 6 1; #X restore 886 405 pd engine_03; +#X obj 247 1022 bng 20 250 50 0 preset_reset empty empty 17 7 0 10 +-241472 -1 -1; +#X text 274 1027 Reset to sine wav only; +#X obj 31 967 bng 20 250 50 0 preset_throat01 empty Throat 35 10 0 +10 -215300 -1 -1; +#X obj 33 523 bng 30 250 50 0 \$0-nextview0 empty main 36 15 0 10 -245092 +-1 -1; +#X obj 206 70 vsl 20 100 0 64 0 1 Beat_Frequency_knob green-vsl empty +0 -9 0 10 -204786 -1 -1 873 1; +#X obj 56 72 vsl 20 100 0 440 0 1 Main_Frequency_knob yellow-vsl empty +0 -9 0 10 -262114 -1 -1 2370 1; +#X obj 674 37 cnv 15 80 24 empty empty empty 24 15 0 18 -158446 -66577 +0; +#X text 6 1129 by Garvalf; +#X text 680 37 by Garvalf; +#X text 356 126 Sine Volume; +#X text 359 127 comment; +#X obj 174 801 bng 30 250 50 0 \$0-nextview2 empty keyboard 36 15 0 +10 -245092 -1 -1; +#X obj 33 801 bng 30 250 50 0 \$0-nextview0 empty main 36 15 0 10 -245092 +-1 -1; +#X obj 312 1082 bng 30 250 50 0 \$0-nextview3 empty presets 36 15 0 +10 -245092 -1 -1; +#X obj 174 1082 bng 30 250 50 0 \$0-nextview2 empty keyboard 36 15 +0 10 -245092 -1 -1; +#X obj 33 1082 bng 30 250 50 0 \$0-nextview0 empty main 36 15 0 10 +-245092 -1 -1; +#X obj 312 1362 bng 30 250 50 0 \$0-nextview3 empty presets 36 15 0 +10 -245092 -1 -1; +#X obj 174 1362 bng 30 250 50 0 \$0-nextview2 empty keyboard 36 15 +0 10 -245092 -1 -1; +#X obj 33 1362 bng 30 250 50 0 \$0-nextview0 empty main 36 15 0 10 +-245092 -1 -1; +#X text 672 66 https://github.com/farvardin/binaural-synth; +#X coords 0 0 1 1 85 60 0; diff --git a/engine3.pd b/engine3.pd new file mode 100644 index 0000000..0bfdc38 --- /dev/null +++ b/engine3.pd @@ -0,0 +1,172 @@ +#N canvas 365 160 1315 807 10; +#X floatatom 564 31 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 474 455 *~, f 8; +#N canvas 807 98 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 57 447 *~; +#X obj 698 253 osc~ 120; +#X obj 20 289 osc~ 120; +#X text 24 -7 This one is for extra instruments; +#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 172 199 line~; +#X obj 269 88 r phase_resonance; +#X floatatom 644 435 4 0 0 0 - - -, f 4; +#X obj 673 528 *~; +#X text 750 484 modulation; +#X text 743 502 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 floatatom 527 369 4 0 0 0 - - -, f 4; +#X obj 561 588 osc~ 128; +#X obj 287 366 * 2.5, f 8; +#X obj 412 491 /~ 2, f 8; +#X obj 361 432 *~; +#X obj 258 452 /~ 1.1, f 8; +#X obj 557 447 print; +#X obj 547 312 * 1.1; +#X floatatom 425 363 4 0 0 0 - - -, f 4; +#X obj 411 315 / 1, f 8; +#X obj 685 210 / 1, f 8; +#X obj 548 90 s Frequency03; +#X obj 551 129 r Frequency03; +#X obj 692 183 r engine03_volume; +#X obj 395 243 r engine03_volume; +#N canvas 586 283 1128 634 FM2 0; +#X text 77 65 frequency; +#X floatatom 159 181 4 0 0 0 - - -, f 4; +#X text 78 50 modulation; +#X obj 80 170 *~; +#X text 199 114 modulation; +#X text 199 128 depth; +#X floatatom 162 121 4 0 0 0 - - -, f 4; +#X obj 80 221 +~; +#X text 198 195 frequency; +#X text 199 178 carrier; +#X obj 264 323 outlet~; +#X obj 383 112 inlet; +#X floatatom 160 60 5 0 0 0 - - -, f 5; +#X obj 321 34 r FM_mod_depth; +#X obj 157 23 inlet, f 6; +#X obj 174 262 osc~; +#X obj 257 256 cos~; +#X obj 133 384 tabwrite~ array2612; +#N canvas 697 195 589 467 (subpatch) 0; +#X array array2612 100 float 0; +#X coords 0 1 100 -1 300 200 1 0 0; +#X restore 582 187 graph; +#X obj 22 290 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X obj 65 284 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 36 333 metro 100; +#X connect 1 0 7 1; +#X connect 3 0 7 0; +#X connect 6 0 3 1; +#X connect 7 0 15 0; +#X connect 12 0 3 0; +#X connect 13 0 6 0; +#X connect 14 0 12 0; +#X connect 15 0 10 0; +#X connect 15 0 17 0; +#X connect 16 0 10 0; +#X connect 19 0 21 0; +#X connect 20 0 17 0; +#X connect 21 0 17 0; +#X coords 0 634 1 633 85 60 0; +#X restore 155 331 pd FM2; +#X obj 125 261 r Frequency03; +#X obj 347 584 dac~; +#X obj 1050 217 noise~; +#X obj 1141 220 line~; +#X obj 1050 283 *~; +#X obj 1050 307 lop~ 400; +#X floatatom 1177 278 5 0 0 0 - - -, f 5; +#X obj 1132 243 *~; +#X obj 1113 274 *~; +#X msg 1141 192 1 \, 0 95; +#X connect 0 0 41 0; +#X connect 2 0 33 0; +#X connect 3 0 4 0; +#X connect 4 0 47 0; +#X connect 8 0 35 0; +#X connect 9 0 11 0; +#X connect 10 0 13 0; +#X connect 11 0 10 0; +#X connect 12 0 9 0; +#X connect 13 0 32 0; +#X connect 14 0 15 0; +#X connect 15 0 8 2; +#X connect 16 0 14 0; +#X connect 17 0 22 1; +#X connect 18 0 22 0; +#X connect 21 0 18 1; +#X connect 22 0 31 0; +#X connect 25 0 21 0; +#X connect 26 0 21 0; +#X connect 27 0 25 0; +#X connect 30 0 2 1; +#X connect 31 0 2 0; +#X connect 32 0 8 1; +#X connect 33 0 47 1; +#X connect 34 0 47 0; +#X connect 35 0 34 0; +#X connect 37 0 30 0; +#X connect 38 0 34 1; +#X connect 39 0 38 0; +#X connect 40 0 37 0; +#X connect 42 0 1 0; +#X connect 42 0 5 0; +#X connect 42 0 17 0; +#X connect 43 0 40 0; +#X connect 44 0 39 0; +#X connect 45 0 4 0; +#X connect 45 0 47 0; +#X connect 46 0 3 0; +#X connect 46 0 6 0; +#X connect 46 0 45 0; +#X connect 48 0 50 0; +#X connect 49 0 53 0; +#X connect 49 0 53 1; +#X connect 50 0 51 0; +#X connect 52 0 51 1; +#X connect 53 0 54 0; +#X connect 53 0 54 1; +#X connect 54 0 50 1; +#X connect 55 0 49 0; diff --git a/font-antialiased.ttf b/font-antialiased.ttf new file mode 100755 index 0000000..5beebe0 Binary files /dev/null and b/font-antialiased.ttf differ diff --git a/keyboard.pd b/keyboard.pd new file mode 100644 index 0000000..3e851f5 --- /dev/null +++ b/keyboard.pd @@ -0,0 +1,108 @@ +#N canvas 69 656 1166 909 10; +#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 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 obj 313 365 outlet; +#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 53 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 34 0 0 0; +#X connect 35 0 3 0; +#X connect 36 0 30 0; +#X connect 37 0 31 0; +#X connect 38 0 33 0; +#X connect 39 0 17 0; +#X connect 40 0 16 0; +#X connect 41 0 4 0; +#X connect 42 0 5 0; +#X connect 43 0 6 0; +#X connect 44 0 7 0; +#X connect 45 0 8 0; +#X connect 46 0 9 0; +#X connect 47 0 20 0; +#X connect 48 0 19 0; +#X connect 49 0 18 0; +#X connect 50 0 28 0; +#X connect 51 0 52 0; +#X connect 52 0 27 0; +#X coords 0 0 1 1 280 750 0; diff --git a/makefile b/makefile index 1dbedb1..2ea264c 100755 --- a/makefile +++ b/makefile @@ -17,7 +17,7 @@ edit: run: - ${EDITOR} droidparty_main.pd + ${EDITOR} binauralsynth.pd readme: diff --git a/svg/Slider-Beat_Frequency_knob.svg b/svg/Slider-Beat_Frequency_knob.svg new file mode 100644 index 0000000..6cc00d7 --- /dev/null +++ b/svg/Slider-Beat_Frequency_knob.svg @@ -0,0 +1,295 @@ + + + +image/svg+xml + + + \ No newline at end of file diff --git a/svg/Slider-horizontal.svg b/svg/Slider-horizontal.svg new file mode 100644 index 0000000..81ed32f --- /dev/null +++ b/svg/Slider-horizontal.svg @@ -0,0 +1,296 @@ + + + +image/svg+xml + + + \ No newline at end of file diff --git a/svg/Slider-vertical-Beat_Frequency_knob.svg b/svg/Slider-vertical-Beat_Frequency_knob.svg new file mode 100644 index 0000000..6cc00d7 --- /dev/null +++ b/svg/Slider-vertical-Beat_Frequency_knob.svg @@ -0,0 +1,295 @@ + + + +image/svg+xml + + + \ No newline at end of file diff --git a/svg/Slider-vertical-Main_Frequency_knob.svg b/svg/Slider-vertical-Main_Frequency_knob.svg new file mode 100644 index 0000000..72b6567 --- /dev/null +++ b/svg/Slider-vertical-Main_Frequency_knob.svg @@ -0,0 +1,295 @@ + + + +image/svg+xml + + + \ No newline at end of file diff --git a/svg/Slider-vertical.svg b/svg/Slider-vertical.svg new file mode 100644 index 0000000..1f29b9e --- /dev/null +++ b/svg/Slider-vertical.svg @@ -0,0 +1,295 @@ + + + +image/svg+xml + + + \ No newline at end of file diff --git a/svg/Slider-widget-horizontal.svg b/svg/Slider-widget-horizontal.svg new file mode 100644 index 0000000..6e9d929 --- /dev/null +++ b/svg/Slider-widget-horizontal.svg @@ -0,0 +1,296 @@ + + + +image/svg+xml + + + \ No newline at end of file diff --git a/svg/Slider-widget-vertical.svg b/svg/Slider-widget-vertical.svg new file mode 100644 index 0000000..4d5fc98 --- /dev/null +++ b/svg/Slider-widget-vertical.svg @@ -0,0 +1,296 @@ + + + +image/svg+xml + + + \ No newline at end of file diff --git a/svg/Toggle-off.svg b/svg/Toggle-off.svg new file mode 100755 index 0000000..404d9c6 --- /dev/null +++ b/svg/Toggle-off.svg @@ -0,0 +1,294 @@ + + + +image/svg+xml + + + \ No newline at end of file diff --git a/svg/Toggle-on.svg b/svg/Toggle-on.svg new file mode 100755 index 0000000..bd630a5 --- /dev/null +++ b/svg/Toggle-on.svg @@ -0,0 +1,295 @@ + + + +image/svg+xml + + + \ No newline at end of file diff --git a/svg/background.svg b/svg/background.svg new file mode 100644 index 0000000..88ee9ef --- /dev/null +++ b/svg/background.svg @@ -0,0 +1,397 @@ + + + +image/svg+xml + + + + \ No newline at end of file