-
... a single note (it seems also a flute!) x = Synth(\violin, [\midinote, 84]); x.set(\gate, 0); // stop the note // play some random notes ( p = Pbind( \instrument, \violin, \midinote, Prand( Scale.majorPentatonic.degrees, inf) + ...
-
... ckground_(Color.rand) .knobColor_(Color.rand) .action_({|pos| Ndef(\pul).set( \freq, pos.x.linexp(0,1.0, 80, 8000), \rq, pos.y.linlin(0, 1.0, 0.001, 1.0) ) }); w.front; CmdPeriod.doOnce({w.close; Ndef(\pul).clear(4)}); ...
-
... * in terminal run: brew install gnuplot --with-qt s.boot GNUPlot.initCode="set term qt\n"; g= GNUPlot.new; {SinOsc.ar([42, 83, 164])}.loadToFloatArray(0.1, s, {|arr| g.plot3(arr.clump(3), "three lfo for 0.1sec")}) {SinOsc.ar([42, 83 ...
-
This code sets up a remapping system where input channels are mapped to output channels based on a predefined configuration. The remapping is done using a SynthDef that reads input signals, applies the remapping, and outputs the remapped si ...
-
Graphically represents a small set of granular windows, with variable offset. Move the "ratio" slider, and you can see and hear time stretching. ( var tick = 4, grainSamps = 100, grainHeight = 50, grainIOI = 50, // samples between grai ...
-
... ),20); var env = EnvGen.ar(Env.sine(sustain, amp * 0.5), doneAction: 2); OffsetOut.ar(out, Pan2.ar(snd * env, pan)); }, \ir ! 5).add; SynthDef(\bufWide, { |out, amp=0.1, rate=1.0, bend=1.0, pos=1, sustain=0.01, pan, width=0.5| var ...
-
... CPU. - It is easier to modify. - It doesn't require sc3-plugins or a correct setting of StkGlobals. - It's beginner-friendly because it uses only basic UGens: SinOsc, EnvGen, Mix, Pan2, Out. */ ( SynthDef(\rhodey_sc, { | ...
-
... d, s; var guiData; d = (); // data event guiData = (); // ============ Settings (initial values): ============ d.audioOutBus = 0; d.outLevel = 0.2; // initial level // d.alwaysOnTop = true; // keeps the window in front d ...
-
... ate canvas //add your own sounds to x, y, z (maybe with InFeedback.ar) ( //--settings var width= 640, height= 480; var fps= 60; var buffersize= 1024; var scale= 250; var perspective= 0.3; var distance= 2; //-- var win= Window(" ...
-
... lsys = LSystem( iterations:4, axiom:"FX", constants:Set[], rules:(\X : "X+YF+", \Y : "-FX-Y")); var interp = LSystemInterpreter( lsystem:lsys, globalstate:( ...