Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2094) Code (114) Doc (526) Help (153) Quark (1294) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. XiiLiveCoder Quark

    ... (true) .autohidesScrollers_(true) .usesTabToFocusNextView_(false) .focus(true) .string_(params[0][0]) .keyUpAction_({ codeList[selectedChannel] = txtv.string; // if code not run, store string anyway in list }); StaticText(win, Rect(115, 339 ...

  2. SoundFileView Quark

    ... ews; var <>action; var <viewHeight = 14; var <>autoCreateSndFile = false; var <>stringColor; var <>plotWindow; *new { |parent, bounds, action, sndFile| ^super.new.init( parent, bounds, action ).value_( sndFile ).addToAll; } init { |parent, ...

  3. GUI Quark

    ... Rect(15, 15, 700, 50)) .resize_(2) .background_(colorSet1[1]) .align_(\center) .string_("drop file here") .action_({|obj| obj.string.postln; if(obj.string.isSoundFile){ //using wslib sfw = SoundFileView(win, Rect(15, 80, win.bounds.width-30 ...

  4. DNStringData Quark

    SWDataStringNode : SWDataNode { var <type = 1; initSlots{ slots.do{ |it,i| slots.put( i, SWDataStringSlot.new([id,i]) ); }; } data_{ |indata| if ( indata.size == slots.size , { // data = indata * scale; // no scaling with strings data = ind ...

  5. extStoredListDialogs Quark

    ... ame = name ?? { Array.rand(8, 97, 122).collect(_.asAscii).join }; txt.textField.string = name; txt.textField.action = { |tf| "% - adding setting: ".postf(this); this.add(tf.string.asSymbol.postcs, newset); txt.textField.parent.parent.close; ...

  6. sGreybox Quark

    ... eamButtonElements= {SGUIelement()}!16; //but only 15 working var infoTextElementString= SGUIelementString(); var win= Window("sGreybox", winRect); win.layout= VLayout( onButton= Button().states_([ [" Greybox", palette.buttonText, palette.bu ...

  7. SCMBufferSelectorView Quark

    ... ol.bufferPoolItemViews collect: { |view| format("% - %", view.labelBufferNumber.string, view.labelName.string); }; if (tmp.notNil, { var index; popupMenuBuffers.items do: { |item, i| if( item == tmp, { index = i; }); }; popupMenuBuffers.val ...

  8. SWDataNetworkGUI Quark

    ... cw.background = Color.gray(0.8); GUI.staticText.new( cw, Rect( 0, 0, 25, 16 )).string_( slot.id[1].asString ).font_( font ).align_( \right ); key = GUI.textField.new( cw, Rect( 0, 0, 65, 16 )).string_( slot.key.asString ).action_( { |tf| s ...

  9. sStream Quark

    ... t= GridLayout.rows( [ VLayout( //--sentograph (3d sensor) HLayout( StaticText().string_("Pitch (X)").fixedWidth_(70), pitchElement.addView(Slider().orientation_(\horizontal)) //Sentro X-axis (c_2), Sento-PitchBend (c_2) ), HLayout( StaticTe ...

  10. MidiControlUI Quark

    ... item| var button = Button.new .action_({ midiOut.control(0, item + 100, 0); }) .string_(item + 1).minHeight_(36).minWidth_(36); button.states_([[item + 1, Color.black, Color.gray(0.9)]]); midiControlButtons.add(button); }); reshapedMidiCont ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow