CLOSEST-TRANS
[GENERIC-FUNCTION]
|

OMTristan Function Reference
|
ARGUMENTS:
| |
- ch1
|
chord |
[default = (quote (6000))] |
| |
- ch2
|
chord |
[default = (quote (6000))] |
| |
- fct
|
fct |
[default = (quote sum)] |
|
Description:
Transposes the chord <ch2> (a single chord in midicents) so that its
intervallic distance to <ch1> (also a single chord in midicents) is as
small as possible. Thus the distance between each note of <ch2> and each
note of <ch1> will become as small as possible. This is essentially the same
as the box 'best-inv' except the ordering of <ch2> is preserved.
The optional argument <fct> allows the choice between two different
algorithms for calculating this function,'sum' and 'max'. The default
is sum because 'max' may produce quarter-tones from semi-tone input. For
best results one should experiment with both and chose according to the
context.
|
Auto doc generation by OpenMusic 7.0 © 2022 IRCAM
|