Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1211) Code (84) Doc (287) Help (71) Quark (769) SCDoc ↗ Forum ↗ Google ↗
  1. XiiQuanoon Quark

    ... vetica", 9)) .action_({arg slider; vol = slider.value; params[2] = vol; }); GUI.button.new(win, Rect(260, 700, 14, 14)) .states_([["k", Color.black, Color.clear]]) .canFocus_(false) .font_(GUI.font.new("Helvetica", 9)) .action_({arg butt; f ...

  2. RoundButton Quark

    // W. Snoei 2006 // a button with ++ functionality and rounded border // SCv3.3.1 revision RoundButton : RoundView { // requires a version of SuperCollider where String:prBounds is working (after april 2007?) var <value = 0; var <font, <sta ...

  3. SCTextView Help

    ... ogrammers can still call or override these as needed. mouseUp (x, y, modifiers, buttonNumber, clickCount, clickPos) Normally not called directly. Used by the primitive. selectedString_ (str) Normally not called directly. Examples ( w = Wind ...

  4. XiiRecorder Quark

    XiiRecorder { var <>xiigui; var <>win, params; var numChannels; var recButton; // allowing for outside start of record (Function:record) var inbus, recBussesPop, ampAnalyserSynth; var openInEditor; // makes Function:record result in sound o ...

  5. default-synths Quark

    ... _from, in: { ~dirt.audioRoutingBusses.wrapAt(~from ? 0).index } ) ) ); // panic button - equivalent of ctrl-. ( ~dirt.soundLibrary.addSynth(\superpanic, (play: { ~dirt.orbits.do(_.freeSynths) })) ); // pitch shifted live audio input ( Synth ...

  6. UdefListView Quark

    ... (bounds.width - (scrollerMargin+6))@18, collapsed[ cat ] ? true ); views[ cat ].button.background = nil; views[ cat ].addFlowLayout( 0@0, 4@4 ); StaticText( views[ cat ], (bounds.width - (18 + scrollerMargin + 6))@18 ) .string_( " " ++ cat. ...

  7. ArrayWarp Quark

    ... ); StaticText(w, 200@15) .string_("interpolation") .resize_(9) .align_(\right); Button(w, 40@20) .states_([["off"],["on"]]) .value_(interpolate.binaryValue) .resize_(9) .action_({ |butt| interpolate = butt.value.booleanValue; action.value; ...

  8. ArrayWarp Quark

    ... ); StaticText(w, 200@15) .string_("interpolation") .resize_(9) .align_(\right); Button(w, 40@20) .states_([["off"],["on"]]) .value_(interpolate.binaryValue) .resize_(9) .action_({ |butt| interpolate = butt.value.booleanValue; action.value; ...

  9. SCMKnopSequencerView Quark

    ... nt = 0, <mainLayout, prevClickedSelector, stepsLayout, stepLayouts, <selectors, buttonSteps, <proxySteps, sliders, numberBoxStepCount, popupMode; var <mainLayoutView, prevSlider, <sliderView, <labelView, <sequencerMode, <numberBoxView, unit ...

  10. Bend Quark

    ... .gui(20); // "analog" bend: pass in bendFunc directly ( { var bypass = 1 - MouseButton .kr; // press mouse button to bypass Bend ({ |original, argName, ugen| var res = original; argName.postln; if(#[ \freq , \delaytime ].includes(argName)) ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow