-
// this is an alternative version to modal_functionality_2, // aiming for a higher level implementation style, // using less code, allowing more flexibility, // but also requiring more conceptual thinking. // our simple use case: // we use ...
-
... tep: 1), in: ControlSpec(0, 4095, step: 1), fin: ControlSpec(0, 4095, step: 1), midi: ControlSpec(0, 127, default: 64), midinote: ControlSpec(0, 127, default: 60), midivelocity: ControlSpec(1, 127, default: 64), dbamp: ControlSpec(0.ampdb, ...
-
... eyDownActions.modifiersCocoa[\alt] ) ); scFunc = "// CVCenterControllersMonitor MIDI\n" ++ { CVCenterControllersMonitor(0) }.asCompileString; shortcuts.put( \m, (func: scFunc, keyCode: KeyDownActions.keyCodes[$m]) ); scFunc = "// close all ...
-
... "a variant of a synthesized bell (unstable)"; ~channelLayout = \mono; // note: midiPitch Unit-Incidence Unit-Amplitude (positive values between 0 and 1) ~function = { |outbus, decayscale = 0.2, i_doneAction = 0, trimDB=0, muteSecs = 10, no ...
-
... g-started). - **NanoKontrol2:** - MugicSpatCon will connect to the NanoKontrol2 MIDI inputs & outputs. - If necessary, set the NanoKontrol2 to CC mode by holding **SET**, **MARKER**, and **CYCLE** when connecting it to the computer. - **Aud ...
-
... "Set 'active' arg on/off.\nApplies to all UMaps that have an 'active' arg, i.e. midi_cc, envir_get etc.." ) .action_({ |bt| this.score.setUMapsActive( bt.value.booleanValue ) }) .resize_(3) .canFocus_(false); views[\follow] = SmoothButton( ...
-
... Clock Synth to add clocking for various standards // the standard (derived from MIDI SYNC) uses 24 pulses per quarter note if(type == \zeroFive, { synthName = \ZZZClock; synthArgs = [\out, this.outputOnHardware(output: output), \bus, tempoB ...
-
... d(a, filenameAsKeynum: true, action:{|tub| tub.key(81)}); } ) // play a note by midi key number t.key(81); // play random note x = t.key; x.play; t.gui; t.samples[1].keynum; t.keynums; t.keyRanges; t.key(0, amp: 2.5); SSampler(\tublar).key; ...
-
... d function to get or set its value when called from a SystemClock thread or OSC/MIDI responder. And when the action is called (via valueAction or doAction) it is done immediately instead of with the AppClock delay ( t = Task ({ var pt; pt = ...
-
... AppClock.sched(time, { synth.free }); }); } } + SimpleNumber { // checking if a MIDI note is microtone midiIsMicroTone { arg tolerance = 0.01; if(this.frac < tolerance, {^false}, {^true}); } // checking if a frequency is microtone freqIsMic ...