Previous Thread
Index
Next Thread
Print Thread
Go To
#806133 04/03/24 03:28 AM
Off-Topic
Joined: Jan 2015
Posts: 2,662
Veteran
OP Offline
Veteran
Joined: Jan 2015
Posts: 2,662
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.
AVL:MXE Linux; Windows 11
BIAB2026 Audiophile, a bunch of other software.
Kawai MP6, Ui24R, Focusrite Saffire Pro40 and Scarletts
.
Off-Topic
Joined: Jun 2012
Posts: 21,093
Veteran
Offline
Veteran
Joined: Jun 2012
Posts: 21,093
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 & RB2026 Win.(Audiophile), Windows 10 Pro & Windows 11, Cakewalk Bandlab, Izotope Prod.Bundle, Roland RD-1000, Synthogy Ivory, Session Keys Grand S & Electric R, Kontakt, Focusrite 18i20, KetronSD2, NS40M, Pioneer Active Monitors.
Off-Topic
Joined: Jan 2015
Posts: 2,662
Veteran
OP Offline
Veteran
Joined: Jan 2015
Posts: 2,662
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.
AVL:MXE Linux; Windows 11
BIAB2026 Audiophile, a bunch of other software.
Kawai MP6, Ui24R, Focusrite Saffire Pro40 and Scarletts
.
Off-Topic
Joined: Jun 2012
Posts: 21,093
Veteran
Offline
Veteran
Joined: Jun 2012
Posts: 21,093
Quote
(See how messy this all is?).

Yep crazy


BIAB & RB2026 Win.(Audiophile), Windows 10 Pro & Windows 11, Cakewalk Bandlab, Izotope Prod.Bundle, Roland RD-1000, Synthogy Ivory, Session Keys Grand S & Electric R, Kontakt, Focusrite 18i20, KetronSD2, NS40M, Pioneer Active Monitors.
Off-Topic
Joined: Jul 2000
Posts: 27,566
Veteran
Offline
Veteran
Joined: Jul 2000
Posts: 27,566
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 2026 Win Audiophile. Software: Fender Studio One 8, Swam horns, Acoustica-7, Notion 6, Song Master Pro, Win 11 Home. Hardware: Intel i9, 32 Gb; Fender Quantom HD8 & Faderport 8, Royer 121, Adam Sub8 & Neumann 120 monitors.
Off-Topic
Joined: Jan 2010
Posts: 892
Expert
Offline
Expert
Joined: Jan 2010
Posts: 892

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

biab2026(Mac) Latest Build
Mac OS (Latest)
Apple Mac Mini M2 pro 32GB Ram
Logic Pro (latest or pretty close)
Blue and White Sea Star
Off-Topic
Joined: Jan 2015
Posts: 2,662
Veteran
OP Offline
Veteran
Joined: Jan 2015
Posts: 2,662
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.
AVL:MXE Linux; Windows 11
BIAB2026 Audiophile, a bunch of other software.
Kawai MP6, Ui24R, Focusrite Saffire Pro40 and Scarletts
.
Off-Topic
Joined: Jul 2000
Posts: 27,566
Veteran
Offline
Veteran
Joined: Jul 2000
Posts: 27,566
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 2026 Win Audiophile. Software: Fender Studio One 8, Swam horns, Acoustica-7, Notion 6, Song Master Pro, Win 11 Home. Hardware: Intel i9, 32 Gb; Fender Quantom HD8 & Faderport 8, Royer 121, Adam Sub8 & Neumann 120 monitors.
Off-Topic
Joined: Sep 2013
Posts: 602
S
Journeyman
Offline
Journeyman
S
Joined: Sep 2013
Posts: 602
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.

BIAB 2026, Studio Pro 8, Song Master Pro, Win11 Home. i7-9700K CPU, 32GB, ESI MAYA44eX, ZOOM UAC-2, Guitar Pro 8, Transcribe, (EZKeys2, EZD3, SD3, EZBass, EZMix3)
Amateur: fiddle, guitar, vocal, beginner on bass.
Off-Topic
Joined: Jul 2000
Posts: 27,566
Veteran
Offline
Veteran
Joined: Jul 2000
Posts: 27,566
But did BIAB import anything about the chords beside the letter of the root of the chord?


BIAB 2026 Win Audiophile. Software: Fender Studio One 8, Swam horns, Acoustica-7, Notion 6, Song Master Pro, Win 11 Home. Hardware: Intel i9, 32 Gb; Fender Quantom HD8 & Faderport 8, Royer 121, Adam Sub8 & Neumann 120 monitors.
Off-Topic
Joined: Sep 2013
Posts: 602
S
Journeyman
Offline
Journeyman
S
Joined: Sep 2013
Posts: 602
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.

BIAB 2026, Studio Pro 8, Song Master Pro, Win11 Home. i7-9700K CPU, 32GB, ESI MAYA44eX, ZOOM UAC-2, Guitar Pro 8, Transcribe, (EZKeys2, EZD3, SD3, EZBass, EZMix3)
Amateur: fiddle, guitar, vocal, beginner on bass.
Off-Topic
Joined: Oct 2008
Posts: 734
Journeyman
Offline
Journeyman
Joined: Oct 2008
Posts: 734
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: 602
S
Journeyman
Offline
Journeyman
S
Joined: Sep 2013
Posts: 602
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).


BIAB 2026, Studio Pro 8, Song Master Pro, Win11 Home. i7-9700K CPU, 32GB, ESI MAYA44eX, ZOOM UAC-2, Guitar Pro 8, Transcribe, (EZKeys2, EZD3, SD3, EZBass, EZMix3)
Amateur: fiddle, guitar, vocal, beginner on bass.
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
XPro & Xtra Styles PAK Sets On Sale Now - Until May 15, 2026!

