Previous Thread
Index
Next Thread
Print Thread
Go To
Page 1 of 2 1 2
Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,043
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,043
When BiaB generates a MusicXML file for Sinsy, it creates the note and rest durations the same as the BiaB playback. And by default, BiaB generates rests after every non-tied note.

After. Every. Single. Note.

This is wrong for singing synthesis for a number of reasons.

Consider the case of a hyphenated word, such as "HAP-PY". Instead of writing:

HAP- PY

BiaB instead writes:

HAP- [rest] PY

This is obviously wrong. But even putting a rest after each word is wrong:

THIS [rest] AND [rest] THAT

This is partly because there's a lot of co-articulation in singing. If there are rests after every word, it's not going to sound right.

But there's a more subtle problem here. A note doesn't indicate where the syllable starts, but where the vowel of that syllable starts. That means if you have something like this:

[rest] THIS AND THAT

The consonants actually fall on the prior note's timespan:

[rest]+TH IS AND+TH AT

This works great, even if the prior music event was a rest (like it is above). But in order to fit the consonants onto the prior note's timespan, the prior note (or rest) needs to be shortened. With consonants, this is done by shortening the duration of the vowel.

But what if the prior event was a very, very short rest? Whatever doesn't fit is going to be truncated:

[rest]+TH IS [rest] AND (truncated TH) AT

So for the purposes of generating Music XML for vocal synthesis programs to process, BiaB should export the notation as it appears, not as it is played.


-- David Cuny

My virtual singer development blog
Vocal control, you say. Never heard of it. Is that some kind of ProTools thing?

BiaB 2025 | Windows 11 | Reaper | Way too many VSTis.
Band-in-a-Box for Windows
Joined: May 2000
Posts: 38,502
M
Mac Offline
Veteran
Offline
Veteran
M
Joined: May 2000
Posts: 38,502
I would want to try sending a file created in a different program to Sinsy and see what returns.


--Mac

Band-in-a-Box for Windows
Joined: Dec 2013
Posts: 2,732
Veteran
Offline
Veteran
Joined: Dec 2013
Posts: 2,732
...or simply open the XML file in Notepad and manually edit it. This of course could be very tedious and time consuming.




Steve

BIAB/RB 2022, Pro Tools 2020, Korg N5, JBL LSR 4328 Powered Monitors, AKG/Shure Mics.
PC: Win11 PRO, 4 TB M2 SSD, 2 TB HD, 128 GB Memory
Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,043
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,043
I should have clarified that I'm not looking for a workaround for this. I probably should have submitted this as a bug report instead of posting it to the forum - sorry! blush

I could edit the MusicXML file by hand and remove the rests, manually adding the time to the preceding note. That would be an interesting experiment, to see if it helped Sinsy generate better output. I'll probably do that if I get some spare time.

But my current project is a home-brew voice synthesis program, and I figured it would be neat if it could read BiaB's Music XML files directly.

For that, I've come up with a workaround where a rest following a note is automatically assigned to the prior note's duration if the duration is below a certain threshold. It's not optimal, but it works.

I'm just noting that understanding Sinsy's output is already difficult, and the addition of rests isn't likely to make the behavior any better. Plus, fixing this would make my life a bit easier. wink


-- David Cuny

My virtual singer development blog
Vocal control, you say. Never heard of it. Is that some kind of ProTools thing?

BiaB 2025 | Windows 11 | Reaper | Way too many VSTis.
Band-in-a-Box for Windows
Joined: May 2000
Posts: 38,502
M
Mac Offline
Veteran
Offline
Veteran
M
Joined: May 2000
Posts: 38,502
Well, the reason for my question has to do with isolating where exactly these rests emanate from.

Years of exporting MIDI from BB and I've never encountered such rests, so I'm thinking that it might be something that Sinsy does.


--Mac

Band-in-a-Box for Windows
Joined: May 2000
Posts: 38,502
M
Mac Offline
Veteran
Offline
Veteran
M
Joined: May 2000
Posts: 38,502
Just though of something that may be important here.

Check to see if Sinsy is looking for Note Off data.

When the MIDI Standard was written, they included both Note On and Note Off as part of the data stream available.

But they also included Note Duration value.

