Previous Thread
Index
Next Thread
Print Thread
Go To
#806133 04/03/24 03:28 AM
Off-Topic
Joined: Jan 2015
Posts: 1,905
Expert
OP Offline
Expert
Joined: Jan 2015
Posts: 1,905
Following the SongMasterPro thread, there are issues with importing and exporting MusicXML to an from various programs. I have to say thet that doesn't surprise me at all, because MusicXML is pretty convoluted (IMHO) due at least in part to trying to merge both music markup and the convolutions of MIDI into one structure.

The question & thoughts...

Out of curiosity, has anyone tried something like the xml tidy program on this and does it help?
If not, I may explore and see if it does.

I tried it quickly once, but the MusicXML I tried points for the DTD to www.musicxml.org (404), whilst I think it should now point to w3.org, so then I just left it.

I frequently use tidy to sanitise HTML and some XML, but have yet to try it in earnest on MusicXML. It may just report lots of non-compliances frown

Edit: The "Hello, World" example on W3 points to musicxml.org, so maybe it's still just broken.

Edit 2: Apparently it doesn't have to resolve, "it's just a string". Tidy presently doesn't recognise it. That said, the schema for MusicXML 3.1 "contains an invalid "<xs:import" URI that needed patching in 2020, and MusicXML 4.0 needs exactly the same patch today. crazy The Musescore file a parsed with xmllint validates correctly.

Last edited by Gordon Scott; 04/03/24 04:41 AM.

Jazz relative beginner, starting at a much older age than was helpful.
Kawai MP6, Korg M50, Ui24R, Saffire Pro 40.
AVL:MXE Linux; Windows 11; Win8.1: Scarletts
BIAB2022 UltraPAK, Reaper, a bunch of stuff.
Off-Topic
Joined: Jun 2012
Posts: 18,355
Veteran
Offline
Veteran
Joined: Jun 2012
Posts: 18,355
Good points and well articulated, Gordon. Thanks.

I don't know if the full Music XML schema has been published in one consolidated location, so all of the declarations, attributes and tags etc could be 'learned' by parsing it through an application.

I agree that trying to develop a markup language capable of combining so many different music disciplines into one system, is probably challenging.

I'm presuming that 'tidy' and 'xmllint' are Linux items. They sure sound like they are.

Bottom line is that of course it's important that the Music XML support in BIAB works correctly.


BIAB & RB2024 Win.(Audiophile), Sonar Platinum, Cakewalk by Bandlab, Izotope Prod.Bundle, Roland RD-1000, Synthogy Ivory, Kontakt, Focusrite 18i20, KetronSD2, NS40M Monitors, Pioneer Active Monitors, AKG K271 Studio H'phones
Off-Topic
Joined: Jan 2015
Posts: 1,905
Expert
OP Offline
Expert
Joined: Jan 2015
Posts: 1,905
Originally Posted by AudioTrack
I'm presuming that 'tidy' and 'xmllint' are Linux items. They sure sound like they are.
That hadn't occurred to me. Tidy is W3C and originally checked/tidied only HTML. It's available on pretty much every platform.
xmllint is derived from the concept of the lint program originally used to verify C programs, but later derivatives now used to verify many different languages.

As I use them, they are both command-line programs, so maybe will not have been known to put GUI users. xmllint may be a unix/linux tool, though there are Windows versions around. I know not how well they work. In principle they're both pretty much text-processing only, though xmllint may want to open schema files from the Internet.

IIRC there's a GUI Lint, but I find the command line version quicker to use than I imagine a GUI would be. There's an option for it in VisualStudio.

In principle the schema is publicly accessible and should be on musicxml.org or w3.org. It can be downloaded from the latter and should(!) be accessible from either or both, but presently may not be. I suspect most parsers and builders have local copies for performance and robustness. It's supposed to be accessible at the URI in the DOCTYPE statement, but that's musicxml.org/dtds/partwise.dtd and it's not there. partwise.dtd is also now deprecated. (See how messy this all is?).


Jazz relative beginner, starting at a much older age than was helpful.
Kawai MP6, Korg M50, Ui24R, Saffire Pro 40.
AVL:MXE Linux; Windows 11; Win8.1: Scarletts
BIAB2022 UltraPAK, Reaper, a bunch of stuff.
Off-Topic
Joined: Jun 2012
Posts: 18,355
Veteran
Offline
Veteran
Joined: Jun 2012
Posts: 18,355
Quote
(See how messy this all is?).

