-
... s Examples ( d = { |amp = 1.0| var in1, in2; in1 = LFNoise0.ar(800, amp); in2 = SinOsc.ar(800); LeastChange.ar(in1, in2) * 0.1; }.play; ) d.set(\amp, 0.1); d.set(\amp, 0); d.set(\amp, 3); d.free; ⧉ ✔ the control that changed least is used a ...
-
... args Ndef(\mySynth, {|out| var sig; var freq = \freq.kr(200.0, lag: 0.1); sig = SinOsc.ar( freq: freq * [0.0, 0.01].midiratio * (1+SinOsc.kr(freq, mul: \freqModDepth.kr(0.0, lag: 0.1))), phase: LFDNoise3.kr(2.0!2, mul: pi) ) * SinOsc.ar(\am ...
-
... ( SynthDef( "aSynthDef", // SynthDefの名前 { // ugenGraphFunc arg freq; Out.ar( 0, SinOsc.ar(freq, 0, 0.1) ) } ).load(s); ) ⧉ ✔ //////////////////////////////////////////////////////////////////////////////////////////////////// SynthDefブラウザー ...
-
... ttern = Dseq([Dseq([0, 3, 5, 0, 3, 7, 0, 5, 9], 3), Dbrown(0, 23, 1, 5)], inf); SinOsc.ar( Demand.kr(Dust.kr(10), 0, Dbufrd(b, indexPattern)) ) * 0.1 }.play; ) // buffer as a time pattern c = Buffer.alloc(s, 24, 1); c.setn(0, { [1, 0.5, 0.2 ...
-
... 600, 800]); var freq = FoldIndex.kr(buf, MouseX.kr(0, BufFrames.ir(buf) * 3)); SinOsc.ar(freq) * 0.1 }.play; ) // the same using a global buffer ( t = [200, 300, 400, 500, 600, 800]; b = Buffer(s, t.size, 1); // alloc and set the values s. ...
-
... stance methods Examples s.boot; z = RecordMyDesktop.new( "helpfile_example"); { SinOsc.ar( [200,400],0,0.3 )}.play; { SinOsc.ar( [230,400],0,0.3 )}.play; z.stop; "vlc helpfile_example.ogv".unixCmd; ⧉ ✔ helpfile source: /tmp/scquark_hs/Recor ...
-
... hear the difference, LinPan having a slight drop in the middle... { LinPan2.ar(SinOsc.ar(440), Line.kr(-1, 1, 5)) }.play // ... whereas Pan2 is more smooth { Pan2.ar(SinOsc.ar(440), Line.kr(-1, 1, 5)) }.play // other examples { Pan2.ar(Pin ...
-
... 600, 800]); var freq = WrapIndex.kr(buf, MouseX.kr(0, BufFrames.ir(buf) * 3)); SinOsc.ar(freq) * 0.1 }.play; ) // the same using a global buffer ( t = [200, 300, 400, 500, 600, 800]; b = Buffer(s, t.size, 1); // alloc and set the values s. ...
-
... ay; // Throbby bass {DFM1.ar(Pulse.ar(100, mul:0.4) + Pulse.ar(100.1, mul:0.4), SinOsc.kr(SinOsc.kr(0.3).range(0.2, 5)).range(80, 2000), 1.1, inputgain: 2.0, mul:0.7)!2}.play; ⧉ ✔ [ 1 ] - For questions related to the audio code in DFM1 plea ...
-
... ls discrete pitch in dorian mode Patch({ arg scale; var mix; mix = // lead tone SinOsc.ar( ( DegreeToKey.kr( scale.bufnumIr, MouseX.kr(0,15), // mouse indexes into scale 12, // 12 notes per octave 1, // mul = 1 72 // offset by 72 notes ) + ...