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: 18,256
Veteran
Online Content
Veteran
Joined: Jun 2012
Posts: 18,256
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 & 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
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: 20,638
Veteran
Offline
Veteran
Joined: Dec 2003
Posts: 20,638
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.


Me, it's not about how many times you fail, it's about how many times you get back up.
Cop, that's not how field sobriety tests work.

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
Band-in-a-Box® 2024 Review: 4.75 out of 5 Stars!

If you're looking for a in-depth review of the newest Band-in-a-Box® 2024 for Windows version, you'll definitely find it with Sound-Guy's latest review, Band-in-a-Box® 2024 for Windows Review: Incredible new capabilities to experiment, compose, arrange and mix songs.

A few excerpts:
"The Tracks view is possibly the single most powerful addition in 2024 and opens up a new way to edit and generate accompaniments. Combined with the new MultiPicker Library Window, it makes BIAB nearly perfect as an 'intelligent' composer/arranger program."

"MIDI SuperTracks partial generation showing six variations – each time the section is generated it can be instantly auditioned, re-generated or backed out to a previous generation – and you can do this with any track type. This is MAJOR! This takes musical experimentation and honing an arrangement to a new level, and faster than ever."

"Band in a Box continues to be an expansive musical tool-set for both novice and experienced musicians to experiment, compose, arrange and mix songs, as well as an extensive educational resource. It is huge, with hundreds of functions, more than any one person is likely to ever use. Yet, so is any DAW that I have used. BIAB can do some things that no DAW does, and this year BIAB has more DAW-like functions than ever."

Happy Easter! Holiday Hours...

2024 is well underway - it's already Easter Weekend!

Our Customer Service hours this weekend are:

Friday, March 29: 8-4
Saturday, March 30: 8-4
Sunday, March 31: closed

Regular hours resume Monday, April 1st - no joke!

Convenient Ways to Listen to Band-in-a-Box® Songs Created by Program Users!

The User Showcase Forum is an excellent place to share your Band-in-a-Box® songs and listen to songs other program users are creating!

There are other places you can listen to these songs too! Visit our User Showcase page to sort by genre, artist (forum name), song title, and date - each listing will direct you to the forum post for that song.

If you'd rather listen to these songs in one place, head to our Band-in-a-Box® Radio, where you'll have the option to select the genre playlist for your listening pleasure. This page has SoundCloud built in, so it won't redirect you. We've also added the link to the Artists SoundCloud page here, and a link to their forum post.

We hope you find some inspiration from this amazing collection of User Showcase Songs!

Congratulations to the 2023 User Showcase Award Winners!

We've just announced the 2023 User Showcase Award Winners!

There are 45 winners, each receiving a Band-in-a-Box 2024 UltraPAK! Read the official announcement to see if you've won.

Our User Showcase Forum receives more than 50 posts per day, with people sharing their Band-in-a-Box songs and providing feedback for other songs posted.

Thank you to everyone who has contributed!

Video: Volume Automation in Band-in-a-Box® 2024 for Windows®

We've created a video to help you learn more about the Volume Automation options in Band-in-a-Box® 2024 for Windows.

Band-in-a-Box® 2024: Volume Automation

www.pgmusic.com/manuals/bbw2024full/chapter11.htm#volume-automation

Video: Audio Input Monitoring with Band-in-a-Box® 2024 for Windows®

We've created this short video to explain Audio Input Monitoring within Band-in-a-Box® 2024, and included some tips & troubleshooting details too!

Band-in-a-Box® 2024: Audio Input Monitoring

3:17: Tips
5:10: Troubleshooting

www.pgmusic.com/manuals/bbw2024full/chapter11.htm#audio-input-monitoring

Video: Enhanced Melodists in Band-in-a-Box® 2024 for Windows®!

We've enhanced the Melodists feature included in Band-in-a-Box® 2024 for Windows!

Access the Melodist feature by pressing F7 in the program to open the new MultiPicker Library and locate the [Melodist] tab.

You can now generate a melody on any track in the program - very handy! Plus, you select how much of the melody you want generated - specify a range, or apply it to the whole track.

See the Melodist in action with our video, Band-in-a-Box® 2024: The Melodist Window.

Learn even more about the enhancements to the Melodist feature in Band-in-a-Box® 2024 for Windows at www.pgmusic.com/manuals/bbw2024upgrade/chapter3.htm#enhanced-melodist

Forum Statistics
Forums66
Topics81,396
Posts732,514
Members38,442
Most Online2,537
Jan 19th, 2020
Newest Members
danielsk, Mark Morgan, zagrajbarke, Ernest J, Izzy
38,442 Registered Users
Top Posters(30 Days)
MarioD 195
Al-David 124
DC Ron 116
dcuny 87
rsdean 85
Today's Birthdays
CeeDee, SethMould
Powered by UBB.threads™ PHP Forum Software 7.7.5