-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DTX support #1
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for PR, here is some preliminary review.
keys.js
Outdated
return '12K' | ||
} | ||
else { | ||
return '8K' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About key mode, since these represent drums rather than keys, should they be named 12D
/8D
, drums8
/drums12
, or DTX
/DTXG
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Will change to 12D/8D.
index.js
Outdated
notes: notes, | ||
timing: timing, | ||
scratch: false, | ||
keys: getKeys(chart, 'dtx'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since getKeys
function has potential to grow, may be better to use named parameter: getKeys(chart, { format: 'dtx' })
, like bms-js.
Done |
I specified my actual branch for bms dependency, as version was not bumped yet.