@bach_score()

this function returns a vector of strings. Ecah string decribes a muscal event or a score annotation (_e;g., A BPM specification). These strings are suitable messages for the bach.roll object in Max.

This function can be used to build in bach a piano roll representation of the Antescofo score. The current position can be notified to bach, achieving the animation of the partition during the play.

The antescofo~ object also undestrand the antescofo::bachscore command (or equivalenty the bachscore message). Its only argument is an identifier recv. In response of this command, the description of the score is sent to receivers recv.

For example, the antescofo score:

BPM 72

NOTE A4 1/6  MES1
NOTE C#4 1/6
TRILL ((D4 A4)) 1 mes8
CHORD (A4 F#5) 1/2
NOTE A#5 0
CHORD (-A4 A5) 3/2
MULTI ((-A4 -A5) -> (-A4 G#5)) 1
NOTE A#6 7/2 syncM13

produces the following TAB:

   [  "addmarker 0 () tempo (1/2 72)",
      "addchord (0 (6900 166.667 64) (name MES1) 0)",
      "addchord (166.667 (6100 166.667 64) 0)",
      "addchord (333.333 (6200 1000 64) (6900 1000 64) (name mes8) 0)",
      "addchord (1333.33 (6900 500 64) (7800 500 64) 0)",
      "addchord (1833.33 (8200 0 64) 0)",
      "addchord (1833.33 (-6900 1500 64) (8100 1500 64) 0)",
      "addchord (3333.33 (6900 1000 64) (8000 1000 64) 0)",
      "addchord (4333.33 (9400 3500 64) (name syncM13) 0)"     ]

See also Score Related Functions @bach_score,   @make_bpm_map,   @make_bpm_tab,   @make_duration_map,   @make_duration_tab,   @make_label_bpm,   @make_label_duration,   @make_label_pitches,   @make_label_pos,   @make_pitch_tab,   @make_score_map   @score_tempi   @score_duration    @specified_duration