@make_label_bpm()
@make_label_bpm(start:numeric)
@make_label_bpm(start:numeric, stop:numeric)
returns a map associating the event labels to the BPM at this point in the score. Events with no label or with a zero duration (grace note) do not appear in the map.
Called with no arguments, the events considered are all the events in
the score. With start, only the events whose position (in beats) is
greater than start are considered. If a stop is also specified, all
events must have a position between start and stop.
For example, with this score:
NOTE D6 1 event1
NOTE C7 0 event2
BPM 120
NOTE D6 2 event3
NOTE C7 2
CHORD (D1 A7 Eb7) 4 event5
BPM 30
trill (CC6 D7 A7) 2 event6
the call @make_label_bpm() returns
MAP{ ("event1", 1.0), ("event3", 0.5), ("event5", 0.5), ("event6", 2.0) }
BEWARE: Contrary to the functions @make_bpm_tab and @make_bpm_tab and despite the function name, the value associated to the key in the returned map is not in BPM but is second per beat, i.e. \frac{60}{\text{bpm}}. This is expected to change.
See also Score Introspection
[@always_next_event_except_sil_pos] @bach_score @current_event @event_label_position @make_all_events_tab @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