The greater majority of programs today no longer even bother with the Note Off data, since it is redundant if the Note Duration is sent.

But that Note Off is still part of the MIDI Standard and a programmer who uses what the standard says at face value doesn't realize that, they could write something that is looking for a Note Off value after every Note On...

Perhaps not receiving the Note Off, its coded to use the Rest as a timeout alternative. eek.


HTH,


--Mac

Band-in-a-Box for Windows
Joined: Jul 2000
Posts: 27,385
Veteran
Online Happy
Veteran
Joined: Jul 2000
Posts: 27,385
David, first, thank you for your work and continuing interest in Music XML.

If I follow your first paragraph correctly, the Music XML is being produced accurately; it's the way BIAB handles this that is in need of examination. I'm just guessing, but what you describe sounds like a description of how mouse-based data entry works in BIAB, which many of us particularly love over how this is implemented in other software. Of course, we see threads periodically in which someone who doesn't understand asks how to do or not do a tie.

I hope PG Music continues to work on exporting Music XML not just for Sinsy. I only request that it not change the data entry method, assuming I am even correct it's related to what you describe.


BIAB 2025 Win Audiophile. Software: Studio One 7 Pro, Swam horns, Acoustica-7, Notion 6, Song Master Pro, Win 11 Home. Hardware: Intel i9, 32 Gb; Presonus 192 & Faderport 8, Royer 121, Slate VSX, Adam Sub8 & Neumann 120 monitors.
Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,043
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,043
I believe that BiaB has always automatically "humanized" the MIDI playback of notation, since the DOS version.

Most music notation programs automatically quantize this difference away for you. But go ahead and open a MIDI track generated by BiaB in RealBand, and you'll see the gaps between the notes. (There is obviously no MIDI instruction for "rest" wink ).

So it's not surprising that the MusicXML file that BiaB generates has the same behavior. You can open up the MusicXML file that BiaB generates yourself and have a look. It's at:

<path to BB>\Data\SRequest\Sound.XML

The <note> tag is used for both pitches and rests. A rest event is indicated by a <rest/> tag, embedded in the <note> hierarchy.

It would be nice if BiaB didn't do this in the first place, even with MIDI. If there's a way to turn this off, I'd appreciate knowing about it! smile


-- David Cuny

My virtual singer development blog
Vocal control, you say. Never heard of it. Is that some kind of ProTools thing?

BiaB 2025 | Windows 11 | Reaper | Way too many VSTis.
Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,043
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,043
Hi, Matt.

Thanks, I think the addition of accurate MusicXML will be a great benefit for many BiaB users.

See my explanation above - the MIDI and MusicXML that BiaB generates from notation is not "accurate", in that what is generated does not reflect the notation.

On further thought, I suspect that it's a holdover back when to ensure that monophonic synths got the MIDI NoteOff instruction before sending the NoteOn.

In any event, while most software programs hide these details, it becomes problematic when working with other applications that expect the MusicXML to accurately reflect the original notation.


-- David Cuny

My virtual singer development blog
Vocal control, you say. Never heard of it. Is that some kind of ProTools thing?

BiaB 2025 | Windows 11 | Reaper | Way too many VSTis.
Band-in-a-Box for Windows
Joined: May 2000
Posts: 38,502
M
Mac Offline
Veteran
Offline
Veteran
M
Joined: May 2000
Posts: 38,502
Originally Posted By: dcuny
...the MIDI and MusicXML that BiaB generates from notation is not "accurate", in that what is generated does not reflect the notation.


Band in a Box does not generate any Music XML at this point in time.

To the best of my knowledge, Band in a Box does not create nor send Note Off data, either. Hence the commonly found stuck synth on strings and other pads when someone hits Stop before the Duration value has ended.

We send the file to the Sinsy site and that is where the Music XML generation actually comes from.

And I'm thinking that whoever coded the Sinsy site likely used the easily obtainable Standard MIDI File Reference, which still has that almost entirely unused Note Off designation listed from when it was first written.

I haven't seen a MIDI file with Note Off data in it that was written since sometime around the mid 80s...


--Mac

Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,043
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,043
Hi, Mac.

MusicXML allows for what's essentially two different streams of information: the notation of the music, and the playback. The second is essentially equivalent to embedding MIDI information.

