Skip to content

Add DTX support#1

Open
mugabe wants to merge 3 commits into
bemusic:masterfrom
drummaniac:dtx-support
Open

Add DTX support#1
mugabe wants to merge 3 commits into
bemusic:masterfrom
drummaniac:dtx-support

Conversation

@mugabe
Copy link
Copy Markdown

@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
Copy Markdown
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.

Comment thread keys.js Outdated
return '12K'
}
else {
return '8K'
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread index.js Outdated
notes: notes,
timing: timing,
scratch: false,
keys: getKeys(chart, 'dtx'),
Copy link
Copy Markdown
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
Copy Markdown
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