-
... ble (0<=frame<numframes) for efficiency no checks getFeatureVector {|frame| var index = frame * numfeatures; ^featuredata.copyRange(index,index+numfeatures-1); } getFeatureVectors { var top = numfeatures-1; ^Array.fill(numframes,{|i| var in ...
-
... play; ) // update array element ~a[2] = Pseq ([86, 85], 2) + [0, 3]; // reverse index pattern ~w = PLseq ((7..0)); // keep in mind that indices are wrapped, no surprise here ... ~a = (70,72..84); // ... but with shorter array indices are gr ...
-
... Out = in; // initialize combs output first, numCombs.min(combData.size).do({arg index; var time, level; #time, level = combData.at(index); // Get comb signal, scale by each comb's level and sum them up. combsOut = CombL.ar( in + tapsOut.sum ...
-
... llect{|f| (path: f, soundfiles: SoundFile.collect(f+/+"*")); }; var buffer, fileIndex, loadBuffer; var typeFromPopup, itemFromPopup, filePathFromPopup, filePathInFolderFromPopup; var cluster, createCluster; var usrPadding= Size(25, 20); var ...
-
... (rate == 'audio', { 9.do({|i| if (inputs.at(i).rate != 'audio', { ^(" input at index " + i + "(" + inputs.at(i) + ") is not audio rate"); }); }); }); ^this.checkValidInputs } init { | ... theInputs | inputs = theInputs ^this.initOutputs(26 ...
-
... (rate == 'audio', { 9.do({|i| if (inputs.at(i).rate != 'audio', { ^(" input at index " + i + "(" + inputs.at(i) + ") is not audio rate"); }); }); }); ^this.checkValidInputs } init { | ... theInputs | inputs = theInputs ^this.initOutputs(50 ...
-
... eOut2.ar(z, bufnum); Out.ar(0, z); }).play( target: RootNode(s), args: [\bus, b.index, \bufnum, f.bufnum], addAction: \addToTail // make sure it goes after what you are scoping ); // making noise onto the buffer d = SynthDef("noise", { |bus ...
-
... (rate == 'audio', { 6.do({|i| if (inputs.at(i).rate != 'audio', { ^(" input at index " + i + "(" + inputs.at(i) + ") is not audio rate"); }); }); }); ^this.checkValidInputs } init { | ... theInputs | inputs = theInputs ^this.initOutputs(3, ...
-
... } getBusLabel { |busConnection, mode = \in, bus = 0, rate = \audio| var prefix, index, reverseMode; prefix = switch( mode, \in, "from", \out, "to" ); reverseMode = switch( mode, \in, \out, \out, \in ); ^if( busConnection.notNil ) { index = ...
-
... SuperCollider and elaborated by Nick Collins http://www.sussex.ac.uk/Users/nc81/index.html under GNU GPL 3 as per SuperCollider license Minor modifications by Bruno Ruviaro, June 2015. */ SynthDef("werkit2", { arg out = 0, freq = 440, amp = ...