From ftm
Jump to: navigation, search
 
(6 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}}
  
  
 
== Class ''track'' ==
 
== Class ''track'' ==
  
A track contains a time-tagged sequence of events.
+
A track represents a time-tagged sequence of events.
  
  
 
=== About tracks, sequences, markers, bars, metrics and tempo ===
 
=== About tracks, sequences, markers, bars, metrics and tempo ===
  
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>  
Line 45: Line 51:
 
#:; label : text
 
#:; label : text
 
#:; <any> : <any type>
 
#:; <any> : <any type>
 +
 +
 +
[[Category:FAQ]]
 +
[[Category:FTM Documentation]]
 +
[[Category:track Class]]
 +
[[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>