Yep crazy


BIAB & RB2024 Win.(Audiophile), Sonar Platinum, Cakewalk by Bandlab, Izotope Prod.Bundle, Roland RD-1000, Synthogy Ivory, Kontakt, Focusrite 18i20, KetronSD2, NS40M Monitors, Pioneer Active Monitors, AKG K271 Studio H'phones
Off-Topic
Joined: Jul 2000
Posts: 25,867
Veteran
Offline
Veteran
Joined: Jul 2000
Posts: 25,867
Yep confused

Gordon, thanks for all your work on this. I do intend to get into it with some depth using the programs I have. I was very disappointed there wasn't seamless reading of the complete chord info from Song Master Pro.


BIAB 2024 Win Audiophile. Software: Studio One 6.5 Pro, Swam horns, Acoustica-7, Notion 6; Win 11 Home. Hardware: Intel i9, 32 Gb; Roland Integra-7, Presonus Studio 192, Presonus Faderport 8, Royer 121, Adam Sub8 & Neumann 120 monitors
Off-Topic
Joined: Jan 2010
Posts: 738
Journeyman
Offline
Journeyman
Joined: Jan 2010
Posts: 738

Attached Files (Click to download or enlarge) (Only available when you are logged in)

biab2023(Mac)
Logic Pro X
Off-Topic
Joined: Jan 2015
Posts: 1,905
Expert
OP Offline
Expert
Joined: Jan 2015
Posts: 1,905
One would like to think that's definitive, but that's exactly the same tutorial with the "Hello, World" example referring to the broken musicxml.org for the deprecated musicxml.dtd. Sigh.

Originally Posted by Matt Finley
I was very disappointed there wasn't seamless reading of the complete chord info from Song Master Pro.
Yes it's a shame. It's very easy to generate faulty XML, though, and it's very easy to parse some XML successfully and other XML wrongly.

I haven't done much work yet; I seem to have spent much of my time trying to find out precisely how/where one should access the schema. frown What tools do you use, please?

I was following the SongMasterPro thread because I was thinking to get it, even though it seems to go rather excessive when identifying chords in jazz. I guess I should just do it.


Jazz relative beginner, starting at a much older age than was helpful.
Kawai MP6, Korg M50, Ui24R, Saffire Pro 40.
AVL:MXE Linux; Windows 11; Win8.1: Scarletts
BIAB2022 UltraPAK, Reaper, a bunch of stuff.
Off-Topic
Joined: Jul 2000
Posts: 25,867
Veteran
Offline
Veteran
Joined: Jul 2000
Posts: 25,867
I use several programs. I'll give more detail when I have more time, but I just now ran a quick test. I exported a big band score to Music XML from Presonus Notion 6, my notation program. BIAB imported only the root and, where present, the root and the slash root. No major, minor, 7, etc nor upper extensions.

Musescore 4 imported the same file and gave me all the correct chords. There was one annoying error: if there were two chords per measure, Musescore showed them both in the first beat, one above the other. But I could at least see the right chords and fix them into the correct place.

So, just from this dead simple 30-second test, I know there is at least one serious problem importing Music XML into BIAB.

By the way, I said this in some thread on the subject, but I've found Musescore to be the most helpful in reading Music XML. Some programs just crash if there is an error in the code. Musescore acts like a compiler; and it will give you an error message where one is detected.


BIAB 2024 Win Audiophile. Software: Studio One 6.5 Pro, Swam horns, Acoustica-7, Notion 6; Win 11 Home. Hardware: Intel i9, 32 Gb; Roland Integra-7, Presonus Studio 192, Presonus Faderport 8, Royer 121, Adam Sub8 & Neumann 120 monitors
Off-Topic
Joined: Sep 2013
Posts: 249
S
Apprentice
Offline
Apprentice
S
Joined: Sep 2013
Posts: 249
I had to experiment with the BIAB load special settings: ”BB song bar offset” and ”Number of bars in XML to skip” in order for the chords to align correctly in BIAB. It seems to depend on if there is a non complete bar at the beginning of the song. The setting that worked for me was ”BB song bar offset=2”, ”Number of bars in XML to skip=1” and the first bar was only 1 beat (in the original song from SongMaster Pro via MuseScore). The file that I tested had chords spread over various beats 1,2,3,4 and they seemed to align correctly. It will miss the first bar with only one beat.

