Previous Thread
Index
Next Thread
Print Thread
Go To
Band-in-a-Box for Windows
Joined: Oct 2011
Posts: 39
T
Enthusiast
OP Offline
Enthusiast
T
Joined: Oct 2011
Posts: 39
Hi everybody,

I'm working on a little MIDI VST plugin that will generate a real-time guitar/bass fretboard display of the notes being played. What makes it different from pretty much every other fretboard visualizer that I've seen is that it shows the notes played in all possible positions simultaneously, serving as an educational tool to learn how to play the same thing in multiple positions. The user can customize the number of strings on the instrument and the tuning. Hopefully some people will find it useful. I'm planning to use it for a series of guitar lesson videos on YouTube.

Here's a simple example of my VST in its current early alpha form. This is a test with a simple example MIDI file I cooked up:


It's working pretty well so far, so I decided to export some MIDI from BIAB to test it out. Unfortunately, all of the notes coming from BIAB end up being visually "stuck," i.e. there appears to be no Note Off event telling the notes to stop playing. You can see that here:


I analyzed the output of BIAB using a third-party MIDI logger and my suspicions were confirmed. BIAB does not appear to generate Note Off events when a note ends. Take a look at this image (messages beginning with a 0x93 are note-on messages on channel 4... note-off messages would start with 0x83, but they never appear):


Further inspection led me to use BIAB's built-in MIDI Monitor (found in the Window menu). It produces the same result:


There is a filter option in the MIDI Monitor and I double-checked it to make sure that Note Off events would be displayed:


So, it's pretty clear that BIAB does not generate Note Off events. I have a few questions about this.

1) First of all, aren't Note Off messages an essential part of the MIDI spec? Why are they not being generated by BIAB?

2) How does the software know when to stop playing a note if there is no Note Off message corresponding to the Note On message? As far as I'm aware, there isn't any duration information in a Note On message, so I don't see how that would work.

3) Is there an option hidden in one of the menus in BIAB where I can enable Note Off messages?

Any insight would be greatly appreciated. Currently, BIAB's output doesn't work with my VST, which is a little frustrating.

Thanks!

Last edited by thesleeve; 08/30/15 10:31 AM.
Band-in-a-Box for Windows
Joined: Oct 2011
Posts: 39
T
Enthusiast
OP Offline
Enthusiast
T
Joined: Oct 2011
Posts: 39
So, this is one of those cases where I hit the post button a little too soon. It looks like BIAB sends Note On events with a velocity of 0 to represent Note Off events. That's a little odd, but now that I know this, I can modify my plugin code to make a special case for when it receives a velocity=0 Note On event.

I was able to update the code and it's now working.


I'm still curious though, why no Note Off events are generated. Again, it just seems counter-intuitive since the MIDI Spec says that notes should end with a Note Off event. Any insight?

Thanks!

Band-in-a-Box for Windows
Joined: Jun 2012
Posts: 20,302
Veteran
Online Content
Veteran
Joined: Jun 2012
Posts: 20,302
My understanding of the MIDI spec is that there are two ways that a Note-Off event is produced.

1: Note-Off can be produced by 0x80 (top bit set in high nibble of the Status Byte),
2: Also if the velocity is set to zero then the Note-On message is interpreted as a Note-Off message, therefore releasing the note (Note-off).

BiaB probably use the second implementation

HTH. And good luck with your project!

Trevor


BIAB & RB2025 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
Band-in-a-Box for Windows
Joined: Oct 2011
Posts: 39
T
Enthusiast
OP Offline
Enthusiast
T
Joined: Oct 2011
Posts: 39
Thanks Trevor,

I wasn't aware of the second implementation, but it makes sense. Thanks for pointing it out! I have updated my code so that both cases are handled now.

Band-in-a-Box for Windows
Joined: Dec 2003
Posts: 23,144
Veteran
Offline
Veteran
Joined: Dec 2003
Posts: 23,144
Today, AFAIK, most MIDI notes end with velocity and not a note off event as this save time and code as explained here:

http://www.nyu.edu/classes/bello/FMT_files/9_MIDI_code.pdf

Velocity today really has two functions, to determine how hard the note is played and how long that note lasts.


Whenever I get something stuck in the back of my throat, I dislodge it by drinking a beer.
It's called the Heineken Maneuver.

64 bit Win 10 Pro, the latest BiaB/RB, Roland Octa-Capture audio interface, a ton of software/hardware
Band-in-a-Box for Windows
Joined: Oct 2011
Posts: 39
T
Enthusiast
OP Offline
Enthusiast
T
Joined: Oct 2011
Posts: 39
Thanks, MarioD!