All of our XPro Styles PAKs and Xtra Styles PAKs are on sale until May 15th, 2026!

It's the perfect time to expand your Band-in-a-Box® style library with XPro and Xtra Styles PAKs. These additional styles for Band-in-a-Box® offer a wide range of genres designed to fit seamlessly into your projects. Each style is professionally arranged and mixed, helping enhance your songs while saving you time.

What are XPro Styles and Xtra Styles PAKs?

XPro Styles PAKs are styles that work with any version (Pro, MegaPAK, UltraPAK, UltraPAK+, or Audiophile Edition) of Band-in-a-Box® 2025 (or higher). XPro Styles PAKS 1-10 includes 1,000 styles!

Xtra Styles PAKs are styles that work with the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box® 2025 (or higher). Xtra Styles PAKs 1-21 includes 3,700 styles (and 35 MIDI styles)!

The XPro & Xtra Styles PAKs are not included in any Band-in-a-Box® package.

The XPro Styles PAKs 1-10 are available for only $29 ea (reg. $49 ea), or get them all in the XPro Styles PAK Bundle for only $149 (reg. $299)! Listen to demos and order now! For Mac or for Windows.

The Xtra Styles PAKs 1-21 are available for only $29 ea (reg. $49 ea), or get them all in the Xtra Styles PAK Bundle for only $199 (reg. $349)! Listen to demos and order now! For Mac or for Windows.

Note: XPro Styles PAKs require Band-in-a-Box® 2025 or higher and are compatible with ANY package, including the Pro, MegaPAK, UltraPAK, UltraPAK+, and Audiophile Edition.

The Xtra Styles require the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box®. (Xtra Styles PAK 19 requires the 2025 or higher UltraPAK, UltraPAK+, or Audiophile Edition. They will not work with the Pro or MegaPAK version as they require the RealTracks included in the UltraPAK, UltraPAK+, or Audiophile Edition.

Supercharge your Band-in-a-Box today with XPro Styles PAKs and Xtra Styles PAK Sets!

Band-in-a-Box 2026 for Mac Videos

With the release of Band-in-a-Box® 2026 for Mac, we’re rolling out a collection of brand-new videos on our YouTube channel. We’ll keep this forum post updated so you can easily find all the latest videos in one convenient spot.

Whether you're exploring new features, checking out the latest RealTracks or Style PAKs, this is your go-to guide for Band-in-a-Box® 2026.

Check out this forum post for "One Stop Shopping" of our Band-in-a-Box® 2026 Mac Videos!

Band-in-a-Box 2026 for Mac is Here!

Band-in-a-Box® 2026 for Mac is here and it is packed with major new features! There’s a new modern look, a GUI redesign to all areas of the program including toolbars, windows, workflow and more. There’s a Multi-view layout for organizing multiple windows. A standout addition is the powerful AI-Notes feature, which uses AI neural-net technology to transcribe polyphonic audio into MIDI—entire mixes or individual instruments—making it easy to study, view, and play parts from any song. And that’s just the beginning—there are over 100 new features in this exciting release.

Along with version 2026, we've released an incredible lineup of new content! There's 202 new RealTracks, brand-new RealStyles, MIDI SuperTracks, Instrumental Studies, “Songs with Vocals” Artist Performance Sets, Playable RealTracks Set 5, two new RealDrums Stems sets, XPro Styles PAK 10, Xtra Styles PAK 21, and much more!

Special Offers
Upgrade to Band-in-a-Box® 2026 for Mac and save up to 50% on most upgrade packages during our special offer—available until May 15, 2026. Visit our Band-in-a-Box® packages page to explore all available upgrade options.

2026 Free Bonus PAK & 49-PAK Add-ons
Our Free Bonus PAK and 49-PAK are loaded with amazing add-ons! The Free Bonus PAK is included with most Band-in-a-Box® 2026 for Mac packages, but you can unlock even more—including 20 unreleased RealTracks—by upgrading to the 2026 49-PAK for just $49.

Holiday Weekend Hours

As we hop into the Easter weekend, here are our holiday hours:

April 3 (Good Friday): 8:00 AM – 4:00 PM PDT
April 4 (Saturday): Closed
April 5 (Easter Sunday): Closed
April 6 (Easter Monday): Open regular hours

Wishing you an egg-cellent weekend!

— Team PG

Update to Build 10 of RealBand® 2026 for Windows®!

If you're already using RealBand 2026 for Windows, download build 10 to get all the latest additions and enhancements.

Band-in-a-Box® 2025 for Mac® users: Build 904 now available!

If you're already using Band-in-a-Box® 2025 for Mac®, make sure to grab the latest update! Build 904 is now available for download and includes the newest additions and enhancements from our team.

Band-in-a-Box® 2026 for Windows® users: Build 1237 is now available!

Already a Band-in-a-Box 2026 for Windows user? Stay up to date and download the build 1237 to get all the latest additions and enhancements.

Forum Statistics
Forums57
Topics86,194
Posts801,824
Members40,064
Most Online64,515
Apr 8th, 2026
Newest Members
GlennMans, François Sohm, Armando D'Errico, PhilinPhil, RBDavis1957
40,063 Registered Users
Top Posters(30 Days)
MarioD 128
zedd 109
DC Ron 101
rsdean 94
Noel96 87
vicarn 64
Today's Birthdays
abril1947, KeithS
Powered by UBB.threads™ PHP Forum Software 7.7.5