---EDIT
It seems to work fine with the default settings as well ie ”BB song bar offset=2”, ”Number of bars in XML to skip=0”. Only thing is that the 3 first beats will get an C chord since my song only begin with one beat in the first bar.

Last edited by shlind; 04/04/24 03:40 AM.
Off-Topic
Joined: Jul 2000
Posts: 25,867
Veteran
Offline
Veteran
Joined: Jul 2000
Posts: 25,867
But did BIAB import anything about the chords beside the letter of the root of the chord?


BIAB 2024 Win Audiophile. Software: Studio One 6.5 Pro, Swam horns, Acoustica-7, Notion 6; Win 11 Home. Hardware: Intel i9, 32 Gb; Roland Integra-7, Presonus Studio 192, Presonus Faderport 8, Royer 121, Adam Sub8 & Neumann 120 monitors
Off-Topic
Joined: Sep 2013
Posts: 249
S
Apprentice
Offline
Apprentice
S
Joined: Sep 2013
Posts: 249
Yes all chord extensions m, sus, 7, etc.
But this was after I imported the SongMaster Pro MusicXML file into MuseScore and within there I copied it over again to a new empty score in MuseScore and from there I exported it as a new MusicXML which I then loaded into BIAB it worked fine. But I had to copy over the imported score into a new score and from there export a new MusicXML (see posting in SongMaster Pro thread).

https://www.pgmusic.com/forums/ubbthreads.php?ubb=showflat&Number=779013#Post779013

EDIT---
I have added screen shots from SongMaster Pro, MuseScore and BIAB in the SongMaster Pro thread.

Last edited by shlind; 04/04/24 03:54 AM.
Off-Topic
Joined: Oct 2008
Posts: 730
Journeyman
Offline
Journeyman
Joined: Oct 2008
Posts: 730
Originally Posted by shlind
Yes all chord extensions m, sus, 7, etc.
But this was after I imported the SongMaster Pro MusicXML file into MuseScore and within there I copied it over again to a new empty score in MuseScore and from there I exported it as a new MusicXML which I then loaded into BIAB it worked fine. But I had to copy over the imported score into a new score and from there export a new MusicXML (see posting in SongMaster Pro thread).

https://www.pgmusic.com/forums/ubbthreads.php?ubb=showflat&Number=779013#Post779013

EDIT---
I have added screen shots from SongMaster Pro, MuseScore and BIAB in the SongMaster Pro thread.

a simple 12 step process!! LOL.


My wife asked if I had seen the dog bowl. I told her I didn't even know he could.
Off-Topic
Joined: Sep 2013
Posts: 249
S
Apprentice
Offline
Apprentice
S
Joined: Sep 2013
Posts: 249
Yes it is heavy! I got it to 5 steps (ie 3 extra steps compared from importing it directly into BIAB).
Export from SongMaster Pro, Import to MuseScore, Copy score to new score within MuseScore, Export from MuseScore, Import into BIAB (it might be faster to type the chords in manually). The screen shots were only to show that it works loading an MusicXML into BIAB if the file is in a specific format
(But it might be useful when trying to analyze what is going wrong when importing to BIAB, it is quite easy to compare the two XML files and see what differs from the one that is working compared to the one that is not working).

Previous Thread
Next Thread
Go To

Link Copied to Clipboard
ChatPG

Ask sales and support questions about Band-in-a-Box using natural language.

ChatPG's knowledge base includes the full Band-in-a-Box User Manual and sales information from the website.

PG Music News
Update Your PowerTracks Pro Audio 2024 Today!

Add updated printing options, enhanced tracks settings, smoother use of MGU and SGU (BB files) within PowerTracks, and more with the latest PowerTracks Pro Audio 2024 update!

Learn more about this free update for PowerTracks Pro Audio & download it at www.pgmusic.com/support_windows_pt.htm#2024_5

The Newest RealBand 2024 Update is Here!

The newest RealBand 2024 Build 5 update is now available!

Download and install this to your RealBand 2024 for updated print options, streamlined loading and saving of .SGU & MGU (BB) files, and to add a number of program adjustments that address user-reported bugs and concerns.

This free update is available to all RealBand 2024 users. To learn more about this update and download it, head to www.pgmusic.com/support.realband.htm#20245

The Band-in-a-Box® Flash Drive Backup Option

Today (April 5) is National Flash Drive Day!

