-
... ther sizes (powers of 2) f = 1024; // the hop size h = 0.25; // get some info about the file sf = SoundFile.new( p ); sf.openRead; sf.close; // allocate memory to store FFT data to... SimpleNumber.calcPVRecSize(frameSize, hop) will return / ...
-
... ; } finalizeEvent { var averagePlaybackRate, reverse; currentEnvironment.useWithoutParents { if(~numFrames <= 0) { // this is an array here ~type = \rest; "start or end of wavesets out of bounds:\n%\n".postf(currentEnvironment); } { // this ...
-
... st sequence differential manchester encoded bytes. ( SynthDef(\redBitsPlayer, {|out= 0, amp= 1, rate= 1000| var numBits= 8*2; //double because of manchester encoding var data= Control.names([\data]).ir(Array.fill(numBits, 0)); var src= Duty ...
-
... stln }; ) // PlazyEnvir used to produce a Pbind: ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05, pan = 0| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(f ...
-
Digital concert harp. Requires DWGPlucked2. ( SynthDef.new(\harp, { |out=0, freq=440, amp=0.5, gate=1, c3=20, pan=0| var env, inp, son, tune, pluck, sost; env = Env.new([0,1, 1, 0],[0.005,0.006, 0.0005],[5,-5, -8]); inp = amp * ...
-
( SynthDef(\noisecomb2, { arg out, gate=1, pan=0, freq=300, amp=0.1, noiselevel=0.2, minfreq=100, decaytime=1, doneAction=2, ffreq=500, rq=0.3, spread=0.8; var sig, env; sig = WhiteNoise.ar(noiselevel); sig = sig + ClipNoise.ar(n ...
-
... ) * Osc1.ar(c, 0.1) }.play; // minimal pulsar synthesis SynthDef(\help_osc1, { |out, amp = 0.1, pan, buf, freq = (60.midicps)| Out.ar(out, Pan2.ar(Osc1.ar(buf, 1/freq), pan, amp)); }).add; (instrument: \help_osc1).play; b = Buffer.sendColle ...
-
... signals from different patterns. Pgroup(pattern): Creates a private group (without private bus) for the pattern's synths. Pfx(pattern, fxname, pairs) Pfxb(pattern, fxname, pairs): Both of these patterns play an effect synth at the tail of ...
-
... d instance methods Examples //Define bow synthdef ( SynthDef(\help_dwgbowed, { |out=0, freq=440, amp=0.5,force=1, gate=1,pos=0.07,c1=0.25,c3=31,pan=0| var vib = Gendy1.kr(1,1,1,1,0.1, 4,mul:0.003,add:1); var son = DWGBowedTor.ar(freq*vib, a ...
-
... h({ Saw.ar(mul: 0.3) }); p.play; q.play; // adds a connection // but q is still out of main outs p.connectInputToPlayer(0,q) q.patchTo(p,0); p.gui ⧉ ✔ helpfile source: /tmp/scquark_hs/crucial-library/HelpSource/Classes/HasPatchIns.schelp li ...