Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... , 1.0, inf ), \amp , 0.5 ); }; // initialization // by using ~variables for the soundfile to load, // you can use this process with any soundfile ~path = "sounds/a11wlk01.wav" ; ~prep = { ~buf = Buffer .read(s, ~path); }; ~freeCleanup = { ~ ...

  2. ATSResidual Quark

    ... nd(1e-4) } { inf }); } // Write residual (and optionally synthesis) to a stereo soundfile: // channel 0 = residual, channel 1 = synthesis (как в оригинале) writeSoundFile { |path| var sf, p, interleaved, n, i; if(residual.isNil) { "ATSResid ...

  3. PartConvBufferView Quark

    ... | var closeFunc, sf; plotWindow !? _.close; sf = this.performPartConvBuffer( \asSoundFile ); if( sf.notNil ) { plotWindow = USoundFilePlotWindow( sf, 0, 0) .canSelect_( false ); closeFunc = { plotWindow !? _.close; }; plotWindow.window.onCl ...

  4. WFPathBufferView Quark

    ... "read data" ) .action_({ |bt| ULib.openPanel({ |pth| var sf, wfspath, fa; sf = SoundFile.openRead( pth ); if( sf.notNil ) { if( sf.numChannels == 9 ) { fa = FloatArray.newClear( sf.numFrames * sf.numChannels ); sf.readData( fa ); wfspath = ...

  5. RadiclesCmdsBase Quark

    ... [\str], {|str1| var path; ("Play Folder: " ++ BStore.playFolder).radpostwarn; "SoundFiles: ".postln; path = PathName(BStore.getPlayPath); path.files.collect({|item| item.fileNameWithoutExtension }).dopostln; }, "lists play soundfiles"); cW ...

  6. startup21-clientfft Quark

    ... amPlayer; ~clock.sched(0, ~eventStreamPlayer.refresh); ~isPlaying = true; }; // SoundFile-based is synchronous but buffers might be async // getAudioData should send the messages to get the data, then call ~asyncHang // the following method ...

  7. startup21-clientfft Quark

    ... amPlayer; ~clock.sched(0, ~eventStreamPlayer.refresh); ~isPlaying = true; }; // SoundFile-based is synchronous but buffers might be async // getAudioData should send the messages to get the data, then call ~asyncHang // the following method ...

  8. CtkControl Quark

    ... e CtkScore you have created score.play(s); // uncomment to write the score to a soundfile //score.write("~/Desktop/test.aiff".standardizePath, 22, // options: ServerOptions.new.numOutputBusChannels_(2)); // uncomment to save the CtkScore as ...

  9. CtkNote Quark

    ... e CtkScore you have created score.play(s); // uncomment to write the score to a soundfile score.write( "~/Desktop/test.aiff" .standardizePath, score.endtime, 48000, options: ServerOptions .new.numOutputBusChannels_(2)); // uncomment to save ...

  10. ATSAnalyzer Quark

    ... r. *newFromFile { |path| var sf, raw, mono, numChannels, numFrames, sr, i; sf = SoundFile.openRead(path.standardizePath); if(sf.isNil) { Error("ATSAnalyzer: could not open file: " ++ path).throw; }; numChannels = sf.numChannels; numFrames = ...

prev 21 22 23 24 25 26 27 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow