-
... check for rate as RecordBuf is ar only name = name ? this.hash.asString; def = SynthDef(name, { RecordBuf.ar( ( if(args.notNil) { this.valueArgsArray(args)} { this.value } ), buffer.bufnum, loop:0); Line.ar(dur: duration, doneAction: 2); } ...
-
( { var numChannels = ~dirt.numChannels; SynthDef("dirt_global_eq" ++ numChannels, { |out, dryBus, effectBus, gate = 1| var sound; var in = In.ar(dryBus, numChannels); var env = EnvGen.kr(Env.asr, gate, doneAction:1); // Dry/Wet // TODO: di ...
-
/* FILENAME: scm_synthdef_autoload DESCRIPTION: Autoloading synthdefs after startup AUTHOR: Marinus Klaassen (2022) */ ( SynthDef(\SCM_PlayBuf_Perc, { | bufnum=0, decay=1, rate=1, pos=0, boost=0, amp=1, pan=0, out=0 | var sig = PlayBuf.ar(1 ...
-
... rver= argServer ?? Server.default; } *initClass { ServerBoot.addToAll({ //build synthdef at server boot SynthDef(\redGrain, { |out= 0, bufnum= 0, rate= 1, pos= 0, dur= 1, pan= 0, amp= 1| var e, z; e= EnvGen.ar(Env.sine(dur), 1, amp*0.1, don ...
-
... batch-processing audio files in NRT mode Score .batchNRT(inputpath, outputpath, synthdefname) If you have a folder full of sound files, and a SynthDef defining the process you want to be applied to the sound files, this method can do it for ...
-
... batch-processing audio files in NRT mode Score .batchNRT(inputpath, outputpath, synthdefname) If you have a folder full of sound files, and a SynthDef defining the process you want to be applied to the sound files, this method can do it for ...
-
... ; this.changed(\source, [obj, index, channelOffset, extraArgs, now]); } } StereoSynthDefControl : SynthDefControl { build { | proxy, orderIndex = 0 | var ok, rate, numChannels, outerDefControl, outerBuildProxy, controlNames; outerDefControl ...
-
// Andrea Valle, jan 2010 // a class for autogui creation of synth and synthdefs SynthDefAutogui { var <>name, <>synthDef, <>aSynth, <>rate, <>target, <>args, <>addAction, <>closeOnCmdPeriod, <>freeOnClose, <>window, <>step , <>hOff, <>vOff ...
-
... r .read(s, "sounds/a11wlk01.wav" ); // remember to free the buffer later. ( z = SynthDef ( \help_PlayBufCF , { | out = 0, bufnum = 0 | Out .ar( out, PlayBufCF .ar( 1 , bufnum, BufRateScale .kr(bufnum), Impulse .kr( 2 ), WhiteNoise .kr( 1 ). ...
-
... envience method to play sounds quickly, // and debug info for it. *play (laras, synthDef, event) VGSound .play; // play all instruments/sonators for one tuning: VGSound .play( \slendro ); VGSound .play( \pelog ); VGSound .play( \neutral ); ...