-
// SETODictObj is an object where you can set custom functions for each classID: SETODictObj.setAction(1, {|me| "%: Hello, I'm a first class object\n".postf(me)} ); // It is also possible to set the same function for a range of classIDs SET ...
-
//redFrik - released under gnu gpl license RedTrk { classvar <>playDict, <>stopDict, <>clearDict; var <key, <>item, <>sections, <player, <isPlaying= false; *initClass { playDict= ( \Pattern: {|item| item.play(RedMst.clock, quant:0)}, \Strea ...
-
// 1 event with 10 seconds duration ( r = UChain(0,0,10,false,[\sine,[\freq,rrand(200.0,500.0)]], \output).fadeOut_(1).fadeIn_(1); z = UScore(r); if( z.finiteDuration != 10) { "finiteDuration should be 10".throw }; x = UScoreEditor(z); y = ...
-
//mouse position ( w = Window().acceptsMouseOver_(true).front; x = ENdef(\x,{ var pos = w.view.enMousePos; pos.collect{ |p| putStrLn("mouse pos is: "++p) }.enOut; })).start; ) // is down ( t = StaticText(); w = Window().layout_(HLayout(t)). ...
-
RedGrandMst switch between different RedMst settings experimental class! see also [ RedMst ] [ RedSeq ] [ RedTrk ] [ RedTrk2 ] *song_(name) save current RedMst settings in songDict and switch to a new song *<song current song (Symbol) *<>so ...
-
//harmonic //long ( f = 60.collect({ |i| // generate 60 UChains var evt; var start = rrand(0.0,10.0); var dur = rrand(0.1,3.0); evt = UChain(start,0,dur,\pulse, \wfsSource).fadeOut_(0.1*dur).fadeIn_(0.1*dur); evt.units[0].set(\freq,100*rran ...
-
/* Unit Library The Game Of Life Foundation. http://gameoflife.nl Copyright 2006-2011 Miguel Negrao, Wouter Snoei. GameOfLife Unit Library: you can redistribute it and/or modify it under the terms of the GNU General Public License as publis ...
-
/////////////////////////////////////////////////////////////////////////////// // ATSSynth.sc // Sinusoidal (additive) resynthesis of an Z354Sound. // Plays back partials via per-partial control-rate freq/amp envelopes. /////////////////// ...
-
... se; } }; }; } { curXStep = xStep; curYStep = yStep; }; // Only update origin if tracking is enabled if (switch.v) { moscaCenter.ossiaOrigin.v_([curXStep, curYStep, 0] / areaInMeters); }; //postln("x " + xStep + "curX " + curXStep + "xStepIn ...
-
// get all gists (of a certain user) with a description containing a specific term // a rudimentary example on how to use the interface to the gist cloud, hosted at github. // if the following fails for you, please check if you have to upda ...