GET-RHYTHM-ANY-LAYER

[GENERIC-FUNCTION]


OMRC
Function Reference
ARGUMENTS:
  - indexx index  
  - x search-var  
  - layer nr  
  - voice nr  

Description:

Get a rhythm that occurs within the timeframe for the current instanced variable in any layer and voice.
This is not similar to a rhythm cell, since parts of one or several
cells might occur within the timeframe. If no rhythm exist yet, nil
will be returned.

<x> is the current variable. It should be connected to the second input
inside a user rule patch.
<indexx> is the index for the current variable (index is used internal
by the search engine). It should be connected to the first input inside
a user rule patch.
<layer> is the layer number for the layer where the rhythm is.
<voice> is the voice number for the voice where the rhythm is.
--------------------------
HŠmta en rytm som fšrekommer under den aktuella instancierade variabelns
tidsrymd i vilket skikt och vilken stŠmma som helst. Detta Šr inte samma
sak som en rytmcell, eftersom delar av en eller flera celler kan fšrekomma
inom tidsrymden. Om ingen rytm finns Šnnu returneras nil.

<x> Šr den aktuella variabeln. Den ska ansutas till den andra ingŒngen
inuti en patch fšr en anvŠndardefinierad regel.
<indexx> Šr index fšr den aktuella variabeln (index anvŠnds internt av
sškmotorn). Den ska ansutas till den fšrsta ingŒngen inuti en patch fšr
en anvŠndardefinierad regel.
<layer> Šr numret fšr det skikt dŠr rytmen finns.
<voice> Šr numret fšr det stŠmma dŠr rytmen finns.



Auto doc generation by OpenMusic 6.3 © 2010 IRCAM