-
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 ...
-
( // create some Udefs Udef( \mix2, { |balance = 0.5| // mix two inputs together var l1, l2; l1 = UIn.ar( 0 ) * (1-balance); l2 = UIn.ar( 1 ) * balance; UOut.ar( 0, l1 + l2 ) } ); Udef( \vibrato, { |rate = 1, amount = #[0.0,1.0]| // a tremo ...
-
Clock: Filter: Description Scheduling Useful Tasks Scheduling and Threads Class methods Inherited class methods Undocumented class methods bars2beats beats beats2bars beats2secs nextTimeOnGrid play seconds secs2beats timeToNextBeat Instance ...
-
enum general enumeration tool, can be used for a variety of combinatorial problems Part of: miSCellaneous Method enum implements a basic backtracking search suited for a number of counting and optimization problems. For specification of sea ...
-
/* // this old Photoshop file has a resource fork, which hangs libsndfile 1.0.28! ~pathtobadfile = "/Users/adc/Pictures/DragonFyrAll.psd"; SoundFile.openRead(~pathtobadfile); -> Therefor, catch it here until a libsndfile update fixes this. ...
-
CombL: Filter: Description Class methods ar kr Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Delays'>Delays CombL : CombN : PureUGen : UGen : AbstractFunction : Object Comb delay line with li ...
-
File Superclass: UnixFILE A class for reading and writing files. Not sound files. see also the superclass for further docs. *new(pathname, mode) Create a File instance and open the file. If the open fails, isOpen will return false. pathname ...
-
Pattern control by external device Control of parameters by MIDI or HID To get pattern values from a HID device, use the PhidKey or PhidSlot pattern. For MIDI, the best approach is to save an incoming value into a variable, and then use Pfu ...
-
FFTComplexDev - Measure complex deviation of signal FFTComplexDev.kr(chain, rectify=0, powthresh=0.1) Calculates the complex deviation of the signal, which is a measure of the total rate of change of the complex spectral components, across ...
-
OutputProxy output place holder Superclass: UGen OutputProxy is used by some UGens as a place holder for multiple outputs. There is no reason for a user to create an OutputProxy directly. ( var out; // Pan2 uses an OutputProxy for each of i ...