-
// synthTracker methods // wrapper methods for other classes // part of wslib 2005 // W. Snoei 2005 + Synth { track { arg canRelease, isRunning = true; SynthTracker.register( if( isRunning ) { this } { this.defName }, canRelease); ^this; } ...
-
Safety { classvar <all; classvar <synthDefFuncs; classvar <>defaultDefName = \safeClip; classvar <>useRootNode = true; classvar <classLimit = 1.0; var <server, <defName, <numChannels, <enabled; var <treeFunc, <synth; var <limit; *initClass ...
-
... rgSpec( \numChannels, 1, ListSpec([1,2,3,4,5,6,7,8,10,12,16,24,32]), false, \nonsynth ); } initArgs { argSpecs = argSpecs.collect({ |item| if( item.name.asString[..1].asSymbol == 'u_' ) { item.private = true; }; if( item.spec.notNil ) { if( ...
-
... tude ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 30, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], 0, amp*0.5)); Out.ar(out, Pan2.ar(z, ...
-
( s.waitForBoot({ SynthDef(\1, { Out.ar(\out.ir(0), DC.ar([1, 1])) }).add; SynthDef(\2, { \in.ar([0, 0]).poll }).add; s.sync; s.bind { var bus, s1, s2; bus = Bus.audio(s, 2); s1 = Synth(\1, [\out, bus.index]); s2 = Synth(\2, [\in, bus.busAr ...
-
... ender { // use the same way as Function:play // renders as a soundfile with NRT synthesis arg path, duration = 10, fadeTime=0.02, sampleRate = 44100, headerFormat = "AIFF", sampleFormat = "int24", options, inputFilePath, prependScore, sfBuf ...
-
/* these all have trigs or gates but the synth keeps playing mono analog style */ Instr([\synths,\Pulse],{ arg trig=1.0, freq=440, ffreqInterval=0,rq=0.4,env,qnty=4,detune=2; var p,width; p = Splay.arFill(qnty,{ arg i; Pulse.ar(freq + Rand( ...
-
... buffer= Buffer.cueSoundFile(server, path, 0, channels); } prSendDefs { 8.do{|i| SynthDef("redSFPlayerDisk"++(i+1), {|out= 0, rate= 1, atk= 0, rel= 0, loop= 1, amp= 1, buf, gate= 1| var env= EnvGen.kr(Env.asr(atk, 1, rel), gate, doneAction:2 ...
-
... ewTabButton, helpButton, loadButton, saveButton, panicButton; var <>buf, bus, <>synth; var <>app; var <>lines; var <>kaput; var <>initDone = false; var <>controller; var <texts, <sliders, <soundButtons; newTab{|id| tabs=tabs.add(CollidingTa ...
-
... }); if( pannerUnits.size > 0 ) { repliers = pannerUnits.collect({ |unit, i| var synth, unitIndex; synth = unit.synths.last; // prepan synth is always last synth unitIndex = uchain.units.indexOf( unit ); if( synth.notNil ) { ReceiveReply( sy ...