-
... Out.ar(out, Pan2.ar(src*env, pan)); }).add; s.sync; b= {Buffer.alloc(s, s.sampleRate*l)}.dup(z); //mono buffer s.sync; responder= OSCFunc({|m| var index= m[3].asInteger; if(x.not, { //if not muted if(index>=1, { ...
-
... itouch feature of Sensors2Osc // OSC etude 1 ( s = Server.local; s.options.sampleRate_(44100); s.options.memSize_(65536 * 4); s.boot; // global variables and buses ~out = 0; // make buses ~makeBuses = {~revBus = Bus.audio(s ...
-
... 0.1, 0.8); sig = DelayC.ar(sig, 1, [0, delayTime], 1); sig = LPF.ar(sig, SampleRate.ir / [3, 2]); FreeSelf.kr(DetectSilence.ar(sig + Impulse.ar(0)).product); Out.ar(0, sig); } ).add ); ( ~time = 128/60; t = TempoClock( ...
-
... Thread.randSeed = randSeed; monthBuf.do{|buf, i| var samples = seconds * s.sampleRate; var maxStartFrame = buf.numFrames - samples; //Ensure we do not run past the end of the buffer var newBuf; //If the file is smaller then th ...
-
... Server.default = s = Server.internal; s.options.memSize = 655360; s.options.sampleRate = 96000.000; s.options.blockSize = 128; ) s.boot; c = Buffer.read(s, "insert/path/to/file/here/leaves_twigs_decode_004_edit.wav"); ( S ...
-
Event type for easy integration of SuperCollider with conTimbre ePlayer using OSC. I'll update this accordingly. /* Event type for easy integration of conTimbre with SC. Just supply an osc destination to the key \oscout. For examp ...
-
... v1, env2, env3; var env0; var osig; var chords; var bufnum = LocalBuf(s.sampleRate * 4,2); var bufgate, stuttrig, choosetrig, recordtrig; var attack, decay, stutter; var env; bufnum.clear; chords = Duty.kr(4, 0, Dseq([ ...
-
... f = SoundFile.openRead(p); f.seek(86965); f.readData(d = Signal.newClear((f.sampleRate * 0.333).roundUp)); f.close; w = Window("granular windows", Rect(800, 200, viewWidth + 4, 450)); u = UserView(w, Rect(2, 2, viewWidth, 400)).f ...
-
This is a player that I use for live work. It takes piano samples (or anything else I guess) and plays them in a rhythmic way that is also based on chord pitches. You'll see the GUI has (for me) chord names to remind me of what harmonic are ...
-
... .control(s); ~c2=Bus.control(s); ~c3=Bus.control(s); ~buff=Buffer.alloc(s, s.sampleRate * 30.0, 2); //Define Synths and effects ( SynthDef(\rec,{arg r=0; var sig; sig=In.ar(~b3); RecordBuf.ar([sig,sig],~buff.bufnum,run:r,loop:0); } ...