Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add DTX support #1

wants to merge 3 commits into from

Conversation

mugabe
Copy link

@mugabe mugabe commented Apr 17, 2018

  • Indexing .dtx files
  • getKeys returns '8K' or '12K' for dtx files depends on channels used

I specified my actual branch for bms dependency, as version was not bumped yet.

Copy link
Member

@dtinth dtinth left a 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'
Copy link
Member

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?

Copy link
Author

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'),
Copy link
Member

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.

@mugabe
Copy link
Author

mugabe commented Apr 18, 2018

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants