-
... == \ratio }, { var oldKeyDownAction; // Add concatenated label. if (labelString.size > 0, { subView = StaticText.new(this).string_(labelString); lineHeight = max(lineHeight, subView.sizeHint.height); currentLayout.add(subView); labelString ...
-
... partials txt".postln; } { lineIdx = partialsLine + 1; while { lineIdx < (lines.size - 1) } { var head, idx, toks, pos, pts; head = lines[lineIdx].split($ ).reject({ |str| str.isEmpty }); if(head.size >= 4) { idx = head[0].asInteger; maxDur ...
-
... 0; index=0; } newindex { index= (indexfunc.value(index).round.asInteger)%(array.size); } setindex { arg ind=0; index= ind%(array.size); } //wrappers to fetch the correct info bps { ^array[index].bps; } beatlength { ^array[index].beatlength; ...
-
MixerGUIDef { var <>channelSize, <>viewProtos, // prototypes for mixer control guis <>viewBounds, // bounds relative to channel origin <>numPresendsShow = 1, <>numPostsendsShow = 1, >color1, >color2, >clearColor; *initClass { Class.initClas ...
-
... e methods Undocumented instance methods == as asTuning at hash name octaveRatio size stepsPerOctave tuning wrapAt Examples Classes | Tuning Tuning : Object represents a musical tuning Source: Scale.sc See also: Scale Description Represents ...
-
... = SoundFile.openRead(pathToSound.standardizePath); var fArray, tempImage; var aSize; if((argWidth == -1) or: { argHeight == -1; }, { argWidth = sFile.numFrames.sqrt.asInteger; argHeight = argWidth; }); aSize = argWidth * argHeight * sFile. ...
-
... } /* public */ add{ arg forceFunction, key; key ?? {key = ("Force_" ++ ( forces.size + 1 )).asSymbol}; forces.add(key -> forceFunction); } addTemp{ arg force; forces.add('tempForce' -> force); } clearTemp{ forces.removeAt('tempForce'); } re ...
-
NovaDiskOut : UGen { *ar { arg signal, filename; var args = [signal.size] ++ signal ++ [filename.size] ++ filename.asString.collectAs(_.ascii, Array); ^this.multiNew('audio', *args) } } NovaDiskIn : MultiOutUGen { classvar readerIDAllocator ...
-
... eableCollection: -clump Description Groups the source pattern into arrays whose size is given by n. Similar to SequenceableCollection: -clump . E.g. If the source pattern has 5 elements and you choose a clump size of 2, the new pattern will ...
-
... ayout. Arguments: wsWindow An instance of WsWindow bounds A Rect specifying the size of the widget. NOTE: Currently a relative measurement is used: 1 for full window width, 1 for full window height, e.g. Rect(0, 0, 1, 1) would occupy whole ...