-
... th freq.max(minval) , or use AmpCompA. // compare a sine without compensation { SinOsc .ar( MouseX .kr(300, 15000, 1)) * 0.1 }.play; // with one that uses amplitude compensation ( { var freq; freq = MouseX .kr(300, 15000, 1); SinOsc .ar(fre ...
-
... ///////////////////////////////////////////////////////////////////////// これを { SinOsc .ar(500, 0, 0.5) }.scope; 次のものと比較してみて下さい。 { SinOsc .ar(500, 0, 0.5).distort }.scope; .distortメッセージ( UGen に送られたメッセージ)は単項演算です。.distortメッセージがSinOsc UGenの出力を ...
-
... ail. // triggered { Linen .kr( Impulse .kr(2), 0.01, 0.6, 1.0, doneAction: 0) * SinOsc .ar(440, 0, 0.1)}.play; // play once and end the synth { Linen .kr( Impulse .kr(0), 0.01, 0.6, 1.0, doneAction: 2) * SinOsc .ar(440, 0, 0.1)}.play; // pl ...
-
... /////////////////////////////////////////////// この例を実行してスコープ・ウィンドウに注目して下さい。 ( { SinOsc .ar([440.067, 441.013], 0, 1) * SinOsc .ar([111, 109], 0, 0.2) }.scope; ) /////////////////////////////////////////////////////////////////////////////// ...
-
... 60dB convergence time for following decays. ( // use input amplitude to control SinOsc frequency { SinOsc .ar( Amplitude .kr( Blip .ar(3, 20) * LFNoise1 .kr(0.1).range(0, 1), MouseX .kr(0.001, 1, 1), MouseY .kr(0.001, 1, 1), 1200, 400 ), 0, ...
-
... me=0.2; var left, right; left = Decay2 .ar( Impulse .ar(0.7, 0.25), 0.01, 0.25, SinOsc .ar( SinOsc .kr(3.7,0,200,500))); right = Decay2 .ar( Impulse .ar(0.5, 0.25), 0.01, 0.25, Resonz .ar( PinkNoise .ar(4), SinOsc .kr(2.7,0,1000,2500), 0.2) ...
-
... /-20.dbamp= 0.1 = 16 sone //0.dbamp= 1 = 64 sone ( { var in, fft, loudness; in= SinOsc .ar(1000,0,0.001); //should be 1 sone //in= SinOsc.ar(1000,0,0.01); //should be 4 sone //in= SinOsc.ar(1000,0,0.1); //should be 16 sone //in= SinOsc.ar(1 ...
-
... running, execute the code below and then press Cmd-. when you've had enough. { SinOsc .ar(440, 0, 0.2) }.play; In this case we've created a Function by enclosing some code in curly brackets, and then called the method 'play' on that Functi ...
-
... freq , the values are not modulatable // compare a sine without compensation { SinOsc .ar( MouseX .kr(300, 15000, 1)) * 0.1 }.play; // with one that uses amplitude compensation ( { var freq; freq = MouseX .kr(300, 15000, 1); SinOsc .ar(fre ...
-
... turns out to be equally simple. All we need is addition: { PinkNoise .ar(0.2) + SinOsc .ar(440, 0, 0.2) + Saw .ar(660, 0.2) }.play; Saw is another type of oscillator, with a waveform that looks like a sawtooth. Note that we use a low value ...