Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (473) Code (27) Doc (143) Help (30) Quark (269) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. second-play-wins-while-loading Quark

    >> <code> == radpost == ~buffer0 = Buffer.read(s, "<RadiclesFiles>/SoundFiles/Play/0/drums1.wav", bufnum: 0); ~buffer1 = Buffer.read(s, "<RadiclesFiles>/SoundFiles/Play/0/marilyn1.wav", bufnum: 1); // block1: play drums1 cancelled while loa ...

  2. URecSndFile Quark

    ... 1, headerFormat = "aiff", sampleFormat = "int24" | // path of existing file or SoundFile if( path.class == SoundFile ) { ^this.newBasic( path.path, nil, numChannels ) .headerFormat_( headerFormat ) .sampleFormat_( sampleFormat ); } { ^this ...

  3. URecSndFile Quark

    ... 1, headerFormat = "aiff", sampleFormat = "int24" | // path of existing file or SoundFile if( path.class == SoundFile ) { ^this.newBasic( path.path, nil, numChannels ) .headerFormat_( headerFormat ) .sampleFormat_( sampleFormat ); } { ^this ...

  4. RedBuffer Quark

    // redFrik 050329 // load a segment from a long soundfile. returns a buffer RedBuffer { //offset in percent and length in seconds *new {|server, path, segmentOffset= 0, segmentLength= 10| var sf, offsetFrames, lengthFrames; sf= SoundFile(pa ...

  5. sFiles Quark

    ... }); }, { paths= View.currentDrag; }); paths.do{|path| if(index<files.size, { if(SoundFile(path).info.notNil, { files[index].read(path); index= index+1; }); }); } } ); files= {|i| var sfv= SPlayFileView(folder: SInstruments.soundfilesDir, co ...

  6. SampleDescript copy Quark

    ... , loadToBuffer, normalize, server, action| var cond = Condition.new(false); var soundFile, soundFileArray; buffer = []; server.postln; bufferServer = server; if(fileName.class == Buffer) { fork{ buffer = fileName; loadToBuffer = false; file ...

  7. record-mix Quark

    ... ffer1 = Buffer.alloc(s, 65536.0, 2, bufnum: 1); ~buffer0.write("<RadiclesFiles>/SoundFiles/Record/<date_time> 0 spaceMaster.wav", "wav", "int16", 0, 0, true); ~buffer1.write("<RadiclesFiles>/SoundFiles/Record/<date_time> 1 Inputs 1-2.wav", ...

  8. SS_SCMIRAudioFile Quark

    ... name = this.resolveMP3(filename); }; //not multi-thread safe if (valid=SS_SCMIR.soundfile.openRead(filename),{ loadstart = (start*(SS_SCMIR.soundfile.numFrames)).asInteger; if(loadstart<0 || (loadstart>=(SS_SCMIR.soundfile.numFrames))) { lo ...

  9. play-loop-stop Quark

    >> pl 1 drums1 == radpost == ~buffer0 = Buffer.read(s, "<RadiclesFiles>/SoundFiles/Play/0/drums1.wav", bufnum: 0); Ndef('block1', {arg rate=1 , trigger=1 , startPos=0 , mul=1 ; PlayBuf.ar(~buffer0.numChannels, ~buffer0, rate, trigger, start ...

  10. README Quark

    ... llider with the command `Quarks.install("redSampler")` # redSampler Playback of soundfiles from disk or RAM. With simple envelope, voices and looping. The 'giga' sampler class (`RedDiskInSamplerGiga`) is useful for massive sample libraries ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow