-
... 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], ...
-
... 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], ...
-
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 ...
-
... 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 ...
-
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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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); ...
-
... 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 ...