Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (797) Code (76) Doc (225) Help (77) Quark (404) Plugin (15) SCDoc ↗ Forum ↗ Google ↗
  1. Onsets Help

    ... the threshold value. // A little hard to listen to at first: try and identify a pitch at which the best sort of // detection is happening. // You'll hear "bobbling" at low pitches where the threshold is definitely too low. ( var threshes = ...

  2. Pswitch1 Help

    ... )); x = c.asStream; 24.do({ x.next.postln; }); ) Pswitch used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(ou ...

  3. Pconst Help

    ... ream; 9.do({ x.next( Event .default).postln; }); ) Pconst used as a sequence of pitches ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out ...

  4. Streams-Patterns-Events3 Help

    ... repeat b = a.asStream; 10.do({ b.next.postln; }); ) Pseq used as a sequence of pitches Remember that math operations like midicps can be used on streams. The alternative Pseq(...).midicps.asStream is also possible because both pattern and ...

  5. Event Help

    ... values and functions for different aspects of note generation (timing, volume, pitch, server to use, etc) Creation / Class Methods *new(n, proto, parent, know = true) create an event with initial size n . proto may be provided as another e ...

  6. hypot Help

    ... ). See also atan2 . In this example, hypot is used to calculate a doppler shift pitch and amplitude based on distance. ( { var x, y, distance, velocity, pitchRatio, amplitude; // object travels 200 meters in 6 secs (=120kph) passing 10 mete ...

  7. Scale Help

    ... ary octave divisions and ratios, and (in conjunction with Tuning ) can generate pitch information in various ways, including as input to Patterns. s.boot; a = Scale .major; a.degrees; // [ 0, 2, 4, 5, 7, 9, 11 ] a.semitones; // [ 0, 2, 4, 5 ...

  8. Plazy Help

    ... inf ).asStream; 30.do({ x.next.postln }); ) Plazy used to produce a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(ou ...

  9. Ptuple Help

    ... cycles x = c.asStream; 8.do({ x.next.postln; }); ) Ptuple used as a sequence of pitches (chords) ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Ou ...

  10. Pseq Help

    ... repeat b = a.asStream; 10.do({ b.next.postln; }); ) Pseq used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(ou ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow