Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. SWDataNetworkClientGui Quark

    SWDataSlotClientGui : SWDataSlotGui { var <sub,<get; var <xsize = 185; addSubButton{ sub = GUI.button.new( cw, Rect( 0, 0, 25, 16 )).states_( [ [ "Sub", Color.blue ], ["Uns", Color.red ] ] ).action_( { |but| parent.subSlot( slot.id, but.val ...

  2. RedIFS Doc

    ... ndow and draws. Mainly for testing. Arguments: bounds a Rect that define window size and position background a Color . plot Creates a Window and an Image . Also mainly for testing. Arguments: width in pixels height in pixels . drawFunc . ma ...

  3. PeriodicUpdater Quark

    ... eSym, values), reset); avg = AverageOutput.perform(rateSym, values.sum / values.size, reset); [avg, min[0], max[0]]; } } defaultValueFunc { ^this.class.minMaxAvgFunc } defaultInputFunc { ^{ DC.kr(0) } } inputFunc_{ |func| if (func != inputF ...

  4. native-instruments-traktor-kontrol-z2.desc Quark

    ... tlDesc.loadDescs( "*-z2"); z.free; z = MKtl(\z2, "*-z2"); z.gui; z.elementsDict.size; z.postElements */ ( deviceName: "Traktor Kontrol Z2 Input", protocol: 'midi', deviceType: \mixer, elementTypes: [\fader, \button], status: ( linux: "unkno ...

  5. SynthBenchmark Quark

    ... lt.options.copy .loadDefs_(false) .verbosity_(-1) .numOutputBusChannels_(2) .memSize_(262144); outputFilePath = PathName.tmp +/+ "runOne.aiff"; fullCmd = Score.program + " -N" + scorepath + "_" + outputFilePath.quote + "44100 AIFF int16" + ...

  6. Randomness Doc

    ... stribution. ( var randomNumbers, histogram, distribution, randomTable, randTableSize=200; var minValue = -250, maxValue = 250, numVals = 10000, numBins = 500; // create some random distribution with values between 0 and 1 distribution = Arr ...

  7. sKeyDpad Quark

    ... truments.collect{|name| [name, \onOff, 1-view.value]}); }, { if(activeDict.keys.size>0, { sendOsc.value([activeDict.keys.asArray, \onOff, 1].flop); }); }); }; //--network setupOscResponders= { oscResponders= [ OSCFunc({|msg| iOnOffDict.put( ...

  8. UnitIO Quark

    ... ^numChannels.collect({ |i| this.new1( \ar, id + i, endPoint ); }).returnFirstIfSize1; } *kr { |id = 0, numChannels = 1, endPoint = false| ^numChannels.collect({ |i| this.new1( \kr, id + i, endPoint ); }).returnFirstIfSize1; } *new1 { |sele ...

  9. SWDataNetworkGui Quark

    ... xpand ( exp ) Expand the view, i.e. create or remove a big version of the GUI. ysize ( ) Vertical size of the view w ( ) The main window or the parent of the GUI. w_ ( ) private - should only be called from within the *new method node ( ) n ...

  10. MKtlElementGroup Doc

    ... l elements in the group (nested if group is nested) m.gui; g.value; g.elAt(\tr).size; // 11 buttons in tr g.elAt(\tr).value = 11.collect { 2.rand }; // 11 buttons in tr ⧉ ✔ . deviceValue get and set the deviceValue of all elements in the gr ...

prev 311 312 313 314 315 316 317 318 319 320 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow