-
Demo of a custom switch button, allowing you to cycle between several states. Connect to a function using view.bindFunction( function ). Supports layout integration, colors customisation, states and current state reassignment. ( var win ...
-
A QuNeo's Sampler melodic and expressive with different scales by sebastienclara (sebastienclara) Code
... ////// // Initialisation var window, scalePopUp, scalesIndexTxt, selectSampleButton; var scale, padsDegree = [0,1,2,3, 2,3,4,5, 4,5,6,7, 6,7,8,9]; var scalesIndex = 51, locMoinsUn = 1; var sampler = Array.fill(padsDegree.size, {nil ...
-
... Pattern.value("off"); ~makePBjorklundControlPanel.value; //and wait till the button gets pressed // functions ~makeSynths = { SynthDef("plucking", { arg outbus = 0, amp = 0.2, sAmp=0.5, freq = 440, pluckDecay = 5, coef = 0. ...
-
... eSlider, durationSlider, printEnvData, adjustEnv, masterOut, presetArray, presetButtons; timeScale = 3; // total duration of a "note" numberOfPoints = 8; // how many points in the breakpoint envelopes presetArray = Array.newClear(12 ...
-
... se); // TODO! var gui_space = StaticText(window, (15@20)); var gui_midiinit = Button(window, (75@20)).states_([["INIT"], ["REFRESH"]]); var gui_devicelabel = StaticText(window, (50@20)).font_(font).string_("device").align_(\center); var ...
-
... nge from grain to grain in a single pbind stream (mostly bi-directional, use <> buttons for rate & filter) //dev = the amount of random deviation from centre using the distribution from the pop-up next to it //round button next to dev cha ...
-
... width: 0.8) ) ) } ) ] ), // ------ pad into button ------------- ( key: \bt, shared: (\midiMsgType: \cc, \elementType: \pianoKey, \spec: \midiVel ), elements: [ ( shared: ( ...
-
... ints, timeScale, win, subwin, font, labelColor, windowColor, presetArray, presetButtons, masterOut; /* , , , , , , , , , , freqRatioDisplayAnumber, freqRatioDisplayBnumber, , , , , ; */ /////////////////////////// // Various i ...
-
... .3| var m = MouseY.kr(0, 8); var trig = (num <= m) & (m < (num + 1)) * MouseButton.kr(0, 1, 0); Out.ar(out, PinkNoise.ar * EnvGen.kr(Env.perc(0.01, 0.02), trig) * amp); }).add; SynthDef(\sitar, { |out = 0, chikari = 0, tarafdar ...
-
... // control window var window, dampknob, damptext, springknob, springtext, resetbutton, panknob, pantext, newbounds; window = Window.new(server:s); damptext = StaticText.new(); damptext.string = "damping\n"; dampknob = Knob.new(window); ...