Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. FFT Overview Help

    ... to do this: ( SynthDef ( "help-multichannel FFT" , { arg out=0; // bufnum is an array var in, chain; in = [ SinOsc .ar(200, 0, 0.2), WhiteNoise .ar(0.2)]; chain = FFT ( LocalBuf ([2048, 2048]), in); // each FFT has a different buffer // now ...

  2. HIDDeviceService Help

    ... primitive calls. HIDDevice only stores information about a device and holds an array of HIDElements, which store information about the controllers of the device. A HIDDevice's information consists out of: the manufacturer, the product, the ...

  3. LocalOut Help

    ... synth Inherits from: Object : AbstractFunction : UGen : AbstractOut *ar(channelsArray) - write a signal to an audio bus local to the enclosing synth. *kr(channelsArray) - write a signal to a control bus local to the enclosing synth. channel ...

  4. Pstep Help

    ... d: Pseg Pstep(levels, durs, repeats) Levelpattern can return individual values, arrays, or events. The value returned by levelpattern is returned for the duration returned by durpattern. Pstep is good for representing chord progressions, sc ...

  5. PG_06g_Data_Sharing Help

    ... \bassTriadNotes )) div: 7 * 7 + Pkey ( \bassTriadNotes ), // add topNote to the array if not already there \degree , Pfunc { |ev| if(ev[ \merge ].detect({ |item| item == ev[ \topNote ] }).isNil) { ev[ \merge ] ++ ev[ \topNote ] } { ev[ \mer ...

  6. Writing-Classes Help

    ... } } at{ |i| ( "Index " ++i).postln } } a = MyClass (); a[3]; Defining a custom array of Points: MyPointArray [slot] : RawArray { center { ^Point(* this .asArray.flop.collect{ |item| item.sum / item.size } ) } asArray{ ^ this .collect{ |ele ...

  7. Semaphore Help

    ... ss to data to only one thread // there should never be mixed values in the data array ( var data, useAndModify; data = [1, 2, 3]; c = Semaphore (1); // c = Semaphore(2); use this to test how it would behave without exclusive access. useAndM ...

  8. Color Help

    ... t value is 0.0 alpha - An integer between 0 and 255 . Default value is 255 *fromArray (array) array - An instance of Array. 1-4 values between 0 and 1. See new. Same as * new (*array) *black - nothing is darker. *white - nothing is lighter. ...

  9. NamedControl Help

    ... er frequency a.set( \gate , -3); // release in 3 seconds ( a = { var channels = Array .fill(8, { q.filterInput(q.chooseNoise) * q.makeEnv( Env .asr, 2) }); Splay .ar(channels); }.play; ) a.set( \freq , 6000); // set filter frequency a.set( ...

  10. Sequencing with Routines and Tasks Help

    ... start at the beginning of the bar, you can give the bar length as a number. An array of two numbers tells SuperCollider the bar length and the phase. To see how this works in practice, let's take the C major scale above and play two copies ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow