DIST-GEN

[GENERIC-FUNCTION]


OMTristan
Function Reference
ARGUMENTS:
  - fund Fundamental [default = 3600]
  - numer Numerator [default = 1]
  - denom Denominator [default = 1]
  - begin Begin [default = 1]
  - end End [default = 7]
  - nhq1 N-harm1 [default = 1]
  - d1 Distance1 [default = 0]
  - nhq2 N-harm2 [default = 7]
  - d2 Distance2 [default = 0]
  - mc-or-f midicents or frequency [default = "mc"]

Description:

Returns a distorted (i.e. inharmonic) spectrum obtained through scaling of a harmonic series. Reference pitches are two partials <nhq1, nhq2> and the two midicent intervals <dint1, dint2> between the original harmonic pitches and the corresponding distorted pitch obtained after scaling. Input of the intervals <dint1, dint2> occurs in midicents or frequency.

N.B. Definition of the harmonic series (which partials are present of a given fundamental?) occurs by numerator and denominator. Distortion is the result of scaling the harmonic series.



Auto doc generation by OpenMusic 7.0 © 2022 IRCAM