-
... BLOCK TempoClock.default.tempo = 130/60; ~t = TempoClock.default.tempo; SynthDef(\aride, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var sig; var sig1, sig2, sig3, sig4, sig5, sig6, sig7, sig8; var xfreq = freq * ( (1..8)/R ...
-
... ////////////////////////////////// ルーチンを用いたシンセシスのスケジューリング ルーチンの中にシンセを入れます。シンセの中のSynthDefが必ずエンベロープを持つ様にし、そのエンベロープのdoneActionパラメータを2にセットします。これによって、エンベロープが終了した後に、そのシンセのために必要とされていたメモリが解放されます。 ( SynthDef("fm2", { arg bus = 0, freq = 440, carPart ...
-
... a.asStream; 16.do({ b.next.postln; }); ) Pshuf used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... .asStream; 11.do({ b.next.postln; }); ) Pxrand used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\snare909,{ |out=0,mul=1,velocity=1| var excitation, membrane; excitation = LPF.ar(WhiteNoise.ar(1), 7040, 1) * (0.1 + velocity); membrane = ( /* Two simple enveloped oscillators represe ...
-
... written a pattern class Pklee http://fredrikolofsson.com/f0blog/?q=node/467 ( SynthDef(\klee8, {|freq= 400, rate= 0.5, list= #[0, 0, 0, 0, 0, 0, 0, 0], mul= #[0, 0, 0, 0, 0, 0, 0, 0]| var i= LFSaw.kr(rate, 1, 0.5, 0.5)*list.size; ...
-
... annels: [0]); s.sync; q.bufFrames = q.buffer.numFrames; s.sync; ( SynthDef(\bufGab, { |out, amp=0.1, rate=1.0, bend=1.0, pos=1, sustain=0.01, pan| var snd = HPF.ar((LPF.ar((PlayBuf.ar(1, q.buffer, Line.ar((rate*BufRateScal ...
-
... for fun and a demonstration of gui/2Darrays/synths/tasks in less than 30 lines. SynthDef(\peep,{|freq=100| var snd = SinOsc.ar(freq); snd = snd * EnvGen.ar(Env.perc(0.001,0.25), doneAction:2); Out.ar(0, snd ! 2); }).add; w = Window( ...
-
... or common subexpression elimination and dead code elimination passes during the SynthDef compilation. Class Methods Inherited class methods Instance Methods Inherited instance methods helpfile source: /usr/local/share/SuperCollider/HelpSour ...
-
Pvgamelan : Pattern { var <>pattern, <>instKey; // gamelan is synthDef classvar <convertDegree; *initClass { convertDegree = { arg degree=(0), octave=(5); "%%".format(octave, degree.floor).asSymbol; }.flop; } *new { arg pattern, instKey; ^s ...