MIDI Bass note recognition

Joined
Nov 7, 2014
Messages
2
Reaction score
0
hi,
Does anyone know if it is possible to determine the base notes being played from all the midi info when a keyboardist is playing?
What would be the technical way of figuring out the bass notes?
Thanks.
Craig.
 

SeaGtGruff

I meant to play that note!
Moderator
Joined
Jun 6, 2014
Messages
4,114
Reaction score
1,737
There's two possibilities, depending on the setup of the keyboard.

If the keyboard is "split," meaning the keys are divided into two zones so that one type of sound can be played with the left hand and another type of sound can be played with the right hand, then the left-hand part will be transmitted on a different MIDI channel than the right-hand part-- so once you know which channel is being used for the left-hand part, you just look at the notes on that channel.

On the other hand, if the keyboard isn't split, you'll need to look at the notes and decide which ones you're interested in based on their MIDI note numbers. MIDI notes are numbered from 0 to 127, with Middle C being defined as note 60. That means any notes between 0 and 59 would normally be written in the bass clef-- although that doesn't necessarily mean that they're played with the left hand, because you can shift a keyboard up or down one or more octaves, plus some of the notes that would normally be written in the bass clef might be written in the treble clef if they're intended to be played using the right hand.

So first you need to define what you mean by "bass notes." If you mean any notes that would normally be written in the bass clef, then it would be any notes with values of 60 or less (60 or Middle C could be in either the bass clef or the treble clef, since it's not really in either clef).
 
Last edited:
Joined
Nov 7, 2014
Messages
2
Reaction score
0
hi thanks for the reply!
I have tried the 60/40 split and the problem the right and left zones run into each other across the split!
So the problem I need is the second option you have said!
Any ideas on how I could narrow the bass notes out of it?
Thanks.
Craig.
 

SeaGtGruff

I meant to play that note!
Moderator
Joined
Jun 6, 2014
Messages
4,114
Reaction score
1,737
Are you saying that the keyboard is split? If it is then what you'll probably want to do is determine which channel the left-hand notes are being sent on, and use those notes. In many cases the right-hand zone will be on channel 0, and possibly also on channel 1 (if the right-hand zone is using a dual or layered sound), with the left-hand zone being on channel 2-- but that isn't always the case, so it's best to use a MIDI monitor to see which channels are being used for what. And yes, it's possible for the two sides of a split keyboard to overlap if either side has an octave shift applied to it.

If the keyboard is not split, and what you mean is that the right and left hands are moving all over the keyboard (as is typical when playing the piano), then I guess what you're asking is how to identify the notes being played by the left hand versus the right hand, and not necessarily which notes are the "bass clef" notes. If that's the case, then I'm not sure whether there's a simple solution, since there's really no way to be certain which notes are being played by the left hand-- for instance, a piano piece may require that the pianist play a lengthy series of ascending notes by starting with the left hand, then switching to the right hand, then reaching over the right hand to continue with the left hand, then using the right hand again, etc.

If it's safe to assume that the left hand will always being playing to the left of the right hand, then you might be able to figure out which notes are being played by which hand based on how close together or far apart they are, where it's assumed that the close-together notes are being played by one hand and the largest gap is assumed to separate the left-hand notes from the right-hand notes, but that won't always be true. So I doubt there's a 100% fool-proof "automatic" method that could be programmed on a computer, although you might be able to do it manually by eye-balling the notes of the song in a piano roll editor and making your best educated guess.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
14,065
Messages
86,856
Members
13,155
Latest member
matiSon

Latest Threads

Top