-
Notifications
You must be signed in to change notification settings - Fork 186
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
Toolkit methods getHumdrum and getHumdrumFile is not correctly named #3827
Comments
I am thinking about this: The output of |
OK; what is |
Yes, that is something to check related to names of output functions (these were all added 8 years ago, so I will have to read the code to see what they do and how to normalized their names). |
|
Here is a schematic of import of Humdrum into verovio (names of variable/functions may be approximate): I need access to the intermediate Humdrum data after it has been transformed and before it is converted to MEI. In this case For conversion of MEI to Humdrum, the schematic is (approximately, but likely): This is the case where it can be renamed appropriately to Here is the mei2hum converter: https://github.com/craigsapp/humlib/blob/master/src/tool-mei2hum.cpp |
OK. My understanding would be that we can:
Does it sound right? |
Yes that sounds about right. |
The
get*
methods tend to return a value from the internal state of the toolkit, while therender*
methods will render the toolkit data to a file. SogetHumdrumFile(filename: str) -> bool
should probably be renamed torenderToHumdrumFile(filename: str) -> bool
to match.Additionally,
getHumdrum() -> str
should probably be renamedrenderToHumdrum() -> str
The text was updated successfully, but these errors were encountered: