-
... ct.startupFiles ++ [ currentPath ]; } { ULib.openPanel( { |paths| paths = paths.select({ |item| object.startupFiles.includesEqual( item ).not; }); object.startupFiles = object.startupFiles ++ paths; }, multipleSelection: true); }; }); this. ...
-
... this.prReadFile([View.currentDrag]); }); }, { this.prReadFile(View.currentDrag.select{|path| SoundFile(path).info.notNil}); }); }; readFileButton.canReceiveDragHandler= waveView.canReceiveDragHandler; readFileButton.receiveDragHandler= wav ...
-
... ncements + SequenceableCollection { // collectIfNotNil // basically collect and select in one loop collectIfNotNil { |func| var result = this.species.new(this.size); this.do { |item, i| var mapped = func.value(item, i); if(mapped.notNil) { ...
-
... ; var <session; var <sessionView, bounds; var <sessionController, objGuis; var <selectedObject; var compTop = 0; *new { |session, bounds| ^super.new.init( session) .addToAll .makeGui(bounds) } init { |inSession| session = inSession; session ...
-
... p, 1 ), \sustain, Pseq( [0] ++ sustainEvents[6], 1 ) ) } { nil } }!this.tracks).select({ |item| item.notNil }) ); } { ^nil } } play { |clock, protoEvent, quant, inst, amp = 0.2| ^this.p( inst, amp ).play( clock, protoEvent, quant ); } *from ...
-
... e=0 -> [-2pi, 2pi], mul=0.4 -> [0,1], lag = 0.01 => [0,0.1]; var chord; chord = Select.kr(key, [ ([60, 64, 67]+0).midicps*oct, ([60, 64, 67]+1).midicps*oct, ([60, 64, 67]+2).midicps*oct, ([60, 64, 67]+3).midicps*oct, ([60, 64, 67]+4).midicp ...
-
... = { |parms| var synthDesc; // ~setParms.(parms); ~nodes = ~iterator.activeCmds.select({ |cmd| cmd.tryPerform(\isSynth) ? false }); if(~nodes.size > 0) { ~nodes.do({ |node| synthDesc = node.synthDesc; ~args = ~getArgs.(parms); if(node.laten ...
-
... ct({ |pair| if(pair[0] != pair[1], { pair[0].asInteger }, { nil }) }); if(margs.select({ |i| i.notNil }).size > 0, { widget.midiConnect(uid: margs[0], chan: margs[1], num: margs[2], slot: thisSlot); }, { widget.midiConnect(slot: thisSlot); ...
-
... Pattern = #{ ~compactPatterns.if({ Pseq(((~amps[0] == 0).if({ #[0] })) ++ ~amps.select(_ > 0), 1); }, { Pseq(~amps, 1) }); }; ~makeDefPattern = #{ |repeats = 1| var outArray = Array.new(~amps.size), array = ~def.asArray; ~amps.do({ |amp, i| ...
-
... le: after a brief history and a grouping of content the tour will guide through selected topics in an order which, hopefully, will outline the central ideas. It will start with VarGui, PLx, then go over PbindFx, EventShortcuts to live codin ...