RESTRICT-CONSECUTIVE-DIRECTIONS

[FUNCTION]


Cluster-Rules
Function Reference
ARGUMENTS:
&key
 
  - n    
  - direction    
  - voices    
  - rule-type    
  - weight    

Description:

This rule controls how many consecutive intervals can be ascending or descending. At most n notes can be connected by intervals of the same direction.

Args:
n (int): How many consecutive notes are taken into account?
direction: Which interval direction is taken into account? For example, :ascending means that the rule only looks at consecutive ascending intervals. Without the ending -strict, note repetitions are also counted as the same direction.

In case of intermitting rests the rule is not applied.

Other arguments are inherited from R-pitches-one-voice.



Auto doc generation by OpenMusic 7.4 © 2024 IRCAM