@make_label_pitches()
@make_label_pitches(start:numeric)
@make_label_pitches(start:numeric, stop:numeric)
NOTE
corresponds to a tab of size 1, and a CHORDS
with n
pitches to a tab of size n. Events with no label do not appear in the
map, as well as grace notes.
Called with no arguments, the events considered are all the events in
the score. With a start
, only the events whose position in beats is
greater than start
are considered. If a stop
is specified, all events
must have a position in beats between start
and stop
.
Examples:
NOTE D6 1 event1
NOTE C7 0 event2
NOTE D6 1/2 event3
NOTE C7 1/5
CHORD (D1 A7 Eb7) 1/8 event5
TRILL (CC6 D7 A7) 1/8 event6
@make_label_pitches
returns:
MAP{ ("event1", TAB[8600.0]),
("event3", TAB[8600.0]),
("event5", TAB[2600.0, 10500.0, 9900.0]),
("event6", TAB[1206.0, 9800.0, 10500.0]) }
See also Score Introspection
[@always_next_event_except_sil_pos] @bach_score @current_event @event_label_position @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 [@next_event_except_sil_pos] [@next_event_with_sil_pos] [@next_sil_pos] @optional_attributes @performance_data @score_duration @score_tempi @specified_duration