Skip to main content

MIDI Forum

Question about simu...
 
Notifications
Clear all

Question about simultaneous identical event types

3 Posts
3 Users
1 Reactions
88 Views
Jason
Posts: 489
Honorable Member
Topic starter
 
[#5031]

Let's say I have a MIDI file, and it plays multiple notes on the same channel at the same time, same tick for note on.  I also apply a pitch bend to each.

So commands might look like

Bend 250

Note On A

Bend 0

Note On B

Since both bend commands occur on the same tick, will both bends be applied correctly, or will both notes get Bend 250, or will both get Bend 0?

I can't seem to find anything in the specs that specifically mention it.  I was under the assumption that only the last bend would be used, since I have been working with files that typically are single-note-at-a-time.  However,  now that I am looking at some multi-note files, I am wondering if I was mistaken.  If both bends DO apply, then I will need to modify my duplicate-command pruning function to be more selective.


This topic was modified 3 weeks ago by Jason
 
Posted : 07/04/2026 9:30 am
Sema
 Sema
Posts: 189
Reputable Member
 

Bend 0 should override bend 250, so you will hear both notes having bend 0.

Imagine you return the pitch bend to 0 very very fast after pressing the note key.


 
Posted : 08/04/2026 2:22 pm
Jason reacted
Jason
Posts: 489
Honorable Member
Topic starter
 

Perfect! That's what I thought initially. Since I only deal with software, I forget sometimes that there are physical limitations that influenced the original MIDI specs


 
Posted : 08/04/2026 3:28 pm
Share: