views:

34

answers:

2
  1. In MIDI note off event velocity can be specified as well, why?
  2. Always when a Note On event's velocity is zero, it basically represents a Note Off event? and vice versa, always when there is a NoteOff event it represents Note Off regardless of its velocity?
  3. I noticed in some MIDI files, instead of using Note Off events, there is another Note On with velocity set to zero for the corresponding Note On, why not just use simple Note Off events?
+2  A: 

Note Off with velocity makes sense for after-touch capable synths.

wwwar
+2  A: 
  1. see wwwar's answer - it's for after-touch
  2. yes, NoteOn with zero velocity is essentially NoteOff
  3. this is simply because that is what a lot of MIDI keyboards send out. You can do either according to the MIDI spec. The advantage of using note on with zero velocity is that it can be sent more efficiently if you use MIDI running status
Mark Heath
Could you please elaborate a bit more about no. 1? what is after-touch for note-off?
Shimmy
A feature brought in the late 1980s, whereby dynamics are added after the key is hit, allowing the sound to be modulated in some way (such as fade away or return), based upon the amount of pressure applied to the keyboard. From http://en.wikipedia.org/wiki/Electronic_keyboard
Khurram Aziz