Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... <buffer, <filepath, mainLayout, <labelName, dragBothPanel, <labelBufferNumber, soundfile, pathName, filename, buttonPlay, buttonPlot, buttonInspec, buttonDelete; var <>actionRemove, <>actionMove, <>actionNewItem; var prBeginDragAction, prC ...

  2. RedTest Quark

    ... n2.ar(Mix(SinOsc.ar(#[400, 404], 0, LFNoise0.kr(5).max(0)*amp*0.5)), pan) } //--soundfile *sf {|out= 0, group| ^super.new.initRedTestSF(out, group, 1); } *sf2 {|out= 0, group| ^super.new.initRedTestSF(out, group, 2); } initRedTestSF {|out, ...

  3. 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. ...

  4. 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 ...

  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. 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 ...

  7. 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) ...

  8. plusSignal Quark

    ... paths.do({ arg p; path = p;}); // },{ // "cancelled".postln }); // }; // file = SoundFile.new; // file.openRead(path).if { // size = file.numFrames * file.numChannels; // array = FloatArray.newClear(size); // file.readData(array); // }; // ...

  9. TimeStretch2 Quark

    ... extension=="wav")||(inFile.extension=="aif")||(inFile.extension=="aiff")){ sf = SoundFile.openRead(inFile.fullPath); numChans = sf.numChannels; if(outFile == nil){outFile = inFile.pathOnly++inFile.fileNameWithoutExtension++durMult++".wav"}; ...

  10. PlonkSoundSupport Quark

    ... nkSoundSupport, "Buffer % loaded".format(key)); }; var buf; cue.if({ var info = SoundFile.use(pathname, {|file| ( \numFrames: file.numFrames, \numChannels: file.numChannels, \sampleRate: file.sampleRate, \duration: file.duration ) }); buf = ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow