-
... previous : nil ); ); ~markov2d.safeReg(\setup, { // function called to setup the next-state table | self, first, second, list_of_pair_of_next_prob | var key = (""++first++"_"++second).asSymbol; ...
-
... ustom 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 = Window( " ...
-
Function that returns a color picker view, and allows to connect it to a function outside of the color picker itself. Contains an HSV to Color() algorithm. No embellishment. ( /* Demonstration of a HSV Color Picker, raw version S ...
-
... ar menu, allowing you to switch between several buttons instances. Connect to a function using view.bindFunction( function ). Supports layout integration, colors customisation, orientation, states and current state reassignment. ( var wi ...
-
... audible 1 second. To avoid this, passing both the levels and the times to this function will detect when the sound stops playing and will reduce the "silence" times to 0.01s, thus freeing the UGens way faster. Can be useful for granular s ...
-
... >midiout; classvar <>pads;//2DARRAY classvar nonr,nofr,cor;//MIDI RESPONDER FUNCTIONS *initClass{ if(Launchpad.initMIDI.notNil,{ Launchpad.setupLP; Launchpad.pads=Array2D.fromArray(9,9, Array.fill(81,{|i|LPPad.new((i/9 ...
-
... . ( // AbstractPlayControl-par // // create parallel streams of the provided function filling the NodeProxy channels. // requires the functions output channels to be a multiple of the NodeProxy's numChannels. AbstractPlayControl.proxyC ...
-
functors - Using Pdef for building abstract pattern functions while live coding by julianrohrhuber (julian.rohrhuber) Code
... def // For a long time I was thinking of what would be the best way to do this: function composition (functors) in live coding with patterns - it seems all in place anyway. // some synthdef ( SynthDef(\Pdefhelp, { arg out, freq, sustai ...
-
simple function throttling ( time gate, time limiter, whatever you want to call it ) by hems (hems) Code
A friend of mine asked me how to limit a function to happen at maximun rate of 1 time every N seconds.. ( ~needed_interval = 20; ~funk = { // if last time isn't defined, create it with 1000 seconds ago time if( ~last_time.is ...
-
[beginner question] how to transmit parameter value to a function inside a SynthDef by elienaulleau (pictosonic) Code
... er is taken into account and works. And the threshold parameter is passed to a function which goal is to pick a frequency on a list of frequencies that is greater or equal to the threshold value. The problem is that the threshold value i ...