Did you know... not only can you download your Band-in-a-Box® Pro, MegaPAK, or PlusPAK purchase - you can also choose to add a flash drive backup copy with the installation files for only $15? It even comes with a Band-in-a-Box® keychain!

For the larger Band-in-a-Box® packages (UltraPAK, UltraPAK+, Audiophile Edition), the hard drive backup copy is available for only $25. This will include a preinstalled and ready to use program, along with your installation files.

Backup copies are offered during the checkout process on our website.

Already purchased your e-delivery version, and now you wish you had a backup copy? It's not too late! If your purchase was for the current version of Band-in-a-Box®, you can still reach out to our team directly to place your backup copy order!

Note: the Band-in-a-Box® keychain is only included with flash drive backup copies, and cannot be purchased separately.

Handy flash drive tip: Always try plugging in a USB device the wrong way first? If your flash drive (or other USB plug) doesn't have a symbol to indicate which way is up, look for the side with a seam on the metal connector (it only has a line across one side) - that's the side that either faces down or to the left, depending on your port placement.

Update your Band-in-a-Box® 2024 for Windows® Today!

Update your Band-in-a-Box® 2024 for Windows for free with build 1111!

With this update, there's more control when saving images from the Print Preview window, we've added defaults to the MultiPicker for sorting and font size, updated printing options, updated RealTracks and other content, and addressed user-reported issues with the StylePicker, MIDI Soloists, key signature changes, and more!

Learn more about this free update for Band-in-a-Box® 2024 for Windows at www.pgmusic.com/support_windowsupdates.htm#1111

Band-in-a-Box® 2024 Review: 4.75 out of 5 Stars!

If you're looking for a in-depth review of the newest Band-in-a-Box® 2024 for Windows version, you'll definitely find it with Sound-Guy's latest review, Band-in-a-Box® 2024 for Windows Review: Incredible new capabilities to experiment, compose, arrange and mix songs.

A few excerpts:
"The Tracks view is possibly the single most powerful addition in 2024 and opens up a new way to edit and generate accompaniments. Combined with the new MultiPicker Library Window, it makes BIAB nearly perfect as an 'intelligent' composer/arranger program."

"MIDI SuperTracks partial generation showing six variations – each time the section is generated it can be instantly auditioned, re-generated or backed out to a previous generation – and you can do this with any track type. This is MAJOR! This takes musical experimentation and honing an arrangement to a new level, and faster than ever."

"Band in a Box continues to be an expansive musical tool-set for both novice and experienced musicians to experiment, compose, arrange and mix songs, as well as an extensive educational resource. It is huge, with hundreds of functions, more than any one person is likely to ever use. Yet, so is any DAW that I have used. BIAB can do some things that no DAW does, and this year BIAB has more DAW-like functions than ever."

Convenient Ways to Listen to Band-in-a-Box® Songs Created by Program Users!

The User Showcase Forum is an excellent place to share your Band-in-a-Box® songs and listen to songs other program users are creating!

There are other places you can listen to these songs too! Visit our User Showcase page to sort by genre, artist (forum name), song title, and date - each listing will direct you to the forum post for that song.

If you'd rather listen to these songs in one place, head to our Band-in-a-Box® Radio, where you'll have the option to select the genre playlist for your listening pleasure. This page has SoundCloud built in, so it won't redirect you. We've also added the link to the Artists SoundCloud page here, and a link to their forum post.

We hope you find some inspiration from this amazing collection of User Showcase Songs!

Congratulations to the 2023 User Showcase Award Winners!

We've just announced the 2023 User Showcase Award Winners!

There are 45 winners, each receiving a Band-in-a-Box 2024 UltraPAK! Read the official announcement to see if you've won.

Our User Showcase Forum receives more than 50 posts per day, with people sharing their Band-in-a-Box songs and providing feedback for other songs posted.

Thank you to everyone who has contributed!

Forum Statistics
Forums66
Topics81,612
Posts735,103
Members38,516
Most Online2,537
Jan 19th, 2020
Newest Members
TonyInManchester, jslynbrrs01, amdwilsns01, Juan Jose, BroDon
38,515 Registered Users
Top Posters(30 Days)
MarioD 185
DC Ron 101
dcuny 88
DrDan 74
Today's Birthdays
brijb20, Erik S. te M.
Powered by UBB.threads™ PHP Forum Software 7.7.5