-
... s.flat.do { |instName| playbackSettings[instName] = ( level: 1, pan: 0, out: 0, synthDef: \vgSampDyn, mute: false, solo: false ); } } *getAmpComp { |fileKey| ^ampComps[fileKey] ? 1 } *getRootPitch { |fileKey| ^rootPitches[fileKey] ? 958 } * ...
-
// FX synthdefs // channel-independent // should all have a sustain arg ! /* Ndef(\xf_tstSnd, { VarSaw.ar(LFNoise0.kr([8, 12]).exprange(200, 2000)) * LFDNoise3.kr(1, 0.1, 0.2) }).play; // crackly cable (instrument: \kabelScahden, freq: [50, ...
-
... werty{ var <win, keys; var notes, lowest, v, h; var buttons,synths,tasks; *new{|synthdef="no synthdef"| ^super.new.init(synthdef); } getPos{|ch| keys.do{|row,i| var idx = row.find(ch); if(idx.notNil){^[i,idx]}; } } init{|synthdef| h = 2; v ...
-
... not ) { this.start; } { (this.class.asString + "already running").postln; }; } *synthDef { /* if( to == 2 ) { ^SynthDef("_mastersplay", { |in = 0, out = 0, fade = 0.25, gate = 1| XOut.ar( out, EnvGen.kr( Env([ 0, 1, 1, 0 ], [fade, 0, fade], ...
-
... ~dirt, you can livecode these synths. */ ( // modulated band limited impulse ( SynthDef(\imp, { |out, sustain = 1, freq = 440, speed = 1, begin=0, end=1, pan, accelerate, offset| var env, sound, rate, phase; env = EnvGen.ar(Env.perc(0.01, ...
-
... to change // outChannels, basicFader and postSendReadyFader automatically cause synthdefs // to be resent so that running servers are in sync with the definition var <>name, <>inChannels, <outChannels, <fader, <>controls, <>guidef; *initCla ...
-
... | item.key; }); playInFunc = [ // one for File, Stream & Input; // for File-in SynthDefs { | p, channum, bufnum, tpos = 0, lp = 0 | p.value = PlayBuf.ar(channum, bufnum, BufRateScale.kr(bufnum), startPos: tpos, loop: lp, doneAction:2); }, ...
-
// test //-- INIT ( SynthDef(\sinmore2, { OffsetOut.ar(0, Env.sine(0.1, \amp.kr(0.1)).ar(doneAction: 2) * SinOsc.ar(\freq.kr * [1, 1.2])) }).add ); s.sync; //-- PLAY ( Tdef(\xmoremore, { var dt = 0.04 * { rrand(1, 3) / rrand(3, 7) }.dup.sum ...
-
//Bug ( s.waitForBoot({ SynthDef(\test, { Out.ar(\out.ir(0), { SinOsc.ar(2) * EnvGen.ar(Env([1, 1], [0.2]), doneAction:2) }) }).add; s.sync; ~bus = Bus.audio(s); Pbind( \instrument, \test, \dur, 1, \out, ~bus.index, \addAction, \addToHead ) ...
-
... novca]; inChannels = maxchansIn ? 2; outChannels = outchans ? 2; this.regenerateSynthDefs(maxchansIn, inChannels, outChannels, verbose, force); } *regenerateSynthDefs{|maxchansIn, inchans, outchans, verbose, force=false| (1..maxchansIn).do{ ...