-
... how how you might use Streams to generate musical material. ( s = Server.local; SynthDef(\help_SPE1, { arg i_out=0, freq; var out; out = RLPF.ar( LFSaw.ar( freq, mul: EnvGen.kr( Env.perc, levelScale: 0.3, doneAction: Done.freeSelf )), LFNoi ...
-
... cZeroXDiffs, ~envZeroXDiffs) for // adjusting the envelope playback rate in the SynthDef dynamically ( ~srcZeroXOffset = 1019; // check with other offset ~srcMaxHalfWavesetNum = 2; ~srcZeroXIndices = ~srcBufZeroXArr [ ~srcZeroXOffset .. ~sr ...
-
... ar; // or k.keyDown([60, 64, 68]) k.keyUp([60, 64, 68]) // a sounding example ( SynthDef ( \midikeyboardsine , { arg freq, amp = 0.25; Out .ar(0, ( SinOsc .ar(freq,0,amp)* EnvGen .ar( Env .perc, doneAction:2)).dup) }).add; k = MIDIKeyboard ...
-
... nv_array, times: Array.fill(env_points+1, env_duration/(env_points+1)) ); SynthDef(\grain, { | freq = 220 | var snd, env, envctl, envgen, pan, amp; env = Env.newClear( 10 ); envctl = \env.kr( env.asArray ); envgen = EnvGen.a ...
-
... ***********************/ // SYNTH DEFINITION /************************/ ( SynthDef("plucking2.0", {arg amp = 0.1, freq = 440, decay = 5, coef = 0.1, verbMix = 0.9, verbSize = 0.9, verbDamp = 0.0001, vibratoRate = 7, vibratoMul = 10, p ...
-
... cZeroXDiffs, ~envZeroXDiffs) for // adjusting the envelope playback rate in the SynthDef dynamically ( ~srcZeroXOffset = 1019; // check with other offset ~srcMaxHalfWavesetNum = 2; ~srcZeroXIndices = ~srcBufZeroXArr[~srcZeroXOffset..~srcZer ...
-
... ) }; // add value: environment overrides node's initarg, // which overrides the SynthDef's default // used to add synthdef default explicitly (c.defaultValue) // but that breaks t_gate, so now adding only values // that exist in the event o ...
-
... // *new { |server| settings = SGME_Settings.get; ^super.new.init(server); } *addSynthDef { lag = SGME_Settings.get[\oscLag]; SynthDef(\SGME_oscillator, { // Parámetros manuales del SGME convertidos a unidades manejables (niveles de 0 a 1, h ...
-
... bus, \freq, pitch, \pan, 0.7.rand2, \amp, myVol ]); } }, 10, { { // the sc-code synthdef is compiled into the name xiiCode Synth(\xiiCode, [ \outbus, outbus, \freq, pitch, \pan, 0.7.rand2, \amp, myVol ]); } }, 11, { { // the audio stream Sy ...
-
... . tschedAbsNext Inherited instance methods Examples s = Server.local; s.boot; ( SynthDef("bubbles", { var f, zout; f = LFSaw.kr(0.4, 0, 24, LFSaw.kr([8,7.23], 0, 3, 80)).midicps; zout = CombN.ar(SinOsc.ar(f, 0, 0.04), 0.2, 0.2, 4); Out.ar(0 ...