Previous Thread
Index
Next Thread
Print Thread
Go To
Page 2 of 2 1 2
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: Matt Finley

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



I get two results when using the "automatic" Sinsy button, one of which is a standard audio .wav file, the other is suffixed .XML, but upon examining the contents of that file I find only the Lyric Data in it, the Note entries are all empty at that time.

I see no Pitch entries either.

I do see Note Duration entries, though.



No note data = not a complete .XML file at all to me.

No notes means "no chords" which is kind of defeating of the xml point.

Once the thing comes back from Sinsy is a different story, though. Now the missing Note and Duration data appears.

Apparently Sinsy analyzes the .wav soundfile created and sent as well as entering data into that .xml file and returning it to us.


--Mac

Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,181
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,181
Originally Posted By: Matt Finley
David, your good work should be brought to the attention of Peter Gannon.

When the work is good enough, he'll hear it. wink

Actually, when the work is good enough, I'll start posting on the forum for feedback.

I've already written to Peter about this. I'd like to see something better than Sinsy, but there aren't a lot of people promoting singing voice synthesis programs.

There are a lot of free projects (including Sinsy, which recently released their code), but most of them are abandoned, and the websites are filled with dead links.

Vocaloid would be too expensive to add to BiaB.

On the Mac, there's a program called VocalWriter that uses articulatory synthesis, but it's never been ported to the PC, and (unfortunately) the author died several years ago. His wife is looking to sell off the product, but I doubt PG wants to go that route.

The Mac actually has a quite nice vocal synthesis program built in, but there's no PC equivalent. (Finally, somewhere the Mac users are finally ahead! wink )

I believe the best commercial bet is SoftVoice, which has has a rather nice library. The owner is pretty busy right now, but he said he'd try to get me a demo. You've probably heard their product in some incarnation - Software Automatic Mouth, MacInTalk and Talk-It! are some examples. The speech sounds a bit synthetic, but it's understandable and (to my ears) superior to Sinsy.

If I get a demo from SoftVoice, I'll post the results on the forum. But I haven't seen the API yet, and creating singing output isn't entirely trivial.

In the mean time, I've dusted off my own speech synthesis program (mainly because Sinsy seems so deficient). It uses formant synthesis for vowels (like SoftVoice, but it uses sampled consonants. It can now read the MusicXML file from BiaB, covert the words to phonemes, and output a .wav file.

Unfortunately, the new consonants broke the timing code, so I'm trying to fix things back up again. Once it works, I'll start posting some examples to get feedback.

It's written in Java, but once it's done if it's any good I'll give some thought to re-writing it into C (or with a language which can compile to C).


-- 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,181
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,181
Mac, you're wrong: BiaB generates the MusicXML file, not Sinsy.

I'm not entirely clueless here. After all, I'm the one who pointed out Sinsy in the first place. I've even made a song with it before it was added to BiaB. Even PG Music says so in their own instruction on how to manually create output. shocked

So trust me: The only thing sent to is the Sinsy website Sound.XML file, and the only thing received from the Sinsy website is the .wav file.

BiaB --> Sound.XML --> Sinsy website --> result.wav


You're fundamentally mis-understanding XML. It's a hierarchical, structured tag-based markup language.

Before arguing that this is a malformed MusicXML file, you might first want to look at the MusicXML tutorial.

Everything between a <tag> and </tag> is part of that tag. If the tag contains nothing between the start and end, it can be abbreviated with the form <tag/>.

So in your screenshot, everything between the start <note> tag and the closing </note> tag is part of the same note.

The top <note> tag contains a <pitch>, <duration> and <lyric> tag.

The <pitch> contains a <step> and <octave> tag. If there were an accidental, you'd also see a <alter> tag. So the pitch of the note is G5, with a duration of 64 ticks (relative to the song's division, set in the first measure).

The same note also has a <lyric> tag, which indicates it has a syllabic type of single, with the lyric of la.

All this information pertains to the same <note>.

The next <note> contains a <rest/> tag, indicating that it's a rest. Notice the form of the tag is <tag/>, indicating it is both an opening and a closing tag, so there is no enclosed element. The duration of this rest is 16.

