Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (783) Code (80) Doc (245) Help (61) Quark (379) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. VDiskIn Help

    ... frames (% sec)\n" .postf(sendID, index % c.numFrames, (index % c.numFrames / c.sampleRate)); }).add ); b.close; b.free; b.alloc; b.cueSoundFile( "sounds/a11wlk01-44_1.aiff" , 0); c = SoundFile ( "sounds/a11wlk01-44_1.aiff" ).info; x.free; ...

  2. BBCutBuffer Quark

    ... .value(result); }); } ); }); ^result; } beatlength_ {arg b=4; length= numFrames/sampleRate; beatlength=b; bps= b/length; } events_ {arg eventlist; if(eventlist.isKindOf(Collection),{ if(eventlist.isEmpty,{ eventlist=0.5;}); }); eventlist= e ...

  3. PlonkSetup Doc

    ... / you can get information out of it just as you'd with a normal event: q.config.sampleRate; // > 4800 ⧉ ✔ Introspection . path the path to your setup. . server the sound server. . assetsDir the assets directory in which e.g. sound files are ...

  4. Latency Quark

    ... 0.1); // compare s.options.hardwareBufferSize; s.options.hardwareBufferSize / s.sampleRate The order in which packets arrive is not guaranteed, so in the worst case, one can end up sending a command to start a synth process, then set one of ...

  5. PVFile Quark

    ... o the server saveForSC {arg path; var sndfile; sndfile = SoundFile.new; sndfile.sampleRate_(44100); sndfile.sampleFormat("float32"); filepath = path ?? {PathName.tmp ++ sndfile.hash.asString}; sndfile.openWrite(filepath); sndfile.writeData( ...

  6. Graphic illustration of granular time-stretching by 0-7r (jamshark70) Code

    ... f = SoundFile.openRead(p); f.seek(86965); f.readData(d = Signal.newClear((f.sampleRate * 0.333).roundUp)); f.close; w = Window("granular windows", Rect(800, 200, viewWidth + 4, 450)); u = UserView(w, Rect(2, 2, viewWidth, 400)).f ...

  7. DiskIn Doc

    ... p = ExampleFiles.apollo11; a = SoundFile.new; a.openRead(p); d = a.numFrames/s.sampleRate; // get the duration a.close; // don't forget b = Buffer.cueSoundFile(s, p, 0, 1); f = { DiskIn.ar(1, b.bufnum) }; x = f.play; r = Routine({ loop({ d ...

  8. sndBuffer2 Quark

    ... ar gate = amp; var attackSecs = attackMs * 0.001; var startPos = startPosSecs * SampleRate.ir; var blockDelaySecs = ControlDur.ir * 2; // delay time used to avoid transient mangulation by supernova incidence = incidence.clip(0,1); // incide ...

  9. AssemblageRecording Quark

    ... rr = recBStoreArr.add([\alloc, ("alloc" ++ BStore.allocCount).asSymbol, [server.sampleRate.nextPowerOfTwo, recNumChans]];); BStore.allocCount = BStore.allocCount + 1; }; "//prepare recording".radpost; BStore.addAll(recBStoreArr, {|buf| recB ...

  10. samplerf Quark

    // see sampler // synth stays open and retrigs the sample multiple times Spec.add(\rqenv, EnvSpec( Env.new([ 0.194444, 0.0810185, 0.0648148, 0.444444 ], [ 0.01, 0.111111, 0.0833333 ], [ -0.583333, 3.33333, 1.66667 ], nil, nil))); Spec.add(\ ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow