-
// A class for making it easier to read MP3 files / streams in SC // Written by Dan Stowell, Jan 2007. // Free to use under the GPL. MP3 { classvar <>lamepath = "/usr/local/bin/lame", // = "/usr/texbin/lamed", // = "/sw/bin/lame", <>curlpat ...
-
... var <>dict; *new { ^super.new.clear } // use this as your view's keyDownAction in place of a function // view.keyDownAction = unicodeResponder value { arg view,char,modifier,unicode,keycode; ^this.at(unicode).value(view, unicode,modifier) ...
-
... var <>dict; *new { ^super.new.clear } // use this as your view's keyDownAction in place of a function // view.keyDownAction = unicodeResponder value { arg view, char, modifier, unicode, keycode; ^this.at(unicode).value(view, unicode, modif ...
-
... ; k = KeyPlayer(\rand); "qwertzuiopasdfghjklyxcvbnm".do { |char| var note = (midinote: rrand(36, 96), dur: rrand(0.1, 0.3)); k.putDown(char, { |char| char; note.play }); }; // make k.rec a KeyLoop: k.makeLoop; g = KeyPlayerGui(k); ) // seco ...
-
///// find 4 default sounds in SC resourceDir: // SoundFile.pathMatch(Platform.resourceDir +/+ "sounds/a11*.aiff"); // SoundFile.pathMatch("~/*/*.*").size; // SoundFile.pathMatch("~/*/*/*.*").size; /* // three intended fails: SoundFile.exis ...
-
//more springs. RedSpring is just a simple helper class //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 8; //--world w= RedWindow("more springs", Rect(128, 64, width, height)).front ...
-
... of the License, or (at your option) any later version. FP Quark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ...
-
... ut=0, amp=0.1, pan=0| var son, strike, hum; // Stretched harmonic series son = SinOsc.ar(#[2, 3, 4.1, 5.43, 6.8, 8.21] * freq, 0, #[1, 0.9, 0.8, 0.7, 0.6, 0.5] * 0.1); son = son * EnvGen.ar(Env.new([0,1,0.3, 0.2, 0], [0, 0.3, 0.3, 0.3])); / ...
-
... t = false; *new { |server, numChannels| ^super.newCopyArgs(server, numChannels).init } init { buffers = IdentityDictionary.new; bufferEvents = IdentityDictionary.new; synthEvents = IdentityDictionary.new; metaDataEvents = IdentityDictionary ...
-
... se, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Se ...