The MIDI Forum

  1. Ruchir
  2. MIDI Specifications
  3. Tuesday, 22 September 2020
  4.  Subscribe via email
Hello friends,
I've been working on a midicsv data analysis project and i came across a midi file which had following format in data,

1, 4003, Note_on_c, 0, 61, 0
1, 4012, Pitch_bend_c, 0, 8192
1, 4140, Note_on_c, 0, 61, 74
1, 4369, Pitch_bend_c, 0, 7661
1, 4395, Pitch_bend_c, 0, 7204
1, 4420, Pitch_bend_c, 0, 6770

Now I know what a pitch bender is physically, however as I found pitch_bend_c almost in 80% of instances within the file, I was a bit confused and had a few question which I've tried to google but could'nt find any source that had a clear answer.

1. Why do we see here Pitch_bend_c status in place of the regular Note_off_c message?
Has that anything to do with the performance / instrument or it is just a different method/standard of specification?
2. If that is a different method / standard of specification, can we somehow translate/convert it to the 'regular' method?

Note: I've linked the file here for your reference: file with the data

Thank you in advance for your guidance in this matter.
References
  1. https://1drv.ms/t/s!ArbKfMWI1XLXh9NWjvZ0lIon398Xew?e=VWJcEC
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
I'm not really sure what you're asking here.

Pitch Bend is a perfectly normal Controller setting, which is implemented on many devices, and supported by many devices for playback. The data you show looks perfectly normal.

Exactly how this function is implemented will vary somewhat between devices, and settings on those devices (nothing to do with midi). If PB uses a wheel, then operating that wheel could generate midi controller changes, or it could generate a 'flood' of midi instructions depending on the device, and it's sensitivity. And by 'flood' I do mean to the point of this being a problem. If you are getting too much (this is subjective) PB info you could check the sensitivity settings on your device.

Pitch Bend is nothing to do with Note Off. Pitch Bend is perfectly legitimate, if it's being generated, and clearly it is.

Looking at the separate data file, there seems to be no Note Off messages, and this seems to be wrong. I would expect to see Note Off messages. Are these being 'lost' in the flood of PB?

You say nothing about your setup, which is not helpful. If you're using one of the cheap midi/USB connectors, these CAN cause problems, including lost data

Oh, just thought. You must be using some sort of process (software ?) to generate the 'midicsv' format data. This might be set to disregard Note Off. In some situations, this might be a reasonable option.

Geoff
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Looking at the separate data file, there seems to be no Note Off messages, and this seems to be wrong. I would expect to see Note Off messages.

There are note on messages with velocity=0, which is just equivalent to note off.

This is the same as a note off:

1, 4003, Note_on_c, 0, 61, 0

The preference for using note on events with velocity=0 over note off ones is that they allow more compact data streams when applying running status.

Oh, just thought. You must be using some sort of process (software ?) to generate the 'midicsv' format data. This might be set to disregard Note Off. In some situations, this might be a reasonable option.

midicsv is software by John Walker that preserves note off events quite well:

https://fourmilab.ch/webtools/midicsv/
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Duh - yes. This must be my stupid day? I missed the obvious, and carried on from there, and dug an even deeper hole!!

Fresh start tomorrow??

Geoff
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Thank you all for your kind inputs and responses.

It appears that due to some tech problem/ software error this sort of junk messages were generated in the file.

I've re-converted the midi file through midicsv and it looks just fine with Note_on_c as well as matching Note_off _c messages

Sorry for the trouble I gave
Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!