@make_bpm_map()
@make_bpm_map(start:numeric)
@make_bpm_map(start:numeric, stop:numeric)
returns a map where the BPM of the ith event of the score, is associated to i (the keys of the map are the ranks of the events). Called with no arguments, the events considered are all the events in the score.
With start
, only the events whose position in beat is greater than
start
are considered.
If a stop
is specified, all events must have a position in beat
between start
and stop
.
Nota Bene: The numbering of musical events starts at 1
. Grace
notes, i.e. musical event with a bpm of 0
, do not appear in the map
and does not count in the ranking.
For example
NOTE D6 1 event1
NOTE C7 0 event2
NOTE D6 1/2 event3
BPM 30
NOTE C7 1/5
CHORD (D1 A7 Eb7) 1/8 event5
trill (CC6 D7 A7) 1/8 event6
@make_bpm_map()
will return:
MAP{ (1, 60.0), (2, 60.0), (3, 30.0), (4, 30.0), (5, 30.0) }
C7
which does not appear in the map.
See also the Antescofo Score @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