This is followed by a G5 note of duration 96 ticks.

Your screenshot demonstrates exactly what I said: the MusicXML file (generated by BiaB) contains rests following notes.


-- 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,491
Veteran
Online Happy
Veteran
Joined: Jul 2000
Posts: 27,491
It is important to realize that BIAB is indeed generating some Music XML, which is what makes me so hopeful that this function can be expanded in the future to represent an entire BIAB song. You're doing great work, David.


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: May 2000
Posts: 38,502
M
Mac Offline
Veteran
Offline
Veteran
M
Joined: May 2000
Posts: 38,502
I stand corrected.

And Thank You for explaining it so well.


--Mac

Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,181
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,181
Just to beat a dead horse:
Originally Posted By: Mac
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.

BiaB most certainly creates and sends NoteOff data. How else would notes be able to turn off?

Sidebar: Sending a NoteOff or sending a NoteOn with a velocity of 0 amount to the same thing. Other than being pendantic, there's not really any point in making the distinction. And I'm certainly being pendantic here. laugh

The idea the the MIDI instructions themselves have any timing or durational information is incorrect.

MIDI commands don't contain timing information. They are directives that are meant to be executed when they are received by your synth. These include instructions like:
  • Play a note at velocity
  • Turn the modulation wheel to position
  • Change the instrument on channel to instrument


When the instructions arrive at your synth, they are executed immediately.

There's no such thing as "Play an eighth note" in MIDI. To make that happen, you would:
  • Send a NoteOn instruction.
  • Wait for an 8th note duration of time.
  • Send a NoteOff instruction.


If you want to store timing information, you can put the MIDI commands into a MIDI file. This is a binary (not humanly readable) file containing not only MIDI commands, but timing information as well. The program that executes the MIDI file (BiaB, your favorite DAW, whatever) reads the file, runs a timer, and send the MIDI instructions out at the appropriate time.

But the commands themselves have no timing information, and they are acted on as soon as they arrive at your synth.

The MIDI NoteOn command instructs the synthesizer to play a particular note until a NoteOff instruction is received. There is no durational information.

From the official MIDI Message Table specs:

Originally Posted By: www.midi.org
Note On event.
This message is sent when a note is depressed (start). (kkkkkkk) is the key (note) number. (vvvvvvv) is the velocity.


As a result, not sending the NoteOff command will cause any synth to behave like it had a stuck key.

I hope this clarifies things a bit.



-- 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,181
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,181
Originally Posted By: Mac
I stand corrected.

And Thank You for explaining it so well.

Mac, you're a really knowledgeable guy, with far more useful musical knowledge and experience than I'll ever have.

Sorry for my tone, but it's hard to write a polite response and still get to the point.



By the way, don't miss the post above about MIDI and durational information... whistle


-- 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
Miss it?

I already oopied and pasted it into a certain little file I keep handy.


And thanks again for the correction.


That is part and parcel of good engineering in my book, once someone proofs their argument, I'm happier to have learned the better for it.


--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
I think I found the reason, FWIW, and that is that I've got so many MIDI editors and viewers, etc. that use the term, "Duration" when what must really be happening under the hood is that after a certain number of ticks, the Note Off gets sent. So they don't really show me the Note Off command, using that Duration label instead.

Is that it?


--Mac

Band-in-a-Box for Windows
Joined: Aug 2011
Posts: 11,005
Veteran
Offline
Veteran
Joined: Aug 2011
Posts: 11,005
David and Mac, Nice discussion. Will either of you gentlemen enlighten me about the differences, if any, between midi (.MID)and SMF (.SMF) files?


Jim Fogle - 2026 BiaB (Build 1224) RB (Build 8) - Ultra+ PAK
DAWs: Cakewalk Sonar - Standalone: Zoom MRS-8
Desktop: i7 Win 11, 12GB ram 256GB SSD, 4 TB HDD
Music at: https://fogle622.wix.com/fogle622-audio-home
Band-in-a-Box for Windows
Joined: Sep 2010
Posts: 8,181
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,181
Originally Posted By: Mac
...what must really be happening under the hood is that after a certain number of ticks, the Note Off gets sent. So they don't really show me the Note Off command, using that Duration label instead.

