OCT-TRANS

[GENERIC-FUNCTION]


OMTristan
Function Reference
ARGUMENTS:
  - self Midics [default = (quote (5500 6600 7850))]
  - min Min [default = 6000]
  - max Max [default = 7200]
&optional
 
  - pivot Pivot [default = 0]

Description:

Transposes notes of a chord or list of chords <chord> by octaves so all its notes will be contained within the range between <min> and <max>, given in midicents.

The optional argument <pivot> (a note, in midicents) forces all notes to be transposed to the same octave as the pivot. The <pivot> must be within the specified range, or an error will occur.



Auto doc generation by OpenMusic 7.0 © 2022 IRCAM