Band-in-a-Box for Windows
Joined: Aug 2019
Posts: 1
A
Ans Offline
Newbie
Offline
Newbie
A
Joined: Aug 2019
Posts: 1
Thesleeve, I would really like to try your vst, actually there is nothing like it of what i can found !! And i would like to pay for if..

Please reply..

Thanks -

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
Video: Band-in-a-Box® 2025 for Mac®: VST3 Plugin Support

Band-in-a-Box® 2025 for Mac® now includes support for VST3 plugins, alongside VST and AU. Use them with MIDI or audio tracks for even more creative possibilities in your music production.

Band-in-a-Box® 2025 for Macs®: VST3 Plugin Support

Video: Band-in-a-Box® 2025 for Mac®: Using VST3 Plugins

Join the conversation on our forum.

Band-in-a-Box 2025 for Mac Videos

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

From overviews of new features and walkthroughs of the 202 new RealTracks, to highlights of XPro Styles PAK 8, Xtra Styles PAKs 18, the 2025 49-PAK, and in-depth tutorials — you’ll find everything you need to explore what’s new in Band-in-a-Box® 2025.

Reference this forum post for One-Stop Shopping of our Band-in-a-Box® 2025 Mac Videos — we’ll be adding more videos as they’re released!

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

Band-in-a-Box® 2025 for Mac is here, packed with major new features and an incredible collection of available new content! This includes 202 RealTracks (in Sets 449-467), plus 20 bonus Unreleased RealTracks in the 2025 49-PAK. There are new RealStyles, MIDI SuperTracks, Instrumental Studies, “Songs with Vocals” Artist Performance Sets, Playable RealTracks Set 4, two new sets of “RealDrums Stems,” XPro Styles PAK 8, Xtra Styles PAK 19, and more!

Special Offers
Upgrade to Band-in-a-Box® 2025 for Mac with savings of up to 50% on most upgrade packages during our special—available until July 31, 2025! Visit our Band-in-a-Box® packages page for all the purchase options available.

2025 Free Bonus PAK & 49-PAK Add-ons
We've packed our Free Bonus PAK & 49-PAK with some incredible Add-ons! The Free Bonus PAK is automatically included with most Band-in-a-Box® for Mac 2025 packages, but for even more Add-ons (including 20 Unreleased RealTracks!) upgrade to the 2025 49-PAK for only $49. You can see the full lists of items in each package, and listen to demos here.

If you have any questions, feel free to connect with us directly—we’re here to help!

Band-in-a-Box 2025 Italian Version is Here!

Cari amici
È stata aggerate la versione in Italiano del programma più amato dagli appassionati di musica, il nostro Band-in-a-Box.
Questo è il link alla nuova versione 2025.

Di seguito i link per scaricare il pacchetti di lingua italiana aggiornati per Band-in-a-Box e RealBand, anche per chi avesse già comprato la nuova versione in inglese.

Band-in-a-Box 2025 - Italiano
RealBand 2025 - Italiano

Band-in-a-Box 2025 French Version is Here!

Bonjour à tous,

Band-in-a-Box® 2025 pour Windows est disponible en Français.
Le téléchargement se fait à partir du site PG Music

Pour ceux qui auraient déjà acheté la version 2025 de Band-in-a-Box (et qui donc ont une version anglaise), il est possible de "franciser" cette version avec les patchs suivants:

BIAB 2025 - francisation
RealBand 2025 - francisation

Voilà, enjoy!

Band-in-a-Box 2025 German Version is Here!

Band-in-a-Box 2025 für Windows Deutsch ist verfügbar!

Die deutsche Version Band-in-a-Box® 2025 für Windows ist ab sofort verfügbar!

Alle die bereits die englische Version von Band-in-a-Box und RealBand 2024 installiert haben, finden hier die Installationsdateien für das Sprachenupdate:

https://nn.pgmusic.com/pgfiles/languagesupport/deutsch2025.exe
https://nn.pgmusic.com/pgfiles/languagesupport/deutsch2025RB.exe

Update Your Band-in-a-Box® 2025 to Build 1128 for Windows Today!

Already using Band-in-a-Box 2025 for Windows®? Download Build 1128 now from our Support Page to enjoy the latest enhancements and improvements from our team.

Stay up to date—get the latest update now!

Forum Statistics
Forums58
Topics84,206
Posts776,339
Members39,595
Most Online25,754
Jan 24th, 2025
Newest Members
gestes, TSIRY10, Albertcolin, Snow, Siggi D
39,594 Registered Users
Top Posters(30 Days)
MarioD 147
zedd 113
WaoBand 97
nonchai 82
rsdean 78
DC Ron 76
Today's Birthdays
There are no members with birthdays on this day.
Powered by UBB.threads™ PHP Forum Software 7.7.5