Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Re: Kalimba by pdupuis (p.dupuis) Code

    ... // Basic tone is a SinOsc snd = SinOsc.ar(freq) * EnvGen.ar(Env.perc(0.03, Rand(3.0, 4.0), 1, -7), doneAction: 2); snd = HPF.ar( LPF.ar(snd, 380), 120); // The "clicking" sounds are modeled with a bank of resonators excited by e ...

  2. BoidsND Doc

    ... = BoidsND(5, 20); // a new flock in five dimensions f.addTarget(Array.fill(5, {rand(200)}), 3); // add a target randomly f.targets[0].postln; // prints Dictionary[ (pos -> RealVector[ 58, 85, 36, 34, 163 ]), (strength -> 3) ] // add anothe ...

  3. WFSV2 Quark

    ... ltFunc = { UChain( \bufSoundFile, [ \wfsStaticPoint, [ \point, (5@0).rotate(2pi.rand) ] ] ).useSndFileDur }; UChain.presetManager .putRaw( \dynamicPoint, { UChain( [ \bufSoundFile, [ \soundFile, BufSndFile.newBasic("@resources/sounds/a11wlk ...

  4. p_sequencer_point Quark

    ... -1; } { current < 0 } { current = current.fold(0,size-1); direction = 1; }; }, \random, { current = size.rand; }, \off, { current = current.clip(0,size-1); direction = 1; } ); pointsNext.wrapAt( current ).yield; }; }.r }).category_( 'patter ...

  5. MSCDebouncer Doc

    ... the end of a series of events, such as for user input. In the below example, a random amount of time less than one second) passes between each loop, and a function is debounced by 500ms (at least 500ms must pass between the debounce call a ...

  6. TabletSlider2D Doc

    ... 0.5) // initial location of x .y_(1) // initial location of y .knobColor_(Color.rand) .action_({|sl| [\sliderX, sl.x, \sliderY, sl.y].postln; }); t.step_(0.01); n = CompositeView.new(w, 200@300); n.decorator = FlowLayout(n.bounds); v = { |i ...

  7. Font Doc

    ... "; a = StaticText(w, 200@20).string_("The quick drowned fox").background_(Color.rand).align_(\center); b = Button(w, 200@20).states_([["The quick drowned fox"]]).background_(Color.rand); c = PopUpMenu(w, 200@20).items_(["The quick drowned f ...

  8. Guitar feedback emulation by nathanielvirgo (nathanielvirgo) Code

    ... sig.mean; // and finally a spot of reverb dry = sig; 10.do { d = 0.2.rand; sig = AllpassN.ar(sig,d,d,5); }; (dry + sig)*0.125; }).play; )

  9. TelepathicClock Quark

    ... es: \ (\ fork \\ t = TelepathicClock (permanent: false ).verbose_( true );\ 3.0.rand.wait;\ u = TelepathicClock (permanent: false ).verbose_( true );\ [t, u].do( _ .stopListen);\ s.boot;\ \\ );\ \ t.dt = 0.5;\ u.dt = 0.5;\ \ // it should st ...

  10. Understanding-Errors Doc

    ... ll stack to help locate the error. Routine({ var a; a = 5; loop { var b; b = 20.rand; b.postln.ecky_ecky_phtang; // "NI!!!!" a.wait; } }).play; ERROR: Message 'ecky_ecky_phtang' not understood. RECEIVER: Integer 6 ARGS: Instance of Array { ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow