DURATIONS-CONTROL-INTERVALS

[FUNCTION]


Cluster-Rules
Function Reference
ARGUMENTS:
&key
 
  - voices    
  - rel-factor    
  - acc-factor    
  - rule-type    
  - weight    

Description:

Pitch intervals and durations are lineary related.

Args:
voices (int or list of ints): The voice(s) to which the rule is applied.

rel-factor (relation factor): the size of the melodic interval is approximately the duration times rel-factor.

acc-factor (accuracy factor): factor how much the interval can deviate from that relation above and below.

Examples: If rel-factor is 1 and acc-factor is also one, then the duration of a note would need to be the same as the interval starting at it (e.g., duration = 2 and interval is 2). If rel-factor is 32 and acc-factor is 2 (the defaults) then the interval can be any value between duration*32/2 and duration*32*2.

Optional arguments are inherited from r-rhythm-pitch-one-voice.



Auto doc generation by OpenMusic 7.4 © 2024 IRCAM