That's correct - the duration that's being displayed is a calculated value based on the difference between the NoteOn and the NoteOff events.


-- 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,181
dcuny Offline OP
Veteran
OP Offline
Veteran
Joined: Sep 2010
Posts: 8,181
Originally Posted By: JimFogle
Will either of you gentlemen enlighten me about the differences, if any, between midi (.MID)and SMF (.SMF) files?


The file extensions don't indicate anything in particular. There are three different types of MIDI files:

  • Type 0: All events from the different channels are combined into one track.
  • Type 1: Each channel gets an independent track.
  • Type 2: A collection of patterns or song (fairly rare).

BiaB gives you the option of creating either Type 0 or Type 1.

But all the types share the same extension (.mid or .smf).


-- 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: Aug 2011
Posts: 11,005
Veteran
Offline
Veteran
Joined: Aug 2011
Posts: 11,005
Thanks David for the quick answer to my question smf versus mid. I've never been able to find a concise answer from my web searches or printed sources.


Jim Fogle - 2026 BiaB (Build 1224) RB (Build 8) - Ultra+ PAK
DAWs: Cakewalk Sonar - Standalone: Zoom MRS-8
Desktop: i7 Win 11, 12GB ram 256GB SSD, 4 TB HDD
Music at: https://fogle622.wix.com/fogle622-audio-home
Previous Thread
Next Thread
Go To
Page 2 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
PowerTracks Pro 2026 for Windows is Here!

PowerTracks 2026 is here—bringing powerful new enhancements designed to make your production workflow faster, smoother, and more intuitive than ever.

The enhanced Mixer now shows Track Type and Instrument icons for instant track recognition, while a new grid option simplifies editing views. Non-floating windows adopt a modern title bar style, replacing the legacy blue bar.

The Master Volume is now applied at the end of the audio chain for consistent levels and full-signal master effects.

Tablature now includes a “Save bends when saving XML” option for improved compatibility with PG Music tools. Plus, you can instantly match all track heights with a simple Ctrl-release after resizing, and Add2 chords from MGU/SGU files are now fully supported... and more!

Get started today—first-time packages start at just $49.

Already using PowerTracks Pro Audio? Upgrade for as little as $29 and enjoy the latest improvements!

Order now!

Band-in-a-Box 2026 for Windows Special Offers End Tomorrow (January 15th, 2026) at 11:59 PM PST!

Time really is running out! Save up to 50% on Band-in-a-Box® 2026 for Windows® upgrades and receive a FREE Bonus PAK—only when you order by 11:59 PM PST on Thursday, January 15, 2026!

We've added many major new features and new content in a redesigned Band-in-a-Box® 2026 for Windows®!

Version 2026 introduces a modernized GUI redesign across the program, with updated toolbars, refreshed windows, smoother workflows, and a new Dark Mode option. There’s also a new side toolbar for quicker access to commonly used windows, and the new Multi-View feature lets you arrange multiple windows as layered panels without overlap, making it easier to customize your workspace.

Another exciting new addition is the new AI-Notes feature, which can transcribe polyphonic audio into MIDI. You can view the results in notation or play them back as MIDI, and choose whether to process an entire track or focus on specific parts like drums, bass, guitars/piano, or vocals. There's over 100 new features in Band-in-a-Box® 2026 for Windows®.

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!

Upgrade your Band-in-a-Box for Windows to save up to 50% on most Band-in-a-Box® 2026 upgrade packages!

Plus, when you order your Band-in-a-Box® 2026 upgrade during our special, you'll receive a Free Bonus PAK of exciting new add-ons.

If you need any help deciding which package is the best option for you, just let us know. We are here to help!

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!

Forum Statistics
Forums57
Topics85,966
Posts798,368
Members39,997
Most Online44,367
Newest Members
BrunoD65, Nicomatteo, Opur, Carly Bishop, copperbrazier
39,996 Registered Users
Top Posters(30 Days)
MarioD 169
DC Ron 119
Noel96 114
rsdean 105
DrDan 67
Today's Birthdays
Eddy31, GamesBX1, StevieW
Powered by UBB.threads™ PHP Forum Software 7.7.5