Skip to content

Commit ce763f5

Browse files
committed
fix bug in performance note array from score
1 parent d74924f commit ce763f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

partitura/utils/music.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2968,7 +2968,7 @@ def performance_notearray_from_score_notearray(
29682968
)
29692969

29702970
p_onsets = np.r_[0, np.cumsum(iois * bp[:-1])]
2971-
pnote_array["duration_sec"] = bp_duration * snote_array["duration_beat"]
2971+
pnote_array["duration_sec"] = bp_duration
29722972

29732973
else:
29742974
# convert bpm to beat period

0 commit comments

Comments
 (0)