-
Notifications
You must be signed in to change notification settings - Fork 202
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
Support Guitar Pro 7 track volume #445
Support Guitar Pro 7 track volume #445
Conversation
Can you please first open an issue describing in detail what is the missing feature. It is not really comfortable to just get some code provided without deeper insight what you're trying to solve. |
Sorry, this is the first time I contribute something on Github. Also, am I correct to assume that the web check error is due to the test expecting a different volume than set in Guitar Pro? Which gets imported correctly now from the grace-beats.gp. |
@jordanske That's fine, thanks for creating the issue describing the bug you're solving. 😉 The failing tests rather indicate that some test expectations need also to be adapted. The old code will "wrongly" keep the default volume which is checked in |
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.
The change looks good in general. I added one small remark on simplifying the parsing of the channel strip parameters. Could you ensure (like described above) that the tests are updated with the right new values? Also it would be great if you can add some dedicated test to this new feature. e.g. One new testfile with multiple tracks having different volumes, and then a new test checking the expected volumes.
… testfile for track volume
I simplified the parser code, and fixed the Grace Beats test. Should I make a new pull request (and a new issue) for importing balance values, or can I implement it in this one? |
I would recommend adding the balance information directly as part of this PR. I guess it is just one of these parameters in the list so it should be fairly straight forward without big impact to add it here. |
I added the balance and also made a new test for it. |
Thanks a lot for this contribution 😃 |
Awesome! |
Added support for importing the track volumes from Guitar Pro 7 file format.