Recherche Google
OpenMusic 6 – User ManualOM Objects > OM Score Objects > Classes > Rhythmic Objects
previous pagenext page

Rhythmic Objects

The Voice Object

A voice is a melodico-rythmic line.

Inputs and Outputs

The voice object has six inputs and outputs.

  1. "self" : a voice , measure or list of measures , or a chord-seq .

  2. "tree" : a rhythm tree1.

  3. "chords" : a chord, broadly speaking – chord, list of chords, a list or sub lists of midicents.

  4. "tempo" : speed of a quarter note.

  5. "legato" : an overlapping percentage between two chords, calculated from the second chord's duration.

  6. "ties" : sub lists – one sub list per chord – indicating notes to be tied to notes of the same value, in a next chord.

The combination of inputs programming and score edition allows a complete musical edition of the object.

Programming Rhythm Trees Basics
Ties

Ties are a specific parameter of rhythmic objects. To specified that a pitch must be tied to the next one, enter this pitch in a sub list in the "ties" input.

The rank of tied elements must match the rank of the corresponding chords or notes in the "midic" input. Otherwise, OM won't recognize the elements to be tied.

Detailed Information About Voices Edition

Measure and Group

Groups and measures are complementary modules of the Score class.

They have two inputs and outputs :

  • "self" 
  • "rhythm tree1".

They can also be isolated as distinct rhythmic elements within voice editors.

About Measures and Groups within Voices :
Uses

Groups and measures are used for :

  • programming elementary rhythmic structures, which can be saved as instances or global variables for a subsequent use
  • storing rhythmic structures once they have been extracted from a rhythm tree.
Switching the chords and rhythms of two measures using measure instance boxes.
Switching the chords and rhythms of two measures using measure instance boxes.
Getting Measures

The get-measures function returns a list of measures from a voice .

  1. Rhythm Tree

    A rhythm tree expresses a rhythmic structure as a list. We use the term of "tree" because this structure is alike a tree structure.

    This list has :

    • a duration, or number of measures,

    • a time signature,

    • a list or proportions, or rhythmic values.

    For instance : (1 ((4//4 (1 1 1 1))) means one measure, four beats time signature, four whole notes.

previous pagenext page
About...(c) Ircam - Centre PompidouMade with Scenari