Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (783) Code (80) Doc (245) Help (61) Quark (379) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. FBSineN Help

    ... , and a = 1 a normal sinewave results. // default initial params { FBSineN .ar( SampleRate .ir/4) * 0.2 }.play(s); // increase feedback { FBSineN .ar( SampleRate .ir, 1, Line .kr(0.01, 4, 10), 1, 0.1) * 0.2 }.play(s); // increase phase mult ...

  2. pchRatioPlayer Quark

    ... hRatioStream //); /* kr rate players whose output is within pchRatio for use in sampler modulations. this is a gateway instrument, allowing the entire degree and scale library to be used with samplers */ Instr([\pchRatio, \StreamKrDur], { a ...

  3. SFP Quark

    ... } // each subclass should implement timeDuration numFrames { ^file.numFrames } sampleRate { ^file.sampleRate } numChannels { ^file.numChannels } preloadData { arg startAt=0,endAt; file.preloadData(startAt,endAt) } tempo { ^file.tempo } tem ...

  4. SFP Quark

    ... } // each subclass should implement timeDuration numFrames { ^file.numFrames } sampleRate { ^file.sampleRate } numChannels { ^file.numChannels } preloadData { arg startAt=0, endAt; file.preloadData(startAt, endAt) } tempo { ^file.tempo } t ...

  5. plusSoundFile-split Quark

    ... t_( this.headerFormat ) .sampleFormat_( this.sampleFormat ) .numChannels_( 1 ) .sampleRate_(this.sampleRate) }); numDigits = numChannels.asString.size; outFiles.do({ |f, i| f.openWrite( "%.%".format( pth.format( (i+1).asStringToBase( 10, nu ...

  6. GbmanL Doc

    ... d instance methods Examples // default initial params { GbmanL.ar(MouseX.kr(20, SampleRate.ir)) * 0.1 }.play(s); // different initial params { GbmanL.ar(MouseX.kr(20, SampleRate.ir), -0.7, -2.7) * 0.1 }.play(s); // wait for it... { GbmanL.a ...

  7. GbmanN Doc

    ... d instance methods Examples // default initial params { GbmanN.ar(MouseX.kr(20, SampleRate.ir)) * 0.1 }.play(s); // change initial params { GbmanN.ar(MouseX.kr(20, SampleRate.ir), -0.7, -2.7) * 0.1 }.play(s); // wait for it... { GbmanN.ar(M ...

  8. JoshPV Plugin

    ... ntrol', buffer, ratio); } } + SimpleNumber { calcPVRecSize {arg frameSize, hop, sampleRate; var rawsize, tmp; sampleRate = sampleRate ?? {Server.default.sampleRate}; rawsize = (((this * sampleRate) / (frameSize)).ceil * frameSize); ^rawsize ...

  9. TGrains3 Doc

    ... xamples s.sendMsg(\b_allocRead, 10, "sounds/a11wlk01.wav"); c=Buffer.alloc(s, s.sampleRate * 0.2, 1) // buffer for rise/decay shape - multiple of sr helps prevent clicks, i think. ( var y, h; y=Signal.hanningWindow(s.sampleRate * 0.4); // t ...

  10. Wavesets Quark

    ... , formatDict; classvar <>defaultInst = \wvst0; var <signal, <name, <numFrames, <sampleRate; var <xings, <lengths, <fracXings, <fracLengths, <amps, <maxima, <minima; var <numXings, <minSet, <maxSet, <avgLength, <sqrAvgLength, <minAmp, <maxAm ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow