-
... t] = nil }); } postTimeline { var lineLength = 80; "\n\n".postln; { |i| (i+1).asString.padLeft(10, ".") }.dup(lineLength div: 10).join.postln; score.values.do { |e| e.use { var t0 = ~startTime * 10 - 1; var t1 = ~endTime - ~startTime * 10 - ...
-
... ndfile = soundfile; v.read(0, soundfile.numFrames); v.refresh; }; update = { iv.string = "no: %".format(index.asString); dv.string = "% sec".format(currentBuffer.duration.round(0.01)); }; w = Window("dirt sample browser"); w.layout = VLayou ...
-
... ss Methods . new Creates a new Tonality instance with a base note integer and a string type. "M" major = [0,2,4,5,7,9,11], "m" harmonic minor = [0, 2, 3, 5, 7, 8, 11] Can be called with the shorthand notation a = Tonality.new(0,"M") b = Ton ...
-
... }); composite.onClose_({ ctrl.remove }); StaticText( composite, 50@viewHeight ).string_( "startBeat:" ).font_( font ); startBeatView = SmoothNumberBox( composite, 50@viewHeight ) .value_( barMap.startBeat ) .font_( font ) .action_({ |nb| ba ...
-
... }); composite.onClose_({ ctrl.remove }); StaticText( composite, 50@viewHeight ).string_( "startBeat:" ).font_( font ); startBeatView = SmoothNumberBox( composite, 50@viewHeight ) .value_( barMap.startBeat ) .font_( font ) .action_({ |nb| ba ...
-
... poolindex; poolname = selbPool.items.at(selbPool.value); // get the pool name (string) selbPool.items_(XQ.globalBufferDict.keys.asArray.sort); // put new list of pools poolindex = selbPool.items.indexOf(poolname); // find the index of old ...
-
... s[5]]) .strokeColor_(colors[params[4]]) .xOffset_(2) .action_({arg xb; freqText.string_(cutfreqs[xb.index].asString); }); if (GUI.id == \cocoa, { multislider.size_(size) }); b = Buffer.alloc(s, 2048*2, 1); SynthDef(\XiiEQMeter, { arg inbus; ...
-
... ent.listener.title_("Nim Chimpsky's Post Window") .background_(Color(0, 0, 0)) .stringColor_(Color(1, 1, 1)) .bounds_(Rect(50, 50, 300, 800)) ; clockField = GUI.staticText.new(w, Rect(5,5, 415, 30)) .align_(\center) .stringColor_(Color(1.0, ...
-
... ite, Rect( composite.bounds.left, composite.bounds.top, labelWidth, height ); ).string_( name.asString ); action = { |view, value| "%:\t%\n".postf( view.name, value ); }; } name_ { |newName| name = newName; views[ \label ].string = name; } ...
-
... ing of function prototypes + Function { proto { var stream; stream = CollStream(String.new(256)); this.streamArgs(stream); Document.current.selectedString_(stream.collection) } listArgs { this.streamArgs(Post); } streamArgs { |collstream| ( ...