BiaB only generates the first (which is good).


-- David Cuny

My virtual singer development blog
Vocal control, you say. Never heard of it. Is that some kind of ProTools thing?

BiaB 2025 | Windows 11 | Reaper | Way too many VSTis.
Band-in-a-Box for Windows
Joined: May 2000
Posts: 38,502
M
Mac Offline
Veteran
Offline
Veteran
M
Joined: May 2000
Posts: 38,502
And the MIDI that BiaB generates, at least all of it which I've ever examined, which is actually considerable over the years, contains no Note Offs in it.

Do you have an example of any MIDI exported from BB that does?


If so, I'd like to see a copy of that file.


--Mac

Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,043
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,043
Answering my own question here...

In the Notation view, there is an Opt. button. Pressing that brings up the Notation Window Options.

Pressing the More... button the Other Notation Options, which includes Inserted Note Defaults.

The default duration for notes is 80%.

Simple to fix, right? smile

Unfortunately, not entirely. frown

First of all, setting it to 100% only effects notes added after the change. So you can't fix prior notation by changing things.

That's not really a big deal.

However, BiaB still generates a generates rests (of duration 1, the smallest tick size).

So if I set this, I can filter the rests with much more confidence.

But... The behavior is still wrong, because the rests shouldn't be in the MusicXML at all. eek


-- David Cuny

My virtual singer development blog
Vocal control, you say. Never heard of it. Is that some kind of ProTools thing?

BiaB 2025 | Windows 11 | Reaper | Way too many VSTis.
Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,043
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,043
Hi, Mac.

Originally Posted By: Mac
And the MIDI that BiaB generates, at least all of it which I've ever examined, which is actually considerable over the years, contains no Note Offs in it.


SynthFont reports that the MIDI file BiaB generated is filled with NoteOff events. I don't have a hex editor handy, so I can't verify that it's mis-reporting NoteOn events with a velocity of zero (which are functionally equivalent) as NoteOff events.

Am I missing something here?


-- David Cuny

My virtual singer development blog
Vocal control, you say. Never heard of it. Is that some kind of ProTools thing?

BiaB 2025 | Windows 11 | Reaper | Way too many VSTis.
Band-in-a-Box for Windows
Joined: Jul 2000
Posts: 27,385
Veteran
Online Happy
Veteran
Joined: Jul 2000
Posts: 27,385
Originally Posted By: Mac

Band in a Box does not generate any Music XML at this point in time.

...

We send the file to the Sinsy site and that is where the Music XML generation actually comes from.

--Mac

From my testing, I'm not sure that is correct. The very first thing that happens when you click on the Vocal Synth button in BIAB is that a file, Sound.XML is created in the folder /bb/Data/SRequest

This file appears immediately, well before the Sinsy site completes or maybe even begins its work. It seems to happen so fast that I doubt it is a file being returned by the Sinsy site, but I could be wrong.

Once Sinsy has finished, another file called sound.WAV will appear in that same folder. You can see the difference in the time stamps is a minute or two. There are two other files, SRequest Input and Output that show the same time stamp difference.

EDIT. To test this, I disconnected my Internet connection. BIAB gave me an error message that it could not process the SRequest, but it did create the Sound.XML file. Thus, BIAB is generating Music XML.

Last edited by Matt Finley; 02/17/14 01:26 PM.

BIAB 2025 Win Audiophile. Software: Studio One 7 Pro, Swam horns, Acoustica-7, Notion 6, Song Master Pro, Win 11 Home. Hardware: Intel i9, 32 Gb; Presonus 192 & Faderport 8, Royer 121, Slate VSX, Adam Sub8 & Neumann 120 monitors.
Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,043
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,043
Ah, I just downloaded MidiYodi, and (unlike SynthFont) it shows the events as NoteOn with velocity of zero.

So, you're correct - no NoteOff events. I shouldn't have assumed the SynthFont was reporting the right information, but done a hex dump myself and checked it out myself.

Foolish me. shocked

Mind you, NoteOff and NoteOn with a velocity of zero should be functionally equivalent, but whatever.

MIDI is a red herring here.

Last edited by dcuny; 02/17/14 01:17 PM.

-- David Cuny

My virtual singer development blog
Vocal control, you say. Never heard of it. Is that some kind of ProTools thing?

