NinSheetMusic Forums

NinSheetMusic => Help! => Topic started by: Trasdegi on July 14, 2018, 05:05:04 PM

Title: A Help to MuseScore Formatting
Post by: Trasdegi on July 14, 2018, 05:05:04 PM
I converted NSM's template with a couple edits to MuseScore, and I made a program to fix some formatting things that are lost in the MusicXML conversion. I thought it could be useful, so I decided to share them here:

Template:

[1.0] (http://bit.ly/Template-1-0)[1.1] (http://bit.ly/Template-1-1)[1.2] (http://bit.ly/Template-1-2)[1.3] (http://bit.ly/Template-1-3)[1.4] (http://bit.ly/Template-1-4)


XML Editor:

[1.0] (http://bit.ly/MusXMLEditor-1-0)[1.1] (http://bit.ly/MusXMLEditor-1-1)[1.2] (http://bit.ly/MusXMLEditor-1-2)[1.3] (http://bit.ly/MusXMLEditor-1-3)

How to use this:

1. Download the template
2. Copy/paste the music/composer/arranger/copyright (File > Score Properties...)/...
3. Export as MusicXml
4. Download the program
5. Drag-and-drop the .xml on the .exe
6. Drag-and-drop the xml in Finale Notepad.

What the program does:
- Add page numbers
- Add measure numbers
- Add second page titles

(N.B: This program only work for 1-piano sheets.)
Title: Re: An Help to MuseScore Formatting
Post by: Olimar12345 on July 14, 2018, 05:36:45 PM
This is a GREAT way to help accommodate musescore users! Great idea, Tras! Someone sticky this or something!
Title: Re: An Help to MuseScore Formatting
Post by: Dudeman on July 14, 2018, 06:32:34 PM
Stickied because !!!!!! Tras, you've gone above and beyond with this!

(I unfortunately can't test it because I'm stuck on a Mac but I trust that it functions :P)
Title: Re: An Help to MuseScore Formatting
Post by: PlayfulPiano on July 14, 2018, 08:29:55 PM
jesus christ you're insane


So does this go musescore -> finale or finale -> musescore? Or both?
Title: Re: An Help to MuseScore Formatting
Post by: Trasdegi on July 14, 2018, 08:48:43 PM
Musescore -> finale, and it just adds measures numbers + removes pno. markings in an xml file. Source code is only 20 lines, so it's not that insane :)
Title: Re: An Help to MuseScore Formatting
Post by: WaluigiTime64 on July 14, 2018, 11:25:14 PM
If you're going to further update this program, I'd suggest immediately focusing on subtitles on each page, copyright information, and page numbers, because those (besides the measure numbers you already added in) are the only things a MuseScore user can't get in the MUS that's required for formatting.
The uh... "Pno." thing could already be removed without any need for a program, btw.

Those'd be hard though, because the way MuseScore sets up those bits of text is different from Finale. Impressive what you've done so far regardless.
Title: Re: An Help to MuseScore Formatting
Post by: Maelstrom on July 14, 2018, 11:35:01 PM
"An help"
Title: Re: An Help to MuseScore Formatting
Post by: LeviR.star on July 14, 2018, 11:52:24 PM
Probably a typo
Title: Re: An Help to MuseScore Formatting
Post by: Dudeman on July 15, 2018, 12:43:55 AM
Given that Tras's native language is French, I'm assuming the h in help is supposed to be silent
Title: Re: An Help to MuseScore Formatting
Post by: AwesomeYears on July 15, 2018, 02:34:43 AM
Spoiler
(https://i.imgur.com/l7QGOSI.png)
[close]

I've got this problem when trying to run the exe.
Title: Re: An Help to MuseScore Formatting
Post by: Trasdegi on July 15, 2018, 04:46:49 PM
"An help"

Yeah, that's one of the (too many) mistakes I usually make.

If you're going to further update this program, I'd suggest immediately focusing on subtitles on each page, copyright information, and page numbers, because those (besides the measure numbers you already added in) are the only things a MuseScore user can't get in the MUS that's required for formatting.
The uh... "Pno." thing could already be removed without any need for a program, btw.

Those'd be hard though, because the way MuseScore sets up those bits of text is different from Finale. Impressive what you've done so far regardless.

Yeah, that probably will be harder, but I'll try.

Spoiler
(https://i.imgur.com/l7QGOSI.png)
[close]

I've got this problem when trying to run the exe.


That's because you're supposed to drag-and-drop a .xml on the exe, not double-click it.
Title: Re: An Help to MuseScore Formatting
Post by: Trasdegi on July 15, 2018, 07:20:21 PM
V 1.1 is here!

Changelog:
-Error message when you execute the .exe without a file
-Now adds copyright on all pages
-Now puts subtitles on all but the first page
Title: Re: A Help to MuseScore Formatting
Post by: Trasdegi on July 15, 2018, 10:36:56 PM
V 1.2 is here!

Changelog:
-This version adds page numbers. However, their positions are hardcoded in the script (I copy-pasted (with some minor edits) the page numbers thing from another xml exported by FInale), so they won't always be accurate. However, you can move them in Finale Notepad, so that shouldn't be a problem.
Title: Re: An Help to MuseScore Formatting
Post by: Latios212 on July 16, 2018, 03:26:17 AM
This is great! Thanks for the effort to make the Musescore-Finale transition easier.
Title: Re: An Help to MuseScore Formatting
Post by: BrainyLucario on July 16, 2018, 04:29:55 AM
Whenever I convert my sheets from musescore to finale I save it as an xml document, open it in finale, get the file template for our sheets and select all the measures and copy and paste it over. I don’t know if this is easier or not but it works for me
Title: Re: An Help to MuseScore Formatting
Post by: WaluigiTime64 on July 16, 2018, 06:11:01 AM
The only problem with that method is that it pretty much erases any formatting made in MuseScore, particularly measure and system distribution. It also comes with a lack of customisation for said formatting.
Title: Re: An Help to MuseScore Formatting
Post by: Dekkadeci on August 07, 2018, 05:20:04 AM
Trying version 1.2 of the XML editor--how long am I supposed to wait before I can use the finished XML? I end up with this for several minutes after dragging the .xml onto the .exe--pressing the enter key results in the program closing and no files seemingly being modified:
https://drive.google.com/open?id=11K-X1rttAQHg5KPuNRlFUbyN7V_yN5QH

Is this program supposed to work near-instantly or not? Am I using this program wrong?

I got the same results when I changed the extension of my file to .xml instead of .musicxml.

(My file structure has been censored for privacy reasons.)

EDIT: OK, dragged the .xml directly onto the .exe instead of opening the .exe first and finally got results. I'll still need to adjust the file afterwards, though--the tempo marking is messed up.
Title: Re: A Help to MuseScore Formatting
Post by: Trasdegi on September 03, 2018, 09:16:00 PM
Here's a new version of the template, with updated margins.

[1.1] (http://bit.ly/Template-1-1)
Title: Re: A Help to MuseScore Formatting
Post by: Trasdegi on September 06, 2018, 08:10:59 PM
Here's a new version (again) of the template, which shows the "Piano" in the musescore file.

[1.2] (http://bit.ly/Template-1-2)
Title: Re: A Help to MuseScore Formatting
Post by: FiveNineSquared on September 08, 2018, 05:39:55 PM
Oooh! This whole thing is pretty useful; thanks!
I don't think this's possible with xml, but importing frames from Musescore would be quite handy.
Title: Re: A Help to MuseScore Formatting
Post by: Trasdegi on September 18, 2018, 05:00:47 PM
Corrected a mistake: now the editor doesn't add copyright markings on every page anymore.

[1.3] (http://bit.ly/MusXMLEditor-1-3)

Title: Re: A Help to MuseScore Formatting
Post by: Trasdegi on September 23, 2018, 09:46:27 AM
Here's a template update, which just adds https.

[1.3] (http://bit.ly/Template-1-3)
Title: Re: A Help to MuseScore Formatting
Post by: AwesomeYears on September 26, 2018, 07:44:06 AM
I've very slightly edited the template so that it sounds articulations such as staccatos and sforzandos correctly as the original template didn't playback them.

[1.3 Edit] (https://www.dropbox.com/s/vk1fbcmp953gd0l/Template_1.3.mscz?dl=0)
Title: Re: A Help to MuseScore Formatting
Post by: Trasdegi on September 26, 2018, 09:19:35 PM
Thanks, that's one thing I didn't think of. I put it in the dropbox folder with the others.

[1.4] (http://bit.ly/Template-1-4)
Title: Re: A Help to MuseScore Formatting
Post by: Splatoon Inkling on February 27, 2019, 11:55:58 PM
NVM, I decided to use Finale Notepad, and it solved the problem.