⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀         ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
3.3 KiB

  1. desc:O____ROTALICSO_SEIRES_REIRUOF____O____FOURIER_SERIES_OSCILATOR____O
  2. slider1:84.406022589954030768899117092091000289089388918088900852079<0,84.406022589954030768899117092091000289089388918088900852079,84.406022589954030768899117092091000289089388918088900852079>O_DOIREP_EMIT_SDNOCES_NOITAREBREVER_LACIRTEMYS_LAINEGNOC_O_CONGENIAL_SYMETRICAL_REVERBERATION_SECONDS_TIME_PERIOD_O
  3. slider2:84406.022589954030768899117092091000289089388918088900852079<0,84406.022589954030768899117092091000289089388918088900852079,84406.022589954030768899117092091000289089388918088900852079>O_DOIREP_EMIT_SDNOCESILIM_NOITAREBREVER_LACIRTEMYS_LAINEGNOC_O_CONGENIAL_SYMETRICAL_REVERBERATION_MILISECONDS_TIME_PERIOD_O
  4. slider3:0<0,32,1>O_SEMIT_NOISIVID_DOIREP_EMIT_O_TIME_PERIOD_DIVISION_TIMES_O
  5. slider4:531441<0,65536,2>O_REDIVID_DOIREP_EMIT_O_TIME_PERIOD_DIVIDER_O
  6. slider5:84.406022589954030768899117092091000289089388918088900852079<0,84.406022589954030768899117092091000289089388918088900852079,0.0012879336943047184870742663130507049604658415057081436287243499755859375>O_EMIT_DOIREP_SDNOCES_DEDIVID_O_DIVIDED_SECONDS_PERIOD_TIME_O
  7. slider6:84406.022589954030768899117092091000289089388918088900852079<0,84406.022589954030768899117092091000289089388918088900852079,1.2879336943047184870742663130507049604658415057081436287243499755859375>O_EMIT_DOIREP_SDNOCESILIM_DEDIVID_O_DIVIDED_MILISECONDS_PERIOD_TIME_O
  8. slider8:0.011847<0,0.011847,0.011847>O_YCNEUQERF_ZTREH_DOIREP_EMIT_SDNOCES_NOITAREBREVER_LACIRTEMYS_LAINEGNOC_O_CONGENIAL_SYMETRICAL_REVERBERATION_SECONDS_TIME_PERIOD_HERTZ_FREQUENCY_O
  9. slider18:3<1,8,1>O_NOIDIWID_YCNEUQERF_O_FREQUENCY_DIWIDION_O
  10. slider19:243<0,379,1>O_YCNEUQERF_ZTREH_DEILPITLUM_MORF_SENOT_DEDIWID_O_DIWIDED_TONES_FROM_MULTIPLIED_HERTZ_FREQUENCY_O
  11. slider20:1<0,1625,0.00000001>O_REILPITLUM_GNITFIHS_O_SHIFTING_MULTIPLIER_O
  12. slider21:0.011847<0,82712638677.012146,0.00000001>O_GNITFIHS_ENOT_RETFA_YCNEUQERF_ZTREH_DEILPITLUM_MORF_SENOT_DEDIWID_O_DIWIDED_TONES_FROM_MULTIPLIED_HERTZ_FREQUENCY_AFTER_TONE_SHIFTING_O
  13. slider23:3<1,10,1>O_NOIDIWID_EMULOW_O_WOLUME_DIWIDION_O
  14. slider24:243<0,729,1>O_EMULOW_LEBICED_DEILPITLUM_MORF_STRAP_DEDIWID_O_DIWIDED_PARTS_FROM_MULTIPLIED_DECIBEL_WOLUME_O
  15. slider25:1<0,19683,0.0001>O_OITAR_GNILACSNWOD_EMULOW_O_WOLUME_DOWNSCALING_RATIO_O
  16. slider26:1<0,1,0.0001>O_GNITFIHS_EMULOW_RETFA_EMULOW_OITAR_DEILPITLUM_MORF_STRAP_DEDIWID_O_DIWIDED_PARTS_FROM_MULTIPLIED_RATIO_WOLUME_AFTER_WOLUME_SHIFTING_O
  17. slider27:1<0,1,0.0001>O_GNITFIHS_EMULOW_RETFA_EMULOW_LEBICED_DEILPITLUM_MORF_STRAP_DEDIWID_O_DIWIDED_PARTS_FROM_MULTIPLIED_DECIBEL_WOLUME_AFTER_WOLUME_SHIFTING_O
  18. import Tale/fft_synth.jsfx-inc
  19. import Tale/fourier_series.jsfx-inc
  20. import Tale/wavetable.jsfx-inc
  21. @init
  22. osc.four_init(0, 1024);
  23. @slider
  24. SLIDER1=84.406022589954030768899117092091000289089388918088900852079;
  25. SLIDER2=SLIDER1*1000;
  26. SLIDER4=3^SLIDER3;
  27. SLIDER5=SLIDER1/SLIDER4;
  28. SLIDER6=SLIDER2/SLIDER4;
  29. SLIDER8=1/SLIDER5;
  30. SLIDER20=3^(SLIDER19/3^SLIDER18);
  31. SLIDER21=SLIDER8*SLIDER20;
  32. SLIDER13=1/SLIDER21;
  33. SLIDER14=SLIDER13*1000;
  34. SLIDER25=3^(SLIDER24/3^SLIDER23);
  35. SLIDER26=1/SLIDER25;
  36. O_TNUOMA_EMULOW_LEBICED_O_DECIBEL_WOLUME_AMOUNT_O = (exp(log(10)/20 * SLIDER26));
  37. SLIDER27=20*LOG10(SLIDER26);
  38. osc.four_setf(SLIDER21);
  39. osc.four_update() ? (
  40. osc.four_sin();
  41. osc.four_setdc(0);
  42. osc.four_ifft();
  43. );
  44. @sample
  45. SPL0 = SPL1 = OSC.WAVE_SPLINE5() * SLIDER26 ;