BiaB 2025 | Windows 11 | Reaper | Way too many VSTis.
Band-in-a-Box for Windows
Joined: May 2000
Posts: 38,502
M
Mac Offline
Veteran
Offline
Veteran
M
Joined: May 2000
Posts: 38,502
Jes' tryin' ta hep...


grin

Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,043
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,043
Originally Posted By: Matt Finley
The very first thing that happens when you click on the Vocal Synth button in BIAB is that a file, Sound.XML is created in the folder /bb/Data/SRequest


That's correct. For my purposes, I'm working with the MusicXML file directly, and it's never being transmitted to Sinsy.

So here's my summary at this point:

  • The duration displayed in the Notation editor does not always match the playback duration.
  • Most users are unaware of this default duration.
  • This duration is used for creating MIDI and MusicXML output.
  • By default, in Notation mode BiaB creates notes with a playback duration of 80%.
  • This default duration can be changed to 100%.
  • Changing the default duration will not change notes already entered.
  • Even with the setting of duration to 100%, BiaB generates small rests in MusicXML output.
  • Even minute rests between notes in MusicXML can be problematic for vocal synthesis programs.


-- David Cuny

My virtual singer development blog
Vocal control, you say. Never heard of it. Is that some kind of ProTools thing?

BiaB 2025 | Windows 11 | Reaper | Way too many VSTis.
Band-in-a-Box for Windows
Joined: Jul 2000
Posts: 27,385
Veteran
Online Happy
Veteran
Joined: Jul 2000
Posts: 27,385
David, your good work should be brought to the attention of Peter Gannon.


BIAB 2025 Win Audiophile. Software: Studio One 7 Pro, Swam horns, Acoustica-7, Notion 6, Song Master Pro, Win 11 Home. Hardware: Intel i9, 32 Gb; Presonus 192 & Faderport 8, Royer 121, Slate VSX, Adam Sub8 & Neumann 120 monitors.
Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,043
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,043
Originally Posted By: Mac
Jes' tryin' ta hep...
grin

And the help is appreciated!

OK, back to coding...


-- David Cuny

My virtual singer development blog
Vocal control, you say. Never heard of it. Is that some kind of ProTools thing?

BiaB 2025 | Windows 11 | Reaper | Way too many VSTis.
Previous Thread
Next Thread
Go To
Page 1 of 2 1 2

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
Band-in-a-Box® 2026 for Windows® Special Offers Extended Until January 15, 2026!

Good news! You still have time to upgrade to the latest version of Band-in-a-Box® for Windows® and save. Our Band-in-a-Box® 2026 for Windows® special now runs through January 15, 2025!

We've packed Band-in-a-Box® 2026 with major new features, enhancements, and an incredible lineup of new content! The program now sports a sleek, modern GUI redesign across the entire interface, including updated toolbars, refreshed windows, smoother workflows, a new dark mode option, and more. The brand-new side toolbar provides quicker access to key windows, while the new Multi-View feature lets you arrange multiple windows as layered panels without overlap, creating a flexible, clutter-free workspace. We have an amazing new “AI-Notes” feature. This transcribes polyphonic audio into MIDI so you can view it in notation or play it back as MIDI. You can process an entire track (all pitched instruments and drums) or focus on individual parts like drums, bass, guitars/piano, or vocals. There's an amazing collection of new content too, including 202 RealTracks, new RealStyles, MIDI SuperTracks, Instrumental Studies, “Songs with Vocals” Artist Performance Sets, Playable RealTracks Set 5, two RealDrums Stems sets, XPro Styles PAK 10, Xtra Styles PAK 21, and much more!

There are over 100 new features in Band-in-a-Box® 2026 for Windows®.

When you order purchase Band-in-a-Box® 2026 before 11:59 PM PST on January 15th, you'll also receive a Free Bonus PAK packed with exciting new add-ons.

Upgrade to Band-in-a-Box® 2026 for Windows® today! Check out the Band-in-a-Box® packages page for all the purchase options available.

Happy New Year!

Thank you for being part of the Band-in-a-Box® community.

Wishing you and yours a very happy 2026—Happy New Year from all of us at PG Music!

Season's Greetings!

Wishing everyone a happy, healthy holiday season—thanks for being part of our community!

