GR-EQLENGTH

[GENERIC-FUNCTION]


OMRC
Function Reference
ARGUMENTS:
  - layer1 layernr [default = 1]
  - voice1 voicenr [default = 0]
  - layer2 layernr [default = 1]
  - voice2 voicenr [default = 1]

Description:

Rule for forcing two layers in different voices to be of as equal length as possible.

<layer1> is the layer number for the first layers.
<voice1> is the voice number for the first layers.
<layer2> is the layer number for the second layer.
<voice2> is the voice number for the second layer.

The rule will only accept a cell for the for the moment shortest
layer as the next cell in the solution. Also works with layer 0
(the time signatures).

The rule has to be connected to the input for both layers on Òrules->pmcÓ.
--------------------------
Regel fšr att tvinga tvŒ skikt i olika stŠmmor att vara av sŒ lika lŠngd
som mšjligt.

<layer1> Šr numret fšr det fšrsta skiktet.
<voice1> Šr numret pŒ stŠmman fšr det fšrsta skiktet.
<layer2> Šr numret fšr det andra skiktet.
<voice2> Šr numret pŒ stŠmman fšr det andra skiktet.

Regeln accepterar endast en cell fšr det fšr tillfŠllet kortaste
skiktet som nŠsta cell i lšsningen. Fungerar ocksŒ fšr skikt 0
(taktarterna).

Regeln mŒste kopplas till ingŒngen fšr de bŒda skikten pŒ Òrules->pmcÓ.



Auto doc generation by OpenMusic 6.3 © 2010 IRCAM