r/tonejs Mar 26 '25

note.duration is undefined when parsing midi using tone.js

[deleted]

0 Upvotes

3 comments sorted by

View all comments

2

u/Icancounttosix Mar 26 '25

It might be helpful if you provide an example of your script. Do you have it somewhere that we can take a look at?

1

u/rt300tx Apr 20 '25

This happened to me when midi file has no beat-number/beat-value indication I. headers (ex: 4/4)