The office will be closed for Christmas Day, but we will be back on Boxing Day (Dec 26th) at 6:00am PST.

Team PG

Band-in-a-Box 2026 Video: The Newly Designed Piano Roll Window

In this video, we explore the updated Piano Roll, complete with a modernized look and exciting new features. You’ll see new filtering options that make it easy to focus on specific note groups, smoother and more intuitive note entry and editing, and enhanced options for zooming, looping, and more.

Watch the video.

You can see all the 2026 videos on our forum!

Band-in-a-Box 2026 Video: AI Stems & Notes - split polyphonic audio into instruments and transcribe

This video demonstrates how to use the new AI-Notes feature together with the AI-Stems splitter, allowing you to select an audio file and have it separated into individual stems while transcribing each one to its own MIDI track. AI-Notes converts polyphonic audio—either full mixes or individual instruments—into MIDI that you can view in notation or play back instantly.

Watch the video.

You can see all the 2026 videos on our forum!

Bonus PAK and 49-PAK for Band-in-a-Box® 2026 for Windows®

With your version 2026 for Windows Pro, MegaPAK, UltraPAK, UltraPAK+, Audiophile Edition or PlusPAK purchase, we'll include a Bonus PAK full of great new Add-ons for FREE! Or upgrade to the 2026 49-PAK for only $49 to receive even more NEW Add-ons including 20 additional RealTracks!

These PAKs are loaded with additional add-ons to supercharge your Band-in-a-Box®!

This Free Bonus PAK includes:

  • The 2026 RealCombos Booster PAK: -For Pro customers, this includes 27 new RealTracks and 23 new RealStyles. -For MegaPAK customers, this includes 25 new RealTracks and 23 new RealStyles. -For UltraPAK customers, this includes 12 new RealStyles.
  • MIDI Styles Set 92: Look Ma! More MIDI 15: Latin Jazz
  • MIDI SuperTracks Set 46: Piano & Organ
  • Instrumental Studies Set 24: Groovin' Blues Soloing
  • Artist Performance Set 19: Songs with Vocals 9
  • Playable RealTracks Set 5
  • RealDrums Stems Set 9: Cool Brushes
  • SynthMaster Sounds Set 1 (with audio demos)
  • Android Band-in-a-Box® App (included)

Looking for more great add-ons, then upgrade to the 2026 49-PAK for just $49 and you'll get:


  • 20 Bonus Unreleased RealTracks and RealDrums with 20 RealStyle.
  • FLAC Files (lossless audio files) for the 20 Bonus Unreleased RealTracks and RealDrums
  • MIDI Styles Set 93: Look Ma! More MIDI 16: SynthMaster
  • MIDI SuperTracks Set 47: More SynthMaster
  • Instrumental Studies 25 - Soul Jazz Guitar Soloing
  • Artist Performance Set 20: Songs with Vocals 10
  • RealDrums Stems Set 10: Groovin' Sticks
  • SynthMaster Sounds & Styles Set 2 (sounds & styles with audio demos)

Learn more about the Bonus PAKs for Band-in-a-Box® 2026 for Windows®!

Video: New User Interface (GUI)

Join Tobin as he takes you on a tour of the new user interface in Band-in-a-Box® 2026 for Windows®! This modern GUI redesign offers a sleek new look with updated toolbars, refreshed windows, and a smoother workflow. The brand-new side toolbar puts track selection, the MultiPicker Library, and other essential tools right at your fingertips. Plus, our upgraded Multi-View lets you layer multiple windows without overlap, giving you a highly flexible workspace. Many windows—including Tracks, Piano Roll, and more—have been redesigned for improved usability and a cleaner, more intuitive interface, and more!

Watch the video.

You can see all the 2026 videos on our forum!

Forum Statistics
Forums57
Topics85,478
Posts792,516
Members39,902
Most Online25,754
Jan 24th, 2025
Newest Members
steve jonas, odooexpress314, jacksmith243, davyb, matteob
39,902 Registered Users
Top Posters(30 Days)
MarioD 198
DC Ron 122
jpettit 119
Noel96 100
Today's Birthdays
Kapiti Keith, Togman
Powered by UBB.threads™ PHP Forum Software 7.7.5