Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (456) Code (42) Doc (134) Help (28) Quark (248) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. CutGroup Quark

    ... oup); mixergroup=Group.after(fxgroup); numChannels=chan ? 1; //may only support mono freebus=false; //don't free if bus passed in, responsibility of client code bus= b ?? { //must free eventually if not passed in freebus=true; Bus.audio(ser ...

  2. RedDiskInPlayer Quark

    ... rag files and folders into the listview 'filter' - 0 = all soundfiles, 1 = only mono files, 2 = stereo etc. *new(server, bus, numItems) server - if nil then the default server will be used. bus - output bus. defaults to 0. numItems - number ...

  3. XiiSpectralEffects Quark

    ... clip 2x2 -", \xiiSpectral_MagClip2x2, params, channels, this, setting); }, { // mono XiiEffectGUI.new("- magclip 1x1 -", \xiiSpectral_MagClip1x1, params, channels, this, setting); }) } start { xiigui.start } stop { xiigui.stop } setInBus_ { ...

  4. sndFile2 Quark

    ... le2; ~description = "A sound file player (stream from disk)"; ~channelLayout = \mono; ~function = { |bufnum=0, loop=0, xfade=(-1)| var sig = DiskIn.ar(2, bufnum, loop: loop); XFade2.ar(sig[0], sig[1], xfade); }; /* ~name = \sndFile; ~functi ...

  5. SimplePlayerEffect Quark

    ... r { arg player; ^player.prepareForPlay(this.group,true,this.bus); } } //convert mono to stereo or stereo to mono FixNumChannelsPlayer : AbstractSinglePlayerEffect { var <>numChannels; *new { |subject,numChannels=2| ^super.new(subject).numCh ...

  6. SimplePlayerEffect Quark

    ... { arg player; ^player.prepareForPlay(this.group, true, this.bus); } } //convert mono to stereo or stereo to mono FixNumChannelsPlayer : AbstractSinglePlayerEffect { var <>numChannels; *new { |subject, numChannels=2| ^super.new(subject).numC ...

  7. test_noise_burst Quark

    ... short burst of enveloped noise that goes well with Patterns"; ~channelLayout = \mono; ~function = { arg amp=1, trimDB = 0, attack = 0.01, release = 0.3; var env; env = EnvGen.ar(Env.perc(attack, release, 0.5), doneAction: Done.freeSelf); tr ...

  8. PinkSin Quark

    ... = \PinkSin; ~description = "Mix of pink noise and sine wave"; ~channelLayout = \mono; ~function = {| sfreq = 200, amp = 1 | amp*(PinkNoise.ar() + FSinOsc.ar(sfreq)) };

  9. triangleGrain Quark

    ... envelope grain with position, rate, and duration parameters"; ~channelLayout = \mono; ~function = { |bufnum=0, startPos=0, rate=1, dur=0.1, trimDB=0| var sig, env; startPos = startPos.clip(0.0, 1.0); env = EnvGen.ar(Env.triangle(dur), doneA ...

  10. VirtualRoom Quark

    ... }; } /* method: addSource add a source to the virtual room Parameter: source A mono sound source as NodeProxy.audio key A string to identify the source x, y, z the position of the source */ addSource { arg source, key, x, y, z; ^this.prAdd ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow