Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (513) Code (102) Doc (171) Help (75) Quark (148) Plugin (17) SCDoc ↗ Forum ↗ Google ↗
  1. TestPattern6 Quark

    ( Alga.boot({ AlgaSynthDef(\test, { PlayBuf.ar(2, \buf.kr(0), BufRateScale.kr(\buf.kr), doneAction:2) }).add; b = Buffer.read(s, File.realpath(Alga.class.filenameSymbol).dirname.withTrailingSlash ++ "../Examples/Samples/kick.wav"); c = Buff ...

  2. Sampling Demo with QuNeo - Patch 1 by bruno (Bruno Ruviaro) Code

    ... e SynthDef (note that it will need to know numChannels of buffers) SynthDef("playBuf", {arg bufnum = 0, rate, amp = 0.5, gate = 1, loop = 1; var snd, env; env = EnvGen.ar(Env.asr(0.001, 1, 1), gate: gate, doneAction: 2); snd ...

  3. CtkBuffer Doc

    CtkBuffer: Filter: Description Class methods new buffer playbuf diskin env collection Inherited class methods Instance methods load free set zero write openWrite closeWrite fill addTo sampleRate numChannels duration plot preparePartConv Wav ...

  4. Done Help

    ... nitors another UGen to see when it is finished Done.kr(src) Some UGens, such as PlayBuf, RecordBuf, Line, XLine, EnvGen, Linen, BufRd, BufWr, DbufRd, and the Buffer delay UGens set a 'done' flag when they are finished playing. This UGen ech ...

  5. Loudness Help

    ... wlk01.wav" ); //analyse loudness and poll result ( { var in, fft, loudness; in= PlayBuf .ar(1,d, BufRateScale .kr(d),1,0,1); fft = FFT (b, in); loudness= Loudness .kr(fft).poll(50); Out .ar(0, Pan2 .ar(in)); }.play ) //TESTS //sones = 2**(( ...

  6. 00_Introductory_tutorial Doc

    ... 2_UnaryOp_synthesis 13_BinaryOp_synthesis 14_Subtractive_synthesis 15_Groups 16_Playbuf 17_Delays_reverbs 18_Frequency_modulation 19_Scheduling Debugging 20_Debugging 21_Syntax_errors 22_Runtime_errors ////////////////////////////////////// ...

  7. PV_MagNoise Help

    ... ( SynthDef ( "help-magNoise2" , { arg out=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT(LocalBuf(2048) , in); chain = PV_MagNoise (chain); Out .ar(out, 0.5 * IFFT (cha ...

  8. PermModArray Doc

    ... ect on existing file: b = Buffer.read(s, 'C:/Folder/File.wav') {PermModArray.ar(PlayBuf.ar(2, b),SinOsc.kr(0.1,0,2000,4000)),[0,1,3,2]}.play //or {PermModArray.ar(PlayBuf.ar(2, b),Saw.kr(0.2,2000,4000)),[1,0,2,3]}.play helpfile source: /usr ...

  9. Concat Doc

    ... chlength=0.01, freeze=0; var concat, control, input; control= SoundIn.ar; input=PlayBuf.ar(1,bufnum,BufRateScale.kr(bufnum), loop:1); concat= Concat.ar(control,input,1.0,1.0,1.0,matchlength,freeze,0.0,1.0,0.0,0.0); Out.ar(0,Pan2.ar(concat,0 ...

  10. simultaneous-commands Quark

    ... ', 0, 'solo', 1); Ndef('block1', {arg rate=1 , trigger=1 , startPos=0 , mul=1 ; PlayBuf.ar(~buffer0.numChannels, ~buffer0, rate, trigger, startPos.linlin(0,1,0, ~buffer0.numFrames), 1)*mul;}); == radpostcont == (none)

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow