METRIC-OFFSET-OF-MOTIF

[FUNCTION]


Cluster-Rules
Function Reference
ARGUMENTS:
&key
 
  - metric-offset    
  - voices    
  - metric-structure    
  - grid    
  - min-motif-length    
  - rule-type    
  - weight    

Description:

Motifs must start metric-offset away from set beat. Motifs starting with rests are not constrained.

Args:
metric-offset (ratio): How far should motifs be shifted with respect to the metric-structure? For example, if metric-offset is -1/8, then motifs will be shifted to start an eighths note before the beat (or bar).
grid (ratio): Motifs could be longer than a beat (or bar) so that this rule would be checked more than once. If a motif is longer than the set grid, it will only be checked at its beginning whether its metric offset is as set.

Optional arg:
min-motif-length (int): motifs with a length below this setting are uneffected.

Other arguments are inherited from R-meter-note.



Auto doc generation by OpenMusic 7.4 © 2024 IRCAM