-
Event patterns and Functions using event patterns with functional elements Part of: miSCellaneous See also: PLx suite , VarGui , VarGui shortcut builds , HS with VarGui This is a tutorial file about event patterns with functional code. Feat ...
-
Spectrum { var <freqs, <amps; *new {|freqs, amps| ^super.newCopyArgs(freqs, amps) } + {|other| var newfreqs=[], newamps, dict, item; dict = Dictionary.new; freqs.do ({|freq, index| dict.put(freq, amps[index]); // put freq amp pairs in }); o ...
-
BasicMIDISocket In my hierarchy, MIDI sockets respond to note on and off messages. BasicMIDISocket is the simplest of these, in which you specify a note on function and a note off function. *new(channel, on_func, off_func) Channel: the port ...
-
BasicMIDISocket In my hierarchy, MIDI sockets respond to note on and off messages. BasicMIDISocket is the simplest of these, in which you specify a note on function and a note off function. *new(channel, on_func, off_func) Channel: the port ...
-
// a way to convert numbers to scale degrees and back // understands sharps, but not flats // with default ( ModalSpec([0, 2, 4, 5, 7, 9, 11], 12) ), // 0 -> 0 (c), 1 -> 0.5 (c#) // octaves are preserved in map/unmap operations ModalSpec { ...
-
( // 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 ...
-
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. ...
-
Plimitsum : Pconst Plimitsum embeds values from the given pattern into the stream until the sum of the output values exceeds the given threshold. Then the pattern terminates without returning the last value, ensuring that the total of all t ...
-
Plimitsum : Pconst Plimitsum embeds values from the given pattern into the stream until the sum of the output values exceeds the given threshold. Then the pattern terminates without returning the last value, ensuring that the total of all t ...