Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (473) Code (27) Doc (143) Help (30) Quark (269) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. multichannel-test Quark

    /* experimental. */ // record a stereo soundfile (wait 10 sec) ( var time = 8; var f = { var mod = Line.kr(0, 1, time); var imp = Impulse.ar(mod.linexp(0, 1, 1, 16) * [2, 3]); var fmod = SinOsc.ar(mod.linexp(0, 1, [700, 730] * rrand(0.4, 1. ...

  2. extSynthdef-record Quark

    ... ions to buffers and synths to files + Function { // directly write functions to soundfiles (realtime) // args is am aray, a msg style array of arguments for the function or a dict: // [440, 1] or [\freq, 440, \gate 1] or (freq: 440, gate: 1 ...

  3. Score Doc

    ... app to synthesize it. For details on valid headerFormats and sampleFormats see SoundFile . Use TempoClock.default as a tempo base. Does not return an instance. Arguments: list the list. oscFilePath the path to which the binary OSC file wil ...

  4. Simple pattern-based beat slicer by davidmorgan (david_morgan) Code

    ... }; ) ( TempoClock.default.tempo_(2); ~buf = Buffer.read(s, "/path/to/mono/soundfile"); ) ( Ndef(\out).clear; Ndef(\out).play; Ndef(\out)[0] = ~slcr.(buf: ~buf, beats: 4, beatDiv: 2, sliceProducer: ~sliceProducer, amp: 0.5); Nd ...

  5. WavetablePrep Quark

    ... cessedFile(path, startFrame, numFrames) } read { |action, pause = 0| var file = SoundFile.openRead(path); if(file.isNil) { action.value(Error("File open failed")) } { this.readStream(file, action, pause); }; } readStream { |file, action, pa ...

  6. 13-Buffers Doc

    ... are the usual way of storing data server-side. Their most common use is to hold soundfiles in memory, but any sort of data that can be represented by floats can be stored in a buffer. Like busses, the number of buffers is set before you boo ...

  7. FFTPower Doc

    ... * 0.66667).poll(label:"Sine power")); }.scope; ) // Let's graph the power of a soundfile c = Buffer.read(s, "sounds/a11wlk01.wav"); ( { var in, chain; in = PlayBuf.ar(1, c); chain = FFT(b.bufnum, in); Out.ar(0, in * 0.1); [K2A.ar(FFTPower. ...

  8. WarpIn Quark

    ... normal, 0.5 is one octave down, 2.0 is one octave up. Negative values play the soundfile backwards. windowSIze - the size of each grain window. envbufnum - the buffer number containing a singal to use for the grain envelope. -1 uses a buil ...

  9. wslib-shortcuts Quark

    ... ender( "~/Desktop/testSine550.aif" , 5 ); ( // use sfBuffer argument to input a soundfile buffer, to be loaded by the NRT server b = Buffer .new.path_( "sounds/a11wlk01-44_1.aiff" ); { PlayBuf .ar(1, b.bufnum, SinOsc .kr(0.5).range(0.2,1.8) ...

  10. BufFolders Doc

    ... ion) | Buffer BufFolders Extension Load folder of sound files and subfolders of soundfiles to buffers in a dictionary Location: NOT INSTALLED! See also: BufFiles Description This is a simple class that handles loading a directory tree of so ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow