Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1238) Code (32) Doc (255) Help (35) Quark (914) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. EventStream Quark

    ... .collect{ |x| putStrLn(string++" : "++x) }.reactimate; } //Utilities mapWith { |spec| ^this.collect{ |v| spec.map( v ) } } selectSome { ^this.select(_.isDefined).collect(_.get) } storePrevious { |init = 0.0| ^this.inject( Tuple2(init,init), ...

  2. WFSArrayPanDirSpecs Quark

    RadiationPatternSpec : Spec { var <>default; *new { |default = #[0,1,0,1]| ^super.newCopyArgs( default ); } *testObject { |obj| ^(obj.isKindOf( ArrayedCollection ) ) && (obj.size == 4); } constrain { |value| value = value.asCollection; if( ...

  3. PatternBoxLauncherItemView Quark

    ... yout.addSpanning(togglePlay, 0, 1, rowSpan: 2); sliderVolume = SCMSliderView() .spec_(\db.asSpec) .value_(volume) .labelText_(patternBoxView.patternBoxName) .action_({ |sender | this.onSliderVolumeChanged(sender); }) .actionTextChanged_({ | ...

  4. XiiMorpherFilter Quark

    ... ^paramsHiLo; } scalePointLists { // this is the envelope sent to the Synth var spec, yloclists; yloclists = pointlists.collect({arg pointlist, i; pointlist.collect({arg point; point.y}) }); //[\paramshilo, paramsHiLo, \controls, controls]. ...

  5. Ref Doc

    ... Arguments: rank The depth at which the list is expanded. For instance the Klank spec has a rank of 2. `([[[100, 200], 500], nil, [[[0.01, 0.3], 0.8]]]).multichannelExpandRef(2); [`[[100, 200], nil, [0.2, 0.8]], `[[130, 202], nil, [0.2, 0.5] ...

  6. ddwPlug-support Quark

    ... l[\clients].add(object); coll[\lastChange] = SystemClock.seconds; } *registerOutSpec { |object, function, rate, numChannels| var coll = this.findCollFor(object, function); if(coll.isNil) { "Can't register output spec for non-registered func ...

  7. VoicerMIDISocket Doc

    ... can access note number and velocity by Pkey(\midinote) and Pkey(\velocity) , respectively. All key-value pairs in the pattern's output events will be passed to the Voicer as note-onset synth arguments. Uses: Map note number or velocity ont ...

  8. MFunc Doc

    ... test: %\n".postf(sl.value) }); // now slider also sets Ndef(\a), using a global spec Ndef(\a, { |freq = 200| LFPulse.ar(freq * [1, 0.1, 0.01]).product * 0.1 }).play; m.add(\set_a, { |sl| Ndef(\a).set(\freq, \freq.asSpec.map(sl.value)) }); / ...

  9. 00_loadMe Quark

    ... these can be useful for testing that code works // on various conditions, e.g. specific platforms: NTMI.hasGui = false; // headless mode, e.g. for raspi or bela NTMI.isPi = true // simulate default raspi OS account NTMI.isPatch = false; // ...

  10. ExtraWindows Doc

    ... .1)}); windowPlot.value = windows; transferPlot.value = transfers; transferPlot.specs = ControlSpec(minDb, 0, \lin); // variable minDb transferPlot.domainSpecs = ControlSpec(0, drawnSize, 4, 1, 440, units: "bin"); [windowPlot, transferPlot] ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow