Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1751) Code (181) Doc (594) Help (194) Quark (744) Plugin (38) SCDoc ↗ Forum ↗ Google ↗
  1. WFSArrayPan Quark

    ... eplaced in initClass by more accurate value classvar >sampleRate = 44100; var <>buffer, <pos; var <>maxDist = 200; var <>addDelay = 0; *initClass { this.setSpeedOfSound; } *setSpeedOfSound { |temp = 20| // 20 = normal room temperature ^spee ...

  2. sndBufferHOA Quark

    ... short description ~function: the actual definition of the plugin */ ~name = \sndBufferHOA; // note: bufnum must be first arg !! ~description = "Play a multichannel buffer"; ~channelLayout = \ambi; ~function = { | order = 2, bufnum = 0, loop ...

  3. sndFile2 Quark

    ... r/share/sounds/alsa/Front_Center.wav' | var buf; var sf = sfile.asString; buf = Buffer.cueSoundFile(s, sf, 0, 1); DiskIn.ar(1, buf.bufnum); }; */

  4. PhasorTJ-test Quark

    ... ter.kr(1), \jFreq.kr(1), \cub).linlin(0, 1, 0, 2pi)}).dumpUGens q = (); q.buf = Buffer.read(s, "/localvol/sound/supercollider/oneShots/new/bounceSaw/aiff24/*.aiff".pathMatch.first); q.buf.play x = { var buf = q.buf; BufRd.ar( numChannels: q ...

  5. FFTSubbandPower Plugin

    ... Examples // Simple example s = Server .local.boot; //Server.internal.boot; b = Buffer .alloc(s,2048,1); ( x = { var in, chain, powers, cutfreqs; in = LPF .ar( WhiteNoise .ar, MouseX .kr(10,10000, 1)); chain = FFT (b.bufnum, in); powers = F ...

  6. core-modules Quark

    ... e('sound', { |dirtEvent| var instrument, args; if(~diversion.value.isNil) { if(~buffer.notNil) { // arguments could be omitted using getMsgFunc, but for making it easier to understand, we write them out args = [ bufnum: ~buffer, sustain: ~s ...

  7. NRT Doc

    ... ion, see this guide Non-Realtime Synthesis (NRT) . ( ~score = Score.new; // add buffer allocation and file reading to the score at time 0.0s // NOTE: the value 131072 used below is the recommended number of frames for a Buffer used by DiskI ...

  8. SDrone Quark

    ... ; }; } } SDroneVOsc : SDrone { *type {^\VOsc} func { ^{|freqs, dists, amps| var buffers= { { var num= 4.rrand(9); LocalBuf.newFrom( Env( [0, {0.5.rand2}!(num-1), 0].flat, {1.0.rand(9)}!num, {rand2(9.0)}!num ).asSignal(1024).asWavetable ); } ...

  9. Limiter Help

    ... t amplitude level to which to normalize the input. dur - aka lookAheadTime. The buffer delay time. Shorter times will produce smaller delays and quicker transient response times, but may introduce amplitude modulation artifacts. ( // exampl ...

  10. SpecCentroid Help

    ... tal pitch; note the different effects of these two on the centroid. s.boot; b = Buffer .alloc(s,2048,1); ( x = { var in, chain, freq, rq, centroid; //freq = LFPar.kr(0.3).exprange(100, 1000); freq = MouseY .kr(1000, 100, 1); in = Blip .ar(f ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow