-
Notifications
You must be signed in to change notification settings - Fork 36
\break export to MusicXML #97
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
Conversation
Thank you for this pull request! It is a good idea to start with something like this to get familiar with the code and maybe also with the collaboration traditions etc. As per your GSoC proposal you will add a number of such features to increase the MusicXML export's coverage. This is good and we will benefit greatly from this. But be aware that the GSoC project is not meant to exploit you to work on repetitive tasks that others won't do. I suggest that you continue adding features like this until you are really comfortable with the coding etc. and at some point move to something more challenging. (You may at any time get back to this and add something here and there if you have a time window that is too small for more demanding tasks). I'm not familiar with the exporter code, so I can't review the PR in detail (please have a look, @PeterBjuhr). All I can say is that your code looks generally convincing, but I don't know how well it fits into the existing structure and coding style. I did pull your branch and tested it, and I can say that it nearly works. Basically the result is correct, but it should read (PS: LilyPond's |
ly/musicxml/lymus2musxml.py
Outdated
def parse_text(self, ly_text, filename=None): | ||
"""Parse the LilyPond source specified as text. | ||
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.
This file includes a number of whitespace-only changes in the commit, which you should try to avoid. As I describe in frescobaldi/frescobaldi#924 we have the problem that there are many whitespace-only lines in our codebase. It seems you use an editor that automatically removes this upon saving, and while this is generally a good thing (Frescobaldi offers this option too) it triggers "noise" in the commit.
Please configure your editor not to automatically remove such lines.
(This is not meant as criticism. It's a regular issue).
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.
It was something with my editor indeed and I already fixed it.
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.
Thank you. Actually you have to "break" it to make it consistent with our state of the code base ;-) I would really prefer all the code to be without these false-empty lines.
Hi Urs!
That's my plan. I'm just getting familiar with the code and implementing such features is a nice way to do so. I confess I don't have a clear idea about how to improve the MusicXML export yet. I guess it would be great if I could find examples (ly files) where something wrong happens.
It was a typo and I'll fix it. |
Two more tiny comments. When you insert When you have a commit that is related to a tracker item you can use something like Finally, you can insert |
Thanks for the pull request @FelippeRoza and for the review @uliska ! I'm just starting to get back to this but I noticed that there already is a similar PR waiting #89! |
Feature implementation in order to solve #30.