Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1068) Code (100) Doc (449) Help (100) Quark (412) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. BufSamples Help

    BufSamples current number of samples allocated in the buffer superclass: BufInfoUGenBase Returns the current number of allocated samples. A sample is not the same as a frame (compare with BufFrames); a frame includes the samples in each cha ...

  2. SubsampleOffset Help

    ... leOffset + MouseX .kr(0, addOffset); // add a mouse dependent offset // cubic resampling: resampledSignal = DelayC .ar(in, maxdelaytime: sampDur * (1 + extraSamples), delaytime: sampDur * (sampleOffset + extraSamples) ); OffsetOut .ar(out, ...

  3. SampleRate Help

    SampleRate server sample rate superclass: InfoUGenBase returns the current sample rate of the server *ir // example { SampleRate .ir.poll }.play; // compares a 441 Hz sine tone derived from sample rate (44100 * 0.01, left) // with a 440 Hz ...

  4. BufSampleRate Help

    BufSampleRate buffer sample rate superclass: BufInfoUGenBase returns the buffers current sample rate *kr(bufnum) *ir(bufnum) the .ir method is not the safest choice. Since a buffer can be reallocated at any time, using .ir will not track th ...

  5. SoundFile Help

    SoundFile sclang soundfile data superclass: Object The SoundFile class is used to check the size, format, channels etc. when the sclang client needs this information about a SoundFile. Soundfile data can be read and modified. Soundfile data ...

  6. PG_Cookbook05_Using_Samples Help

    Using samples Playing a pattern in time with a sampled loop A deceptively complex requirement... here, we will loop the a11wlk01.wav sample between 0.404561 and 3.185917 seconds (chosen for its surprisingly accurate four-beat groove), and o ...

  7. RunningSum Help

    RunningSum running sum over n frames A running sum over a user specified number of samples, useful for running RMS power windowing. *ar(in, numsamp) in Input signal numsamp How many samples to take the running sum over (initialisation time ...

  8. Delay2 Help

    Delay2 two sample delay Delays the input by 2 samples. Delay2.ar(in, mul, add) in - input to be delayed. ( plot({ var z; z = Dust .ar(1000); [z, z - Delay2 .ar(z)] // [ original, subtract delayed from original ] }))

  9. Signal Help

    Signal sampled audio buffer Inherits from: Object : Collection : SequenceableCollection : ArrayedCollection : RawArray : FloatArray A Signal is a FloatArray that represents a sampled function of time buffer. Signals support math operations. ...

  10. 4_Rates Help

    Audio rate Ugens to which an .ar message is sent run at the audio rate, by default, at 44,100 samples per second. Send the .ar message to unit generators when they're part of the audio chain that will be heard. SinOsc .ar(440, 0, 1); ////// ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow