-
... ef(\test, { var dur; loop { dur = e.dur; (amp: e.amp, dur: dur, degree: 7.rand).play; dur.wait; }; }).play; ) e.put(\amp, 0.03); // just set it e.put(\amp, 0.1); e.softPut(\amp, 0.11); // small change, OK to set e.put(\amp, 0.1); e.softPut( ...
-
... useful if the list will be repeated cyclically, the first element will not get played twice. The receiver is unchanged. [1, 2, 3, 4].mirror1.postln; mirror2 Return a new Array which is the receiver concatenated with a reversal of itself. T ...
-
My first post to sccode! A display which visualises a granularised sound file. Each grain is represented by a dot which moves across the waveform of the sound file at its real speed (i.e. pitch) The dots fade in and out to show the effects ...
-
... must have power of two framesize Convolution2L .ar(input, b, 0, 512, 1, 0.5); }.play; ) // another example ( // must have power of two framesize- FFT size will be sorted by Convolution2 to be double this // maximum is currently a=8192 for F ...
-
Play around with {Rand(70, 21000)}!7 A simple example for the begginers... hope I can contribute to something =) ( SynthDef(\Synth3, {arg ress = 0; var klank, env; klank = Klank.ar(`[{Rand(70,21000)}!7, {Rand(0.128,0.700)}!7],Br ...
-
... = AlgaNode({ SinOsc.ar(\freq.ar(440!2)) }, [\freq, ~seq.freq, \amp, ~seq.amp]).play; }); )
-
... 0.rand/t; fa = 3.0.rand/t; fs = 3.0.rand/t; fr = 3.0.rand/t; play{ var env, fenv, sig, gate, vib; gate = Line.kr(1,0,t); env = EnvGen.kr(Env.linen(a,s,r),doneAction:2); fenv = EnvGen.kr(Env.linen(fa,fs,fr) ...
-
... d instance methods Examples ~order = 3; TeensyHeadTracker.new(order:~order); // Play white noise at the front ( Ndef(\hoa_testorientation, {|amp=0.125, freq=100, azi=0, ele=0| var sig = WhiteNoise.ar(amp); sig = HoaEncodeDirection.ar( sig, ...
-
... ery data ~synth = { NearestN.kr(~treebuf, {LFNoise0.kr(1)}.dup, num:3).poll(1)}.play; ~synth.free ⧉ ✔ This more complete example shows it in action: ( s.waitForBoot{ ( x = 15.collect{|i| [1.0.rand, 1.0.rand, i]}; ~treedata = NearestN.makeBu ...
-
... MIDIdef MIDIFunc and MIDIdef: Filtering based on device or message data MIDIIn Playing notes on your MIDI keyboard Sending MIDI out MIDI synchronization Third party libraries Guides | External Control > MIDI'>MIDI Using MIDI Notes on MIDI ...