-
... hest=v; ~hhighest=h;}); //find highest value t.value; //put on screen p.set(\value, ~tabel.at(v,h)); //make sound v= ~maxIndex.rand; //choose next element h= ~maxIndex.rand; 0.125.wait }); //show what was made before ...
-
... c ); }); MIDIdef.noteOff(\off, { arg val, num, chan, src; ~notes[num].set(\gate, 0); ~notes[num] = nil; //probably optional, just to be on the safe side }); MIDIdef.bend(\bendTest, { arg val, chan, src; ~bend = val; ~n ...
-
... var soundGroup = Group.after(lineGroup); var freqBus = Bus.control(s, 2).set(initialFreq); var ampBus = Bus.control(s, 2).set(initialAmp); var qBus = Bus.control(s, 2).set(initialQ); var noise = Synth.head(soundGro ...
-
... lti.currentvalue; if( value < 0.025, { value = 0 } ); harmo_spectrum[index].set(\amp, value*2); }; win.background = Color.new(0.2, 0.1, 0.1); tune_slider.drawFunc = { draw_h_slider.value( tune_slider, value, Color.red, "Gravaigu" ...
-
A short demonstration how to change values in a buffer from a GUI. Also some presets added, because the mouse precision is not very good if you intend to draw fast. /////////////////////////////////////////////////////////////////////////// ...
-
... cuando llega a 96.midicps ~sinteuno=Synth(\timbreuno); ~sinteuno.set(\nota,espiralillo); tiempo.next.wait; }; }); ); ( Tdef(\espiral2,{ var c=0,espiralillo,n=48; inf.do{ c=c+1; m=12; espiralillo=c%m+ ...
-
... statements :) ( s.waitForBoot({ var midiout; var no_of_bins; var bins = Set[]; var table; var lut; var period = 127; var phase = 0; var rangemin = 20; var rangemax = 80; var strum = 0.0025.neg; var delay_between_chor ...
-
GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code
... ; bassAmp = bassAmp.linlin(0.0, 1.0, 0.05, 0.75); ~bassAmp = bassAmp; //x.set(\amp, bassAmp); if( x.isPlaying, {x.set(\amp, ~bassAmp)} ) }); // numberBoxes numberBoxes[0].value_(55) .clipLo_(30) .clipHi_(120) .acti ...
-
... dsr( attackTime:atk, decayTime:dec, sustainLevel:suslevel, releaseTime:rel, curve:curve ).kr(gate:gate); [freq * ratio.kr(1) + Rand(detunehz.neg, detunehz), env] }); var mods = numops.collect({arg i; v ...
-
... ,sig3,sig4,sig5; var buf = LocalBuf(2*s.sampleRate, 2); var rate; var choosetrig; sig = in; sig1 = RLPF.ar(sig, ffreq, rq); choosetrig = choose > 0; RecordBuf.ar(sig1, buf, loop:1, trigger:choosetrig); rate = EnvGen.kr(E ...