Skip to content

Commit 3a279d9

Browse files
authored
Merge pull request #490 from laurenceyoon/bug/beat-multiplied-double
fix bug in performance note array from score
2 parents d74924f + ce763f5 commit 3a279d9

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)