-
... // resetting the frequencies and amplitudes after the synth has been created ( SynthDef('help-dynKlang', { |out, freqs = #[220, 440, 880, 1760], amps = #[0.35, 0.23, 0.12, 0.05], phases = #[1, 1.5, 2, 2.5]| Out.ar(out, DynKlang.ar(`[freqs, ...
-
... lcome; I've never used one of these things directly. ( b = Bus.audio(s, 1); SynthDef(\muse, {|freq, dur, vol| var env = EnvGen.kr(Env.linen(sustainTime: dur*0.925, attackTime: 0.075*dur, releaseTime: 0.01*dur), doneAction: 2); Out.a ...
-
... 0], [0.5, 0.5], [8, -8]); z = Buffer .sendCollection(s, winenv.discretize, 1); SynthDef ( \sin_grain_test , { arg gate = 1, amp = 1, envbuf; var pan, env, freqdev; // use mouse x to control panning pan = MouseX .kr(-1, 1); // use WhiteNois ...
-
... CObjectSpace, in this case to make local instances for remote Servers and share SynthDefs // as well as to share some parameters // here we will share some arbitrary objects // OSCObjectSpace makes local copies of archivable objects stored ...
-
... enindex; var file; var def; "Extracting onsets".postln; //mono input only def = SynthDef(\SCMIRAudioOnset,{arg playbufnum, length; var env, input; var fft, trig; var featuresave; var onsetoutput; env=EnvGen.ar(Env([1,1],[length]),doneAction ...
-
~bus = Bus.audio(s,2); ( ~name = \kickfb; SynthDef(~name, { |out=0, amp=0.1, pan=0, release=0.26, fratio=1.5, freqpan=0.01, spread=0.8, timeScale=1| var env0, env1, env1m, son; //freqpan = [-1,0,1] * freqpan; freqpan = [1,0, ...
-
... .boot; z = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav") ( x = SynthDef(\specEnhance, {arg ratio = 2; var a, chain, out; a = LocalBuf.new(2048); // Sin tone // chain = FFT(a, SinOsc.ar(440), 0.5); // sf playback // chain = ...
-
... MKtl.find(\midi); n.openDevice; */ n.elAt(\sl); // create a Synth to control ( SynthDef(\blippy, { var sound = Blip.ar( \freq.kr(440).lag(0.1), \numHarmonics.kr(100), \amp.kr(1.0).lag(0.1) ) * 0.5; sound = RLPF.ar(sound, 5000); Out.ar(0, P ...
-
... / now with tempo ! 33.do { arg x; ( "creating babass "++x ).postln; SynthDef(( \babass++x ).asSymbol, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var sig; var voices = 8; // CPU control sig = SinOsc.ar(freq); ...
-
... nt. you cannot cut-up a stream created later in the execution order. Change the SynthDefs in the class file to InFeedback if you want no execution order worries, at the expense of an audio block's delay (usually 64 samples). Class Methods . ...