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
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. The Musescore file a parsed with xmllint validates correctly.
Last edited by Gordon Scott; 04/03/2404: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.
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
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.
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
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. 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.
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
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.
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).
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).
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).
Video - Band-in-a-Box® DAW Plugin Version 6 for Mac®: New Features for Reaper
Band-in-a-Box® 2024 includes built-in specific support for the Reaper® DAW API, allowing direct transfer of Band-in-a-Box® files to/from Reaper tracks, including tiny lossless files of instructions which play audio instantly from disk.
Already grabbed your copy of Band-in-a-Box® 2024 for Mac®? Head to our Support Page to download build 803 and update your Band-in-a-Box® 2024 installation with the latest version developed by our team!
Along with the 50+ new features added with Band-in-a-Box® 2024 for Mac®, we've also released an awesome collection of new Add-ons! On top of the 222 new RealTracks (+50 bonus RealTracks), we've also released new MIDI SuperTracks, Instrumental Studies, "Songs with Vocals" Artist Performance Sets, Playable RealTracks Set 3, Playable RealDrums Set 2, and two new sets of "RealDrums Stems."
Order Band-in-a-Box® 2024 for Mac during our special (which ends July 31st) and you'll receive a Free Bonus PAK that includes a lot of these new Add-ons:
- MIDI Styles Set 88: "Look Ma! More MIDI 11: SynthMaster"
- Instrumental Studies Set 20: New Orleans Piano
- MIDI SuperTracks Set 40: More SynthMaster
- MIDI SuperTracks Set 43: Rock & Pop Keys
- Artist Performance Set 15: Songs with Vocals volume 5
- Playable RealTracks Set 3
- Playable RealDrums Set 2
- SynthMaster Sounds and Styles, with audio demos
- RealCombos 2024 Booster PAK: *For Pro customers, this includes 35 new RealTracks and 58 new RealStyles.
*For MegaPAK customers, this includes 25 new RealTracks and 45 new RealStyles.
*For UltraPAK customers, this includes 28 new RealStyles.
- RealDrums Stems Set 6: More Pop, Rock & Country
Want even more new Add-ons? Boost your Free Bonus PAK to a 2024 49-PAK for just $49 and add even more new Add-ons to your collection:
- 50 Bonus Unreleased RealTracks & RealDrums
- MIDI Styles Set 89: "Look Ma! More MIDI 12: Funk, Jazz & Blues Keys"
- Instrumental Studies Set 21: '80s Hard Rock Guitar
- MIDI SuperTracks Set 41: Jazz Comping & Soloing Piano
- MIDI SuperTracks Set 42: Soul & New Orleans Keys
- Artist Performance Set 16: Songs with Vocals volume 6
- RealDrums Stems Set 5: Jazz, Latin, Funk & World
Band-in-a-Box® 2024 for Mac® Videos: One-Stop Shopping!
With the release of Band-in-a-Box® 2024 for Mac®, we're adding new videos to our YouTube channel. We'll also post them here when they are published so that you can easily find all of our Band-in-a-Box® 2024 for Mac® videos in one place!
The Band-in-a-Box® 2024 for Mac videos released as-of June 28, 2024 are:
One of our representatives will be happy to help you over the phone. Our hours of operation are from
6:00AM to 6:00PM PST (GMT -8) Monday thru Friday, and 8:00AM to 4:00PM PST Saturday. We are closed Sunday. You can also send us your questions via email.
One of our representatives will be happy to help you on our Live Chat or by email. Our hours of operation are from
6:00AM to 6:00PM PST (GMT -8) Monday thru Friday; 8:00AM to 4:00PM PST (GMT -8) Saturday; Closed Sunday.