Always-on computer music
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 3 gadiem
12345678910111213141516171819202122232425262728
  1. s = Server.local;
  2. s.waitForBoot {
  3. var synth, module;
  4. // Create the synth definition and load it
  5. module = SynthDef.new("module", {
  6. var mod, car, modPartial=2.401, carPartial=1, index=3, freq=440, mul=0.05;
  7. mod = SinOsc.ar(
  8. freq * modPartial,
  9. 0,
  10. 200
  11. );
  12. car = SinOsc.ar(
  13. (freq * carPartial) + mod,
  14. 0,
  15. mul
  16. );
  17. Out.ar(0, Disintegrator.ar(SinOsc.ar(440), 0.5));
  18. });
  19. module.load(s);
  20. s.sync;
  21. synth = Synth.new("module");
  22. };