User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - mapping lowest note of cord »
Welcome, Guest. Please Login or Register.
May 10th, 2025, 2:57am


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Mapping Questions
(Moderator: Jamie OConnell)
   mapping lowest note of cord
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: mapping lowest note of cord  (Read 1109 times)
jack1931768
New Member
*



MIDI-OX Rules!

   


Gender: male
Posts: 1
mapping lowest note of cord
« on: Mar 21st, 2011, 6:56pm »
Quote Quote Modify Modify


I want to map only the lowest note of a cord  
(on the bottom octave) to a diferent channel.
 
To simulate a pedal board.
 
Any Ideas ?  Sad
 
'some organs call this =  Mono Bass  '
 
IP Logged
Peter L Jones
Expert
*****




Hit it

   
WWW

Gender: male
Posts: 978
Re: mapping lowest note of cord
« Reply #1 on: Mar 22nd, 2011, 8:36am »
Quote Quote Modify Modify

There's no such concept as a chord in MIDI.  Everything is seen as individual events.  So when you press a key, a "Note On" event is sent.  When you press another, another "Note On" is sent.  When you release them, you get "Note Off" events for each.
 
MIDI OX processes these events one at a time.  It doesn't know, for example, that 20ms ago there was a "Note On" event four semitones below this one.  That earlier event has been dealt with and is forgotten.
 
Thinking of it the other way around also reveals some problems.
 
* At T+0, no notes a pressed or held.
* At T+1 you press and hold middle C.  Now, is this the "lowest note in a chord"?  Not really, there's only one note held.
* At T+2 you press and hold A above middle C.  Is this new event the "lowest note in a chord"?  No, the middle C already held is... but that event has already been processed at T+1 -- it's too to do anything about it now.
 
You will never be able to look forward in time from T+1 to T+2 to foresee what events are going to take place.  (Well, if you could, I'll get you to place my bets for me...)
 
You could write a program that monitors incoming MIDI events and remembers the last event that happened and decides what to do based on two events, rather than just the current one.
 
Alternatively, allocate a key range to be the pedal board and map that.
« Last Edit: Mar 22nd, 2011, 8:37am by Peter L Jones » IP Logged

"...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world." -- Tony Williams
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.