SP-GEN

[GENERIC-FUNCTION]


OMTristan
Function Reference
ARGUMENTS:
  - fund Fundamental [default = 3600]
  - dist% Dist [default = 0]
  - numer Numerator [default = 1]
  - denom Denominator [default = 1]
  - begin Begin [default = 1]
  - end End [default = 7]
&optional
 
  - offset Offset [default = 0]
  - approx Approx  

Description:

Returns all partials of fundamental <fund> determined by a numerator <numer> and a denominator <denom> from beginning <begin> to end <end>.

The following algorithm is used: p = f * r ^ d + offset.
Here, d = 1 + dist%/100 (dist% = distortion percentage).
In case d = 1, there is no distortion (dist% = 0) and the series is harmonic.
In case d < 1, we have a distorted (i.e. inharmonic) spectrum which is compressed.
In case of d > 1 we have a distorted (i.e. inharmonic) spectrum which is expanded.

Optional: With ÔOffsetÕ a frequency shift may be added to the function.



Auto doc generation by OpenMusic 7.0 © 2022 IRCAM