From ftm
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Class ''fmat'' ==
 
== Class ''fmat'' ==
  
Floating point matrix.
+
{{:fmat}}
  
 
== Class ''fvec'' ==
 
== Class ''fvec'' ==
  
Reference to a row or column vector of an fmat.
+
{{:fvec}}
  
 
== Class ''mat'' ==
 
== Class ''mat'' ==
  
Matrix or table of any value.
+
{{:mat}}
  
 +
== Class ''expr'' ==
 +
 +
{{:expr}}
  
 
== Class ''dict'' ==
 
== Class ''dict'' ==
  
Dictionary, or lookup-table, or hash-table, of any values.
+
{{:dict}}
  
  
Line 52: Line 55:
 
[[Category:FAQ]]  
 
[[Category:FAQ]]  
 
[[Category:FTM Documentation]]
 
[[Category:FTM Documentation]]
[[Category:track]]
+
[[Category:track Class]]
[[Category:sequence]]
+
[[Category:sequence Class]]
 +
[[Category:fmat Class]]
 +
[[Category:fvec Class]]
 +
[[Category:mat Class]]
 +
[[Category:expr Class]]
 +
[[Category:ftm.object]]

Latest revision as of 14:57, 22 December 2010

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 expr

A definition of an expression. See the expression help for more info.

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>