Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (544) Code (144) Doc (161) Help (58) Quark (175) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. Amplitude Help

    ... (0.001, 1, 1), 1200, 400 ), 0, 0.3) }.play; ) // use input amplitude to control Pulse amplitude - use headphones to prevent feedback. { Pulse .ar(90, 0.3, Amplitude .kr( SoundIn .ar(0))) }.play; ( // use input amplitude to control SinOsc fr ...

  2. PulseDivider Help

    PulseDivider pulse divider PulseDivider.ar(trig, div, startCount) Outputs one impulse each time it receives a certain number of triggers at its input. trig - trigger. Trigger can be any signal. A trigger happens when the signal changes from ...

  3. 4_Rates Help

    ... ///////// Here, a control rate SinOsc modulates the frequency of the audio rate Pulse wave. ( SynthDef ( "anExample" , { Out .ar( 0, Pulse .ar( [220, 221.5] + SinOsc .kr([7, 8], 0, 7), // the control rate conserves CPU cycles 0.35, 0.02 ) ) ...

  4. MultiChannel Help

    ... ch array in parallel. The shorter arrays will wrap. for example, the following: Pulse .ar([400, 500, 600],[0.5, 0.1], 0.2) is equivalent to: [ Pulse .ar(400,0.5,0.2), Pulse .ar(500,0.1,0.2), Pulse .ar(600,0.5,0.2) ] A more complex example b ...

  5. UsingMIDI Help

    ... the desired kind of synchronization. For sysrt, external MIDI clocks output 24 pulses per quarter note. The responder should count the incoming pulses and multiply the rhythmic value into 24 to determine how many pulses to wait: 0.25 wait ...

  6. PulseCount Help

    PulseCount pulse counter PulseCount.ar(trig, reset) Each trigger increments a counter which is output as a signal. trig - trigger. Trigger can be any signal. A trigger happens when the signal changes from non-positive to positive. reset - r ...

  7. TChoose Help

    ... TWChoose *ar(trig,array) *kr(trig,array) ( { var a; a = [ SinOsc .ar, Saw .ar, Pulse .ar ]; TChoose .ar( Dust .ar( MouseX .kr(1, 1000, 1)), a) * 0.2 }.play; ) Note: all the ugens are continously running. This may not be the most efficient ...

  8. SampleRate Help

    ... [ SampleRate .ir(0) * 0.01, 440]; SinOsc .ar(freq, 0, 0.1) }.play; ) // play a pulse chord at power of two divisions of sample rate { LFPulse .ar( SampleRate .ir * (2 ** (1..14).neg).postln).mean * 0.1 }.play;

  9. TWChoose Help

    ... malize) *kr(trig,array,weights,normalize) ( { var a; a = [ SinOsc .ar, Saw .ar, Pulse .ar ]; TWChoose .ar( Dust.ar(MouseX.kr(1, 1000, 1)) , a, [0.99, 0.05, 0.05].normalizeSum) * 0.2 }.play; ) Note: all the ugens are continously running. Thi ...

  10. jitlib_efficiency Help

    ... Blip .ar( Rand (32,15), 100, 0.5) }; ~s2 = { SinOsc .ar(740, 0, 0.1) }; ~s3 = { Pulse .ar(140, 0.2, 0.1) }; ~out = { Pan2 .ar(~mix.ar(1), MouseX .kr(-1,1)) }; ~mix.read(~s1); ~mix.read(~s2); ~mix.read(~s3); //resetting the source stops read ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow