-
... annels or single output to write out. You cannot change the size of this once a SynthDef has been built. Inherited class methods Undocumented class methods LocalOut. numFixedArgs Instance Methods Inherited instance methods Undocumented inst ...
-
... // alloc and set the values s.listSendMsg(b.allocMsg(b.setnMsg(0, t)).postln); SynthDef(\help_Index, { |out = 0, bufnum = 0| Out.ar(out, SinOsc.ar( Index.kr( bufnum, LFSaw.kr(2).range(0, 7) ), 0, 0.5 ) ) }).play(s, [\bufnum, b]); ) b.setn( ...
-
... ds Instance Methods Inherited instance methods Examples // explore the effect ( SynthDef("conformer2", { |out| var in, chain, sound; in = Mix.ar(LFSaw.ar(SinOsc.kr(Array.rand(3, 0.1, 0.5), 0, 10, [1, 1.1, 1.5, 1.78, 2.45, 6.7]*220), 0, 0.3) ...
-
... // this does the analysis and saves it to buffer 1... frees itself when done ( SynthDef("pvrec", { arg bufnum=0, recBuf=1, soundBufnum=2; var in, chain; Line.kr(1, 1, BufDur.kr(soundBufnum), doneAction: 2); in = PlayBuf.ar(1, soundBufnum, ...
-
... class methods Instance Methods Inherited instance methods Examples //Define bow synthdef ( SynthDef(\help_dwgbowed, { |out=0, freq=440, amp=0.5,force=1, gate=1,pos=0.07,c1=0.25,c3=31,pan=0| var vib = Gendy1.kr(1,1,1,1,0.1, 4,mul:0.003,add:1 ...
-
... e = { // free everything when finished c.stop; a.free; d.free; f.free; b.free; "SynthDefs, busses and buffers have all been freed.".postln; }; c = ScopeView(w.view, w.view.bounds.insetAll(10, 10, 10, 10)); c.bufnum = f.bufnum; c.server = s; ...
-
... instance methods Examples ( // a dict for all mtp things ~mtp = ~mtp ? (); // a synthdef to play SynthDef(\noyz, { |out, amp = 0.1, pan, gate = 1, freq = 261, reso = 10| var freq2 = (freq * (5 ** LFDNoise3.kr(ExpRand(1, 30), amp * 0.3))).cl ...
-
... e outer pattern's event. if there is no definition to be found there, it uses a SynthDef with this name, if present. When passing a function to Pdef it creates a PlazyEnvirN internally. Its function is evaluated in the context of the input ...
-
... ass methods Instance Methods Inherited instance methods Examples //Define pluck synthdef ( SynthDef(\help_dwgplucked, { |out=0, freq=440, amp=0.5, gate=1, c3=20, pan=0| var env = Env.new([0,1, 1, 0],[0.001,0.006, 0.0005],[5,-5, -8]); var in ...
-
... F, a low-pass filter to subtract high-frequency content from an input source. ( SynthDef("subtractive", { arg out; Out.ar( out, LPF.ar( Pulse.ar(440, 0.5, 0.1), // the source to be filtered Line.kr(8000, 660, 6) // control the filter freque ...