-
... See also FFT Overview . s.boot; d = Buffer .read(s, "sounds/a11wlk01.wav" ); ( SynthDef ( "help-add" , { arg out=0, soundBufnum; var inA, chainA, inB, chainB, chain ; inA = PlayBuf .ar(1, soundBufnum , BufRateScale .kr(soundBufnum), loop: ...
-
... eplace the posting statements with instructions to play a synth. Preparation: ( SynthDef ( \singrain , { |freq = 440, amp = 0.2, sustain = 1| var sig; sig = SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .perc(0.01, sustain), doneAction: 2); Ou ...
-
... wards lo if minmax < 0, otherwise skewed towards hi. See also: Rand , ExpRand ( SynthDef ( \help_LinRand , { | out = 0, minmax = 1 | Out .ar(out, FSinOsc .ar( LinRand (200.0, 10000.0, minmax), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ) }).s ...
-
... / switch servers for scope // impulse train that can be moved between samples ( SynthDef ( \Help_SubsampleOffset , { |out, addOffset| var in, dt, sampDur, extraSamples, sampleOffset, resampledSignal; in = Impulse .ar(2000, 0, 0.3); // some ...
-
... ( XLine .kr(2000, 200), 0, 0.5) }.play; x.free; // what this example does ( x = SynthDef(\helpSomeUGen, { Out.ar(0, SomeUGen .ar( SinOsc .ar( XLine .kr(1, 1000, 9), 0, 200, 800), 0, 0.25)); }).play; ) x.free;
-
... o to hi each time the trig signal changes from nonpositive to positive values ( SynthDef ( "help-TRand" , { var trig, outBus; trig = Dust .kr(10); outBus = TIRand .kr(0, 1, trig); //play on random channel between 0 and 1 Out .ar(outBus, Pin ...
-
... ///////////////////////////////////// Synthesis 1_The_network 2_Prerequisites 3_SynthDefs 4_Rates 5_Buses 6_Controls 7_Test_functions 8_UnaryOp_synthesis 9_BinaryOp_synthesis 10_Subtractive_synthesis 11_Groups 12_Playbuf 13_Delays_reverbs 1 ...
-
... = a.asStream; 6.do({ b.next.postln; }); ) Pser used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... asStream; 13.do({ x.next.postln; }); ) Pstutter used as a sequence of pitches ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... eate a bus b.createBus( \rx , s ); b.createBus( \b1 , s ); // simple example: ( SynthDef ( \hidbus_help , { |out=0,amp=0.5| Out .ar( out, SinOsc .ar( 300, 0, 0.2*(amp-0.5) ) ); }).load( s ); ) x = Synth .new( \hidbus_help ); x.map( \amp , b ...