-
... ,").padRight(12) ).postln; }} { type == "sysrt" } {{ arg data, srcID, index; var table; table = Dictionary.newFrom([ 1, "MIDI Time Code Quarter Frames", 2, "Song Position", 3, "Song Select", 6, "Tune Request" ...
-
... .freeAll; MIDIdef.noteOn( key: \noteOn, func: {arg vel, note; var index = note - 36; // start from 0 padsArray[index] = Synth("risset", [ \freq, (note+24).midicps, \dur, duration])}, noteNum: (36..99), // onl ...
-
... strokeColor = Color.white; Pen.moveTo( Point(0, a[0]) ); a[1..].do{ |value, index| Pen.lineTo( Point(index+1, value) ) }; Pen.stroke; }; // call our function when the mouse is pressed or moved u.mouseDownAction = { |u, x, y, mod| ...
-
... ; /* SynthDefs */ SynthDef(\tone1, { arg gate = 1, freq = 440, out = 2, index=100, modMix = 0, dur; var env = EnvGen.ar(Env.linen(0.0005, dur-0.001, 0.0005, 1, IRand(-8,-4)), gate, doneAction:2); var mod = SinOsc.ar(freq*Rand(0. ...
-
... -1) * [1,-1]).scramble++[0], //greater segment duration variety in higher-index wavetables {exprand(1,i.linexp(0,9,1,50))}.dup(numSegs), //low-index wavetables tend to be sinusoidal //high index wavetables tend to have s ...
-
... .5, \c1, -2, \gate, 1, \db, -9, \pan, -0.5, \out, ~faderBus.index, \group, ~mainGroup, ), //violin 2 upper divisi Pbind( \instrument, \strings, \dur, Pseq([ 3, 3, 1, 1, 1, 1, 2, ...
-
... ,74,81,86,90]; ~synths = []; ~notes.size.do({ |item, i| // normalized index var nIndex = i/~notes.size; //inverse normalized index var inIndex = (~notes.size - i)/~notes.size; ~synths = ~synths ++ Synth(\voice, [ ...
-
... uant,{ arg speed=4, dev=0.2, dist=0, root=120, amp=0.5, lg=0, out=0; var index, intv, sig, lfo, buffer = [1,9/7,7/5,5/3,9/5,15/7,7/3,25/9,3,27/7,21/5,15/3,27/5,45/7,21/3,75/9,9].as(LocalBuf); lfo = LFBrownNoise1.kr(speed,dev,dist ...
-
... r.magenta ] ); switch.updateStates( demo_states ); switch.bindFunction( { | index | demo_string = demo_states[ index ][0]; demo_view.refresh; } ); switch.valueState( 0 ); win.layout_( VLayout( demo_view, switch ) ); win.front ...
-
... .freeAll; MIDIdef.noteOn( key: \noteOn, func: {arg vel, note; var index = note - 36; // start from 0 padsArray[index] = Synth("risset2", [ \freq, (note+12).midicps, \amp, vel.linlin(0, 127, 0.01, 0.1), \att ...