Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2937) Code (123) Doc (1095) Help (322) Quark (1383) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. P3n1 Quark

    ... x| x * 3 + 1 }, ]); a.asStream.nextN(18); ); */ // Pascal Michel's collatz-like functions. // after http://logica.ugent.be/liesbeth/TagColOK.pdf // quoting Pascal Michel Small Turing machines and generalized Busy Beaver competition, // in: ...

  2. HarmonicMetric Quark

    ... harmonicDistance increase g.type = \gradusSuavitatis g.value(r); // the gradus function returns integer values mostHarmonic (ratios) Returns the most harmonic ratio from the collection according to the current type of metric. ratios - A co ...

  3. 3_using_ndefs_midi Quark

    ... \x, { Dust.ar([30, 30], 0.5 ) } ).play; // add a control input, as in all synth functions Ndef(\x, { |amp = 0.1| Dust.ar([30, 30], amp ) } ).play; // and a control input for density: Ndef(\x, { |dens 30, amp = 0.1| Dust.ar([dens, dens], amp ...

  4. SCAlert Quark

    ... states. buttons defaults to [ "cancel" , "ok" ] actions : an Array containing a function for each button color : the color of the border stripe around the window and the icon. Defaults to Color .red.alpha_(0.75) background : the background ...

  5. revFB Quark

    ... To Do: * better sounding noise spikes to drop into the feedback loop, * task or function plays them on trigger from interface */ // two grain-like synthdefs, just to show the concept SynthDef(\whytnoyz, { |out, amp = 0.25, gdur = 0.01, ramp ...

  6. TabbedView Quark

    ... urns the index of the focused tab focusActions_(array) an Array of user onFocus functions. unfocusActions_ (array) an Array of user onUnfocus functions. tabPosition_ ( symbol ) \left, \top, \right, or \bottom . followEdges_ ( bool ) default ...

  7. UMenuBarIDE Quark

    ... w" ); }; if( this.mode == \mainmenu ) { MainMenu.prUpdate(); }; } *add { |name, function, menuName, shortcut| if( function === \separator ) { this.registerMenu( MenuAction.separator( name ), menuName ? currentMenuName ? "Unit Lib" ); } { th ...

  8. Roughness and sensory dissonance Quark

    ... musical intervals) that depend on the register of hearing. This variation is a function of cochlear physiology: the critical bandwidth. f = [37,52,74,105,149,210,297,420,595,841,1189,1682,2378,3364,4757,6727,9514,13454]; // Hz a = f.asBark ...

  9. RootFinder Quark

    ... u = 2; nh = 0; stop = false; ({ stop.not }).while { (ng <= opts[1]).if { postf("function converged to a solution x\n"); stop = true } { h = (a+mu*Matrix.newIdentity(n)).solve(g.getCol(0).neg,\gauss); h = Matrix.newFrom(h.clump(1)); nh = h.n ...

  10. SpeakerAdjust Quark

    ... fficient than creating control inputs on all parameters. Recommended use: put a function for speaker adjustment in a MasterFX chain, where it is guaranteed to run post all other sounds, and wake up after Cmd-period. s.boot; // ... full shor ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow