Skip to content

Commit 1148036

Browse files
committed
test.js can open *.syx
1 parent 4144aa2 commit 1148036

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

javascript/JZZ.midi.SMF.js

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
}
5050
if (arguments[0] instanceof SYX) {
5151
self.type = 0;
52+
self.ppqn = ppqn;
5253
self.push(new MTrk());
5354
for (var i = 0; i < arguments[0].length; i++) self[0].add(0, arguments[0][i]);
5455
return self;

0 commit comments

Comments
 (0)