-
// keyword argument support for Object:perform + Object { performKeyValuePairs { |selector, pairs| var envir, argNames, args; var method = this.class.findRespondingMethodFor(selector); if(method.isNil) { ^this.doesNotUnderstand(selector) }; ...
-
// Bind an example SynthDef to 'a' and write a file to /tmp using the // 'dot' method. ( a = SynthDef.new("Example", { arg bus=0, freq=440; var e, o; e = EnvGen.kr(Env.perc, levelScale:0.3, doneAction:2); o = RLPF.ar(LFSaw.ar(freq) * e, LFN ...
-
( [ HOADecLebedev26.numChannels == 26, HOADecLebedev06.numChannels == 6, HOADecLebedev50.numChannels == 50, HOADecLebedev06.maxOrder == 1, HOADecLebedev26.maxOrder == 3, HOADecLebedev50.maxOrder == 5 ].detectIndex{|v| v.not}.notNil.if{ "cha ...
-
/* Questions: * update cache only when files newer than cache were added - it is really fast anyway, so just do on every startup? - */ MKtlDesc { classvar <defaultFolder, <folderName = "MKtlDescriptions"; classvar <descExt = ".desc.scd", <c ...
-
/*** example for NTMI & flatcat setup *** // To use with StartupFile, do StartupFile.writeStartupFileToExternalPath(\flatcat_NTMI, thisProcess.nowExecutingPath; ); // then to choose it, do StartupFile.dialog; *****/ // Schedule loading the ...
-
/***** Make_your_own_setup - OVERVIEW ******/ // OVERVIEW of ways to customize NTMI to your preferences: // 1. configuring which elements of NTMI setup will load // 1a. how to add additional code within the load process // ---> explained in ...
-
... .fill(b.cuts.size,{arg i; b.cuts[i][0]}); tmp=0.0; //cumulative start positions useful for timed msgs and scheduling code b.cumul= Array.fill(b.cuts.size,{arg i; var prev; prev=tmp; tmp= tmp+(b.cuts[i][0]); prev;}); b.timedmsgs=List.new; b. ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\violin, { | midinote=60, gate=1, amp=0.8 | var env = EnvGen.kr(Env.asr(0.1, 1, 0.1), gate, doneAction:2); var sig = VarSaw.ar( midinote.midicps, width:LFNoise2.kr(1).range(0.2, 0.8)*Sin ...
-
... ny 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. See the // GNU General Public ...
-
Hadron Changelog v1.6 (July 14, 2009) other: * HadronPlugins Quark is released with 2 plugins, HrPresetMorph and HrCodeSequencer . * HadronPlugin window has acceptsMouseOver set to true now. * HrWrapSynth synth instance has a getter now. * ...