Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (65) Code (8) Doc (27) Help (7) Quark (23) SCDoc ↗ Forum ↗ Google ↗
  1. sos_bell Quark

    ... g; trig = \trigger.tr(1); URandSeed.ir(); // always the same sound // Stretched harmonic series son = SinOsc.ar(#[2, 3, 4.1, 5.43, 6.8, 8.21] * freq, 0, #[1, 0.9, 0.8, 0.7, 0.6, 0.5] * 0.1); son = son * EnvGen.ar(Env.new([0,1,0.3, 0.2, 0], ...

  2. sos_bell Quark

    ... g; trig = \trigger.tr(1); URandSeed.ir(); // always the same sound // Stretched harmonic series son = SinOsc.ar(#[2, 3, 4.1, 5.43, 6.8, 8.21] * freq, 0, #[1, 0.9, 0.8, 0.7, 0.6, 0.5] * 0.1); son = son * EnvGen.ar(Env.new([0,1,0.3, 0.2, 0], ...

  3. PitchSet Quark

    PitchSet Set of intervals expressed as Harmonic Vectors. Pitch sets designed for irregular, non octave repeating interval collections. They are partitioned into 'islands' (harmonic and timbral sets) according to whether they lie inside cert ...

  4. numberExtras Quark

    ... y to: cents {|frq=1| ^( (this/frq).ratiomidi * 100 ) } //ex. 440.addCents(Array.series(12, 0, 100)).asNote addCents { |cents| ^this * (2**(cents/1200)) } // basically the same but with different semantics: // ex. 833.cents2Frq cents2Frq {|f ...

  5. PitchSet Quark

    PitchSet { //a set of harmonic vectors that are partitioned into islands (harmonic & timbral) /* Implementation inspired on the article: Fokker, A, "Unison vectors and periodicity blocks in the three-dimensional (3-5-7-)harmonic lattice of ...

  6. LoudnessModel Quark

    ... g model implemented from the article: Applying Psychoacoustics in Composition: "Harmonic" Progressions of "Nonharmonic" Sonorities , by Richard Parncutt. Perspectives of New Music, 32:2, 1994. See also: Dissonance a class that deals with au ...

  7. HoaUGen Quark

    ... o Konttinen, Sumanta Pattanaik, Kadi Bouatouch. Fast Approximation to Spherical Harmonic Rotation. [Research Report] PI 1728, 2005, pp.14. The algorithm was modified slightly to conform to ATK's orientation convention as well as a slight re ...

  8. modalElectricGuitar Quark

    ... y, where 0.00001 is a constant stretching these frequencies a tiny bit from the harmonic series. Similarly, the decay times of each mode are found by decArray, where decayCoef and dampCoef (which is best left low) control the apparent brigh ...

  9. extSignal Quark

    ... ignal.newClear(size).cosineFill(amplitudes, phases).normalize } addCosine { arg harmonicNumber = 1, amplitude = 1.0, phase = 0.0; ^this.addSine(harmonicNumber, amplitude, phase + 0.5pi) } cosineFill { arg amplitudes, phases; this.fill(0.0); ...

  10. CtkBuffer Quark

    ... ze, wavetable, clear ... args) - args are individual floats that are applied to harmonic partials of a sine wave and can vary in size. e.g. args = 1 - create a wave with only a fundamental frequency. e.g. args = 0.2, 1, 0.5, 0.2 - four part ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow