Change the driver to MME and see if the message is resolved.
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.
I have always had the following error message with 2019 on opening. "Windows audio session error, could not open bitstream. error -9997". (Is this the same error or do I need a new thread?) The error message disappeared after about seven seconds and did not affect the operation of the program. It was suggested by someone a few weeks ago and above in this thread, that it may be because the audio driver type was set to WAS. In my case this was the case and switching to MME solved the error message problem. However switching to MME introduced a lag in the editable notation window which was not there with WAS. I.e. clicking on the staves to insert a note did not result in the note sounding immediately. Not a large lag but enough to be an irritation. All other playback elements of the program with MME are perfectly in sync as they are with WAS. I can enter the notes quickly and this effect does actually slow things down. As things stand I can easily live with the error message and stick with WAS. I can see no obvious way to correct the lag with MME
You could try an ASIO driver instead of WAS. That might reduce the latency and resolve the error message.
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.
First, welcome to the forum, nice to have you here!
A few questions if I may. First, are you using an external audio interface or the sound card built-into the computer? I assume you're editing MIDI data when you are using the editable notation window so what MIDI sound engine are you using; that might be an external hardware solution, or software like Coyote WT, Sforzando, Windows GS Wavetable or some other third party application.
Screenshots of your Band-in-a-Box midi and audio settings would be very helpful in better understanding the latency issue. While latency can not be eliminated, it can be minimized and some other users may have some ideas to test.
However, one last thought. Your post will be seen by more users if you start a new message thread.
I have nothing complicated. I am using 2019 64 bit with the settings I have always used in previous versions together with Coyote WT or Cakewalk TTS-1. I have no external equipment, midi or otherwise. Output is through the PC's sound card.
Taking Videotrack's advice I have installed some ASIO drivers which as expected have significantly reduced the "driver latency" and also removed the irritating lag when entering melody notes. The error message on starting when using WAS has also been eliminated.
So I now have a perfectly satisfactory system.
Why MME and WAS gave problems I don't know. I guess it's now a case of out of sight out of mind.
If the error was related to WAS (Windows Audio Session) then there will be a copy of the full error in the flash message log. There might also be accompanying errors messages that will provide more detail.
Help > Utilities > Display Log Text file of Yellow/Green Messages...
Error -9996 is sort of vague. It just means "invalid device" which could mean the audio device is using an incompatible format, or it is used exclusively by another application (eg. another program using it with an ASIO driver would prevent Band-in-a-Box from connecting to it).
To see more information about the driver format etc, go to Options > Preferences > Audio, and with WAS selected for Audio Driver Type click on [Audio Drivers...].
Just thought I'd mention that I've gotten that exact same Error -9996 or sometimes -9997, stating Invalid Device, when I've tried to use Audacity to record some audio. And I got this error AFTER Windows did an update! At this point Audacity (v. 2.3) doesn't see an ASIO driver, and it doesn't work with MME or WASAPI either (get the same error)... although it will playback fine, just won't record!
This is happening on two separate computers... one a laptop and another a desktop... that were working fine beforehand. They use different audio interfaces. Other programs seem to still work fine, although I can't test BIAB on the laptop. I even tried to use Waveasaur instead of Audacity, and it does the same thing.
The point of my butting in here was to mention that this error only showed up (for me anyway) after Windows updated. I've checked all the device settings, and record and playback settings in Windows and Audacity, per the instructions on Google for this error. They're all fine.
One last point is that a third computer, running Win7, is still recording to Audacity without any errors.
Not sure what MicroSoft did, but it sure seems as if some audio programs don't like it.
Again, just mentioning this in case you've gotten a Win 10 update recently.
Hope that this may help in your troubleshooting. Maybe?
Jim
BIAB 2020 with Reaper 6, on an AMD 8 core CPU, 16GB RAM, 240 GB SSD and 1 TB HD. Retired and trying to make some serious music, before Arthur Ritis spoils the fun.
You will probably need to look at Win 10's Security settings. Microsoft have clamped down on Privacy which means that it can disable soundcard inputs from being used. Look at Settings/Privacy/Microphone and enable the mic for use with whichever software that it doesn't work for at present.
You will probably need to look at Win 10's Security settings. Microsoft have clamped down on Privacy which means that it can disable soundcard inputs from being used. Look at Settings/Privacy/Microphone and enable the mic for use with whichever software that it doesn't work for at present.
Thanks! This is a great tip. I can reproduce the error Windows Audio Session error: Could not open stream. The error number is -9996 by doing the following:
1. open Settings in Windows 10 2. search for microphone privacy 3. set Allow apps to access your microphone to Off 4. launch Band-in-a-Box
Playback still works, of course, but recording will not.
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.
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.
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.
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)
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.