-
... , 0.15, 0.35, 0.2, 0.2, 0.2], 3), 0.35, 0.35, 0.35, 0.25, 0.25], 1), // comment out next three lines for another variation // \ctranspose, [-8, 0], // \strum, 0.045, // \amp, Pkey(\amp) * [1, 0.2] );
-
... ise2.kr(1).range(lofreq, hifreq) ); snd = Mix.ar(snd); snd = Pan2.ar(snd, pan); Out.ar(0, snd); // Basic saw synth //By Bruno Ruviaro //http://sccode.org/1-54H }).add;
-
... lt values SynthDef( "withControls", { arg freq = 440, beatFreq = 1, mul = 0.22; Out.ar( 0, SinOsc.ar([freq, freq+beatFreq], 0, mul) ) }).add; ) // items in the array are passed to the controls in Synth when it's created z = Synth("withContr ...
-
... in = SoundIn.ar(0,mul:gain); delay = DelayL.ar(in!2,10,MouseX.kr(0,10))!2; Out.ar(0,delay) }).add; ) a = Synth("vinil10"); a.free // libera (desactiva) el oscilador
-
... oise.ar(0.7)); env = EnvGen.kr(Env.perc(0.01, rel), doneAction: 2); Out.ar(0, klank * env.dup * amp); }).add; ) ( { 42.do{ x = [70, 90, 120].choose; y = rrand(0.01, 5); // attack Sy ...
-
... ol: MKtl.find( 'hid' ); // needs 3.7dev MKtl.find( 'midi' ); // this will print out a list of devices, pick the one you want: /* // Available MIDIMKtls: // MKtl('myNickName', 'lookupName'); // [ midi device, portname, uid] MKtl('midi_0_iac_ ...
-
... locktick=Impulse.ar(tempo); beep= SinOsc.ar(440,0,0.1)*Decay.ar(clocktick,0.1); Out.ar(0,Pan2.ar(beepvol*beep,0.0)); //trig from clock, trigID 100, always pass current tempo as parameter SendTrig.ar(clocktick,trigID,tempo); //sends with ID ...
-
... dd) Measures the rate of change per second of a signal. Formula implemented is: out[i] = (in[i] - in[i-1]) * sampling_rate in - input signal to measure. ( { var a, b, c, scale; a = LFNoise2 .ar(2000); // quadratic noise b = Slope .ar(a); // ...
-
... ds kind of broken. Not very disappointed with the result :) SynthDef(\ping, { |out, freq=440, amp=0.1, impdecay=0.01, attack=0.0001,sustain=0.1, famt=3, ffreq=1000, hdur=0.1| var snd, trig, decay; trig = Impulse.ar(0); decay = ...
-
... Programming at some point could also be useful, as could reading a FAQ, etc. about Smalltalk. Smalltalk is the general purpose OOP language upon which the the design of the SuperCollider language is based. Its syntax is different than SC's ...