Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. SmoothButton Quark

    ... a state. They will be used as drawing functions, which receive a the button, a rect and the radius as arguments. Drawing is always relative to the origin of the button's bounds. ( u = SmoothButton (w, 80 @ 20 ).states_( [ [{ |button, rect, ...

  2. PopUpTreeMenu Doc

    ... ouseY Apperance . bounds Get or set the position and dimension of the menu as a Rect . . font Get or set the Font . . hiliteColor Get or set the selection color. . icon Get or set the String used as branch indicator. By default this is "▶" ...

  3. SuperDirtMixer Quark

    ... E GUI VARIABLES */ var v;// local machine var window = Window("SuperDirtMixer", Rect(100, 100, 2000, 1000), scroll: true); var eventHandler = EventHandler.new; var mixerContainer = ScrollView(window, Rect(10, 10, 380, 500)).background_(Colo ...

  4. gui_example_userview_fft Quark

    ... umChan; var win, usr, f, frameCount= 0; win= Window("fft gui example userview", Rect(100, 100, width, height)).front; usr= UserView(win, Rect(0, 0, width, height)); usr.background= Color.black; usr.clearOnRefresh= false; usr.drawFunc= { var ...

  5. SCNSObject Help

    ... s in one Array. Example: Cocoa: NSWindow *c = [[ NSWindow alloc] initWithContentRect: rect styleMask: 10 backing: 2 defer: YES ]; SC: c = SCNSObject ( "NSWindow" , "initWithContentRect:styleMask:backing:defer:" ,[ Rect (0,0,400,100), 10, 2, ...

  6. UImage Quark

    ... ), xx, 99-i ); }); }) }); if( write ) { this.write( path ); }; }); } penFill { |rect| this.image !? { |img| img.drawInRect( rect ); }; } storeArgs { ^[ filePath.formatGPath ] } } USoundFileOverview : UImage { classvar <>defaultColor; classv ...

  7. Player Quark

    ... ], \exp)); amp = argamp; initamp = amp; // allow xywz bf files to be decoded correctly! xywz = argxywz; allocfun = {bufnum = server.bufferAllocator.alloc(numchan)}; // I don't like this... should be optional? server = (thisProcess.platform. ...

  8. VGActionsGui Quark

    ... init(parent, bounds) } init { |parent, bounds| var comp = CompositeView(parent, Rect(0,0, bounds.width, bounds.height)); var width = 105, height = 22, gap, buttons; comp.decorator = FlowLayout(comp.bounds); gap = comp.decorator.gap.y; order ...

  9. UPIC waveform editor by snappizz (snappizz) Code

    ... ; var draw, lastPos, lastVal, update; w = Window("Waveform editor", Rect(100, 100, 800, 330)); wave = Signal.sineFill(size, [1]); waveBuf = Buffer.alloc(s, size * 2); ~waveBuf = waveBuf; testSynth = nil; ...

  10. heatMap Quark

    ... (0..9).scramble.blendAt((0.1, 0.2 .. 9)); a.plot; a.heatMap(10); a.heatMap(10, Rect (0, 0, 300, 200), xLabels: true , yLabels: true , colscheme: \brw ); a.heatMap(10, xLabels: true , yLabels: true , showVals: true , colscheme: \coals ); // ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow