-
... startPlayer; 1.5.wait; this.stopPlayer; } test_setSource { var q,r; q = Patch({ Saw.ar(40.midicps) * 0.05 }); r = Patch({ Saw.ar(52.midicps) * 0.05 }); this.startPlayer; player.preparePlayer(q); this.wait({ q.isPrepared },"waiting for playe ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef("sawSynth", { arg freq = 440, amp = 0.1, att = 0.1, rel = 2, lofreq = 1000, hifreq = 3000, pan = 0; var env, snd; env = Env.perc( attackTime: att, releaseTime: rel, level: amp ).kr(doneA ...
-
... tude ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 60, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], Rand(0, 2pi), amp*0.5)); Out.ar(out, ...
-
... */ ( q = (); w !? _.close; q.knobs = 4.collect{ Knob() }; q.labels = ["SinOsc","Saw","LFNoise","WhiteNoise"]; q.numboxes = 4.collect{ NumberBox() }; q.texts = q.labels.collect{ |st| StaticText().string_(st) }; q.button = Button().states_([[ ...
-
... ib ( q = (); w !? _.close; q.knobs = 4.collect{ Knob() }; q.labels = ["SinOsc","Saw","LFNoise","WhiteNoise"]; q.numboxes = 4.collect{ NumberBox() }; q.texts = q.labels.collect{ |st| StaticText().string_(st) }; q.button = Button().states_([[ ...
-
/* This SynthDef is loosely based on the famous "supersaw" from the Roland JP-80x0 synths. The supersaw sound is very common in 2000s-or-so EDM, and in the case of the Roland supersaw, it's built around 7 detuned saw waves with (as far as I ...
-
... in parallel. Each setting action can affect an arbitrary combination of running synths. PpolyPar can be used for polyphonic sources alone as well as in combination with effects. History: PmonoPar and PpolyPar grew out of discussions on sc-u ...
-
... tting; var freqSpec, crackleSpec, params, s; s = server ? Server.local; // mono SynthDef(\xiiNoise1x1, {arg inbus=0, outbus=0, amp1, amp2, amp3, amp4, amp5, level=0; Ê Êvar white, brown, pink, gray, crackle; white = WhiteNoise.ar(amp1); pin ...
-
... t : UnitTest { var s,b,p,g,n; setUp { s = Server.default; this.bootServer; InstrSynthDef.clearCache(Server.default); MixedBundleTester.reset; //AbstractPlayer.bundleClass = MixedBundleTester; p = Patch("oscillOrc.saw",[ 440, 0.1 ]); g = Gro ...
-
CCIn CC-Responder MIDI-In wrapper for easy plugging into Synths CCIn.kr(chan, num, spec, lag); chan midi channel - 0 .. 15 num cc number 0 .. 127 spec a Spec - i.e. \freq, \amp, [5, 50], [1, 100, \exp] lag lag3 time - 0..., default is 0.05 ...