-
... h markov set } } //uses a pattern of indices to walk through a MarkovDict. uses wrapped indexing. Pmswitch : Pfsm2 { var <>which; *new { arg markovset, which, repeats=1; ^super.new(markovset, repeats).which_(which) } embedInStream { arg inv ...
-
... vector connecting edge k to edge k-1 ~vecs = p.size.collect{ |i| p[i] - p[(i-1).wrap(0,p.size-1)] }; //vector connecting edge k to point ~vecs2 = p.collect{ |x| ~point - x }; // if crossproducts of vector connecting edge k-1 to k and vector ...
-
... "Value can be false"); this.assertEquals(j[\null].class, Ref, "Null needs to be wrapped in a Ref"); this.assertEquals(j[\null].value, nil, "Unwrapping Ref(nil) should be nil"); } test_stringsDecode { var j = this.prParseJsonFile("strings.js ...
-
//A lightweight proxy wrapping a playing Synth with its metadata. //Unknown messages (.set/.free/.release/...) forward to the synth, so code that //grabs entries from SamplerQuery.playing for MIDI CC control works unchanged. SamplerVoice { ...
-
... CodeSequencer . * HadronPlugin window has acceptsMouseOver set to true now. * HrWrapSynth synth instance has a getter now. * Collide button in main GUI is an HrButton now for midi triggering. * Some little GUI tweaks. * HrFreeVerb is remove ...
-
... xt ).yield; inf.do { |i| current = (current + ((1/steps.next).clip2( 1.0e12 ))).wrap( 0.0, 1.0 ); current.linlin( 0, 1, lo.next, hi.next ).yield; }; }.r; }).mappedArgs_([\lo, \hi]) .setSpec( \steps, [-100,100,\lin].asSpec ) .category_( 'pat ...
-
... xt ).yield; inf.do { |i| current = (current + ((1/steps.next).clip2( 1.0e12 ))).wrap( 0.0, 1.0 ); current.linlin( 0, 1, lo.next, hi.next ).yield; }; }.r; }).mappedArgs_([\lo, \hi]) .setSpec( \steps, [-100,100,\lin].asSpec ) .category_( 'pat ...
-
... ) ) * EnvGen.kr( Env.perc, t_trig, timeScale: dur ) } ); /// clipping, folding, wrapping Ndef( \testSynth, { arg freq=440, ampin=64, t_trig=1, dur=1; SinOsc.ar( freq, 0, ampin.clip( 0, 0.2 ) ) * EnvGen.kr( Env.perc, t_trig, timeScale: dur ) ...
-
... n) * (2 / insize)); }); } } SelectL : UGen { // select and interpolate // does wrap!! *ar { arg which, array; var whichfrac, whichfloor; // if 'which' is .kr klicks are heard at the turning points.. // use .arSwitch to avoid this (or use K ...
-
... eChannels.size ).not ) { value.useChannels = (..numChannels.asCollection[0]-1) .wrap( 0, value.numChannels ); }; }; }; ^value; } map { |in| ^this.constrain( in ) } unmap { |in| ^in } default { ^nil.asReadWriteBufSndFile; } *newFromObject { ...