From ftm
Jump to: navigation, search
(Class ''track'')
(events)
Line 26: Line 26:
 
Each ''scoob track'' consists of four sequences:
 
Each ''scoob track'' consists of four sequences:
  
# the events sequence of scoobs (score objects).  This one is iterated over by default
+
# the events sequence of scoobs (score objects).  This one is iterated over by default.
 +
#; access: any access method is by default to the event sequence.  To get that, use: <tt> ($mytrack events) </tt>
 +
#; iteration: <tt> [ftm.iter] </tt> or <tt> [ftm.iter @mode events] </tt>
 +
#:
 
# the tempo sequence contains float values with the current tempo in bpm.   
 
# the tempo sequence contains float values with the current tempo in bpm.   
 
#; access: <tt> ($mytrack tempo) </tt>  
 
#; access: <tt> ($mytrack tempo) </tt>  

Revision as of 20:17, 13 March 2008

Class fmat

Floating point matrix.

Class fvec

Reference to a row or column vector of an fmat.

Class mat

Matrix or table of any value.


Class dict

Dictionary, or lookup-table, or hash-table, of any values.


Class track

A track represents a time-tagged sequence of events.


About tracks, sequences, markers, bars, metrics and tempo

Each scoob track consists of four sequences:

  1. the events sequence of scoobs (score objects). This one is iterated over by default.
    access
    any access method is by default to the event sequence. To get that, use: ($mytrack events)
    iteration
    [ftm.iter] or [ftm.iter @mode events]
  2. the tempo sequence contains float values with the current tempo in bpm.
    access
    ($mytrack tempo)
    iteration
    [ftm.iter @mode tempo]
  3. the metric sequence contains metric events for bars and metric signature changes
    access
    ($mytrack metric)
    iteration
    [ftm.iter @mode metric]
    properties 
    num 
    bar number
    meter 
    metric signature as string, e.g. 4/4
  4. the marker sequence contains marker events that can bear any property, but above all cue, label (N.B.: there is also a separate cue property of the scoob score object)
    access
    ($mytrack markers)
    iteration
    [ftm.iter @mode markers]
    properties 
    cue 
    cue number
    label 
    text
    <any> 
    <any type>