Why Does MIDI Offer 127 Notes

后端 未结 6 892
鱼传尺愫
鱼传尺愫 2021-02-14 05:11

Is the 127 note values in MIDI musically significant (certain number of octaves or something)? or was it set at 127 due to the binary file format, IE for the purposes of computi

6条回答
  •  死守一世寂寞
    2021-02-14 05:47

    0 ~ 127 fits nicely for ADC conversions.

    Many MIDI hardware devices rely on performing Analog to Digital conversions (ADC). Considering MIDI is a real time communication protocol, when performing an ADC conversion using successive-approximation (a commonly used algorithm), a good rule of thumb is to use 8 bit resolution for fast computation. This will yield values in the 0 ~ 1023 range, which can be converted to MIDI range by dividing by 8.

提交回复
热议问题