-
/* \point_in_rect Creates an UMap for testing if a point is inside or outside a rectangle. point: the point center: the center of the rect area radius: the radius of the rect area inValue: the value to return when the point is inside the re ...
-
... nthesis. The focus with modal synthesis is that any object will vibrate at certain frequencies (modes), with certain amplitudes, and certain decay times in a case where there's a damping force, for each of these modes. Here most of the math ...
-
... ad; p.clear; p = JITModPatch.load; s.boot; p = JITModPatch(s, \test); ~out = { \in.ar(0!2) }; ~out.play(vol: 0.2); ~freq = { LFDNoise3.kr(14).exprange(55, 1200) }; ~osc = { VarSaw.ar(~freq.kr, 0, Lag.kr(LFDNoise0.kr(8.7).range(0.01, 0.5), 0 ...
-
( Alga.boot({ AlgaSynthDef(\test, { SinOsc.ar(\f.kr(440)) * EnvPerc.ar(release:2) }).add; AlgaSynthDef(\test2, { Saw.ar(\f.kr(440)) * EnvPerc.ar(release:2) * 0.5 }).add; s.sync; a = AP(( def: \test, dur: 0.5 ), playTime:2 ); b = AN({ \in.ar ...
-
>> blkset 1 freq mel13 == radpost == Ndef('mod1', {arg in=1, mul=1, add=0, lag=0; var sig, chain, mel; sig = SoundIn.ar( (in-1).max(0) ); chain = FFT(LocalBuf(1024), sig); mel = MFCC.kr(chain)[12]; (mel.linlin(0,1,-1,1) * mul).exprange(20.0 ...
-
>> blkset 1 freq mel1 == radpost == Ndef('mod1', {arg in=1, mul=1, add=0, lag=0; var sig, chain, mel; sig = SoundIn.ar( (in-1).max(0) ); chain = FFT(LocalBuf(1024), sig); mel = MFCC.kr(chain)[0]; (mel.linlin(0,1,-1,1) * mul).exprange(20.0, ...
-
... se, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Se ...
-
... f Buffers var <actions; // a dictionary of Functions var <meta; // a dictionary intended for random support data var <>home; // possibly a PlonkSetup var <proxyspace; // holds the NodeProxy at the specified key *new {|key, proxyspace| ^supe ...
-
>> blkset 1 freq hpch2 == radpost == Ndef('mod1', {arg in=1, mul=1, add=0, thresh=0.93, lag=0; var sig, chain, freq, hasFreq, minFreq, maxFreq; sig = SoundIn.ar( (in-1).max(0) ); # freq, hasFreq = Tartini.kr(sig, thresh).lag(lag); ((hasFreq ...
-
>> blkset 1 freq flat == radpost == Ndef('mod1', {arg in=1, mul=1, add=0, lag=0; var sig, chain, flat; sig = SoundIn.ar( (in-1).max(0) ); chain = FFT(LocalBuf(2048), sig); flat = SpecFlatness.kr(chain).lag(lag); (flat.linlin(0,1,-1,1) * mul ...