-
... }).add; s.sync; synth = Synth("freq-mod-by-index"); }.fork; CmdPeriod.doOnce({win.close}); }); // end of waitForBoot
-
... olor.grey; win.alpha = 0.95; win.onClose = {s.freeAll; "Done!".postln}; CmdPeriod.doOnce({win.close}); // Change the gaps and margins to see how they work win.view.decorator = FlowLayout(win.view.bounds, margin: 10@10, gap: 20 ...
-
... ffer.free; bus.free; syn = scopeSyn = scope = func = buffer = bus = nil }; CmdPeriod.doOnce({w.close}); w.layout = gui[\layout]; w.front; )
-
... nClose = {~tunnelSynth.free;}; //Kill the gui if the user kills the sound CmdPeriod.doOnce({ ~tunnelWindow.close; }); ) (//---------Perform Song---------- ~tunnelTask = Task({ ~tunnelSynth.free; s.recChannels = 2; ...
-
... 0@10); win.front; win.onClose = {s.freeAll; "Done!".postln; "".postln}; CmdPeriod.doOnce({win.close}); // Multislider multiSlider = MultiSliderView(win, Rect(0, 0, 620, 250)); multiSlider.value = Array.fill(numharm, {0.0}); ...
-
... ount].stop}; Window.closeAll; masterOut.free; "Done!".postln; }; CmdPeriod.doOnce({Window.closeAll}); "Subtractive Synthesis Demo 2".postln; "".postln; }); // end of block
-
... 10@10) .background_(Color.white); f.onClose = {s.freeAll; player.stop}; CmdPeriod.doOnce({Window.closeAll}); //////////////////// // Input Row (GUI) //////////////////// // Sub-FlowView g = FlowView.new(f, 310@160, mar ...
-
... grey]]) .action_({ window.close; control.window.close; player.stop; }); // CmdPeriod.add({ window.close; control.window.close; }); // ......................... SYNTHS SynthDef(synthList[0], { |out, freq=440, pan, amp=0.1, sustain=0 ...
-
... Verb = Bus.audio(s, 2); //--------------------Cleanup-------------------- CmdPeriod.doOnce{ bus.modVerb.free; bus.verb.free; bus.deciVerb.free; bus.smallVerb.free; }; //--------------------FX Synths------------------ ...
-
... fter.states_([["shift", Color.black], ["SHIFT", Color.black, Color.green]]); CmdPeriod.add({ q.mpdwin !? _.close }); //IO actions //creating, setting frequency and stopping synths //IO{ } is essentially the same as { } and it is o ...