Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ection.collectAs({|item| item}, FloatArray)}, {data = collection;} ); sndfile = SoundFile.new; sndfile.sampleRate = server.sampleRate; sndfile.numChannels = 1; if(sndfile.openWrite(path), { sndfile.writeData(data); sndfile.close; }, {"Faile ...

  2. satieNRT Quark

    ... a [path] and an ambisonic order [1-5].").throw }; path = PathName(path); info = SoundFile(path.files[0].fullPath).info; if(info.numChannels != 1) { 1.exit; Error("Sound files contain % channels. Expected monophonic sound files.".format(info ...

  3. SFPlayer Quark

    ... Arg); }, path: defaultOpenPath); }, { this.path_(pathArg); }) } runSetup { sf = SoundFile.new; { sf.openRead(path); cond = Condition.new; if(autoBootServer, { if(server.options.numOutputBusChannels < sf.numChannels, { if(server.serverRunnin ...

  4. defPerc Quark

    ... ee; // Synthdefs DO depend on additional resources. // This one loads part of a soundfile and plays it with different kinds of processing. // Could also be done with \bufPerc if you write custom synthdefs. ( PR ( \defPerc ).chuck( BP ( \ex2 ...

  5. defPerc Quark

    ... ee; // Synthdefs DO depend on additional resources. // This one loads part of a soundfile and plays it with different kinds of processing. // Could also be done with \bufPerc if you write custom synthdefs. ( PR ( \defPerc ).chuck( BP ( \ex2 ...

  6. basicBufferPlayer Quark

    ... s might need open and closed samples). Here, give an array listing paths to the soundfile(s). If you're using only one sample, you still have to wrap the path in an array: ["sounds/a11wlk01.wav"]. bufCoords: By default, the whole of each so ...

  7. basicBufferPlayer Quark

    ... s might need open and closed samples). Here, give an array listing paths to the soundfile(s). If you're using only one sample, you still have to wrap the path in an array: ["sounds/a11wlk01.wav"]. bufCoords: By default, the whole of each so ...

  8. WFSPath Quark

    ... doWhenCanceled.value; }, { synth.run; doAtStart.value; } ] ); ^synth; } playWithSoundFile { |path = "sounds/a11wlk01-44_1.aiff", rate = 1, level = 1, loop = false, adjustLength = false, server, doWhenFinished, doWhenCanceled | // defs need ...

  9. BufferSystem Quark

    ... d(item.fullPath)}; selectedPath = newerArr[fileIndex] }, { "Incorrect fileName, soundfile does not exist".warn; }); ^selectedPath; } *alloc {arg numFrames, numChannels, function; var buffer, globVar; this.new; numFrames ?? {numFrames = 4410 ...

  10. Freesound2 Quark

    ... add{ var testFile = Freesound2.filenameSymbol.asString.dirname++"/test.ogg"; if(SoundFile.new.openRead(testFile)) { previewType=preview_type_libsndfile; }{ if(thisProcess.platform.name=='osx') {previewType =preview_type_afp }{previewType=pr ...

prev 21 22 23 24 25 26 27 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow