-
... ( var sf, clock, synth; s=Server.default; clock= ExternalClock(TempoClock(2.1)).play; Routine.run({ sf= BBCutBuffer("/Volumes/data/audio/toanalyse/reedham.wav",128); s.sync; BBCut2(CutBuf2(sf,1.0).trace_(CutOSC(1,0.0,~fredrik)), ChooseCutPr ...
-
... boutRedVector2D(o.loc, o.age)); Pen.fill; }; dead.do{|o| world.remove(o)}; }; w.play; CmdPeriod.doOnce({w.close}); ) //keep reduniverse window open and run the code below line by line s.boot ( ~createObj= {|x= 0.5, y= 0.5, vx= 0, vy= 0, siz ...
-
... neral usage easier, the CTK Objects also support real-time control through the .play method. The objects included in the CTK are: CtkScore CtkSynthDef CtkProtoNotes CtkNote CtkBuffer CtkControl CtkAudio CtkEvent CtkGroup The CTK Objects can ...
-
... o learn how to create an ats file a = AtsFile.new("path/to/file.ats").load; ( //play just the resynth, with LFSaw pointing into the file { AtsSynth.ar(a.bufnum, a.numPartials, 0, 1, filePointer: LFSaw.kr(a.sndDur.reciprocal, 1, 0.5, 0.5), m ...
-
... lse train stimulated by that input { Pan2.ar(HairCell.ar(SinOsc.ar(440)),0.0) }.play; //modulation effects { Pan2.ar(HairCell.ar(Saw.ar(MouseX.kr(1,1000)),0.0,MouseY.kr(0.0,1000.0)),0.0) }.play; //constantly self oscillates at 5 Hz, talk th ...
-
... , 1, 2, 3].choose, \freq, 400.rand ]); }; 1.wait; TreeSnapshot.get({ |snap| var playing = snap.root.children[0].children.select { |node| node.isKindOf(SynthSnapshot) && (node.outputs[0].startingChannel == 0) }; "% synths are playing to outp ...
-
... ethods Inherited instance methods Examples { Hasher.ar(Line.ar(0, 1, 1), 0.2) }.play; // Even adding a small amount to the input can result in a very different output. Compare these two examples: ( { SinOsc.ar( Hasher.kr(MouseX.kr(0, 10).ro ...
-
... ethods Examples // default initial params { FBSineL.ar(SampleRate.ir/4) * 0.2 }.play(s); ⧉ ✔ // increase feedback { FBSineL.ar(SampleRate.ir, 1, Line.kr(0.01, 4, 10), 1, 0.1) * 0.2 }.play(s); ⧉ ✔ // increase phase multiplier { FBSineL.ar(Sa ...
-
... ethods Examples // default initial params { FBSineC.ar(SampleRate.ir/4) * 0.2 }.play(s); ⧉ ✔ // increase feedback { FBSineC.ar(SampleRate.ir, 1, Line.kr(0.01, 4, 10), 1, 0.1) * 0.2 }.play(s); ⧉ ✔ // increase phase multiplier { FBSineC.ar(Sa ...
-
... default server, and returns a Score object that can then be rendered to file or played back. 2011 Jonatan Liljedahl Class Methods . beginScore Start capturing. This must be called once before the code that you want to capture. . makeScore C ...