Technical Info on USB MIDI - 7 Bit and 14 Bit
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1

    Default Technical Info on USB MIDI - 7 Bit and 14 Bit

    I studied analog and digital communications in college, and I've done a little research on USB and MIDI I/O. I wrote up a blog post (since it is too long for a forum) that explains the differences between MIDI 5-Pin and MIDI USB, as well as 7-bit MIDI from 14-bit MIDI.

    This should answer most of your questions about what happens between hitting a button on your USB Midi Controller and Traktor receiving a MIDI message. Obviously the mapper maps the message to the software function.

    I wrote this up to hopefully help someone who is converting to the digital world and/or for someone that just wants to know what's happening with his or her devices. Feel free to comment in the forum or in the comments of the blog. I may have left some things out. See the following URL:

    http://djvandraken.blogspot.com/2010...nd-14-bit.html

    Edit: This blog post does not get into the nitty gritty of tech-details, and it leaves out some crucial information on processing, A/D conversion, software, and hardware. It should still help you understand the basic differences though.
    Last edited by DJ Van Draken; 02-09-2010 at 05:14 PM. Reason: to further clarify

  2. #2
    Tech Mentor DJPhaidon's Avatar
    Join Date
    Nov 2008
    Location
    Reno, NV
    Posts
    482

    Default

    Good read!

    13" MacBook Pro 2.7 i7 w/dual Raid0 OWC SSDs - S4 - Ableton Live 8- Lemur- iPad 2

  3. #3
    Tech Guru sj03w4t's Avatar
    Join Date
    Sep 2009
    Location
    Home
    Posts
    854

    Default

    Your blog keeps becoming better good job on this article

  4. #4
    Tech Guru
    Join Date
    Nov 2009
    Posts
    924

    Default

    Dude, hardcore props for doing this. You have my appreciation

  5. #5
    DJTT Super Moderator midifidler's Avatar
    Join Date
    Mar 2008
    Location
    San Francisco
    Posts
    1,902

    Default

    Great article - Im sure that is going to help a lot of people.

    I think your statement about 14 bit midi & zero latency is a bit of the mark though.

    Zero latency is absolutley not possible, and while the actual time period for 14 bits of data to be transferred at 10 Mb/s is 1.4 uS, both computer operating systems and USB are far from real time. When it comes to midi data latency is still in the order of milliseconds is the norm, regardles of if it is 7 or 14 bit.

  6. #6
    Tech Mentor
    Join Date
    Nov 2009
    Posts
    355

    Default

    Interesting article

    So who is responsible in doing the AD conversion of a fader or a knob? The midi controller or the midi interface? Who is truncating the data?

  7. #7
    Tech Mentor DJPhaidon's Avatar
    Join Date
    Nov 2008
    Location
    Reno, NV
    Posts
    482

    Default

    Quote Originally Posted by pier View Post
    Interesting article

    So who is responsible in doing the AD conversion of a fader or a knob? The midi controller or the midi interface? Who is truncating the data?
    I'm going to assume that you mean that all midi is being sent 14 bits, and it gets truncated down to 7? AD conversion happens on the controller. The data isn't truncated, because most interfaces use AD converters are 7-bit for the standard midi definitions. Usually it's only the Pitch Bend knobs on keyboards that run in 14-bit, with some exceptions.

    13" MacBook Pro 2.7 i7 w/dual Raid0 OWC SSDs - S4 - Ableton Live 8- Lemur- iPad 2

  8. #8
    Tech Mentor
    Join Date
    Nov 2009
    Posts
    355

    Default

    Quote Originally Posted by DJPhaidon View Post
    I'm going to assume that you mean that all midi is being sent 14 bits, and it gets truncated down to 7? AD conversion happens on the controller. The data isn't truncated, because most interfaces use AD converters are 7-bit for the standard midi definitions. Usually it's only the Pitch Bend knobs on keyboards that run in 14-bit, with some exceptions.
    I wasn't saying that the data was 14 bits, but that it was converted to 7 bits lowering the resolution instead. Yeah my english is strange... sorry, I'm spanish.

    You think the 7 bits come from the AD conversion stage?

    I work with arduinos, which are really cheap circuits with AD/DA conversion for controlling electronics and such and they work with 10 bit resolution. I'd think the vci not being cheap would have the bottle neck somewhere in the firmware instead of being a hardware limitation.

    If what you say is true, then the supposed 1.4 firmware will never be able to upgrade the knobs/faders to 14 bits... because obviously it would be a hardware limitation.

    It would be nice to know where exactly the 7 bits come from.

    It would be really interesting to take a look at firmware code. But I really don't know where to start to get that.

  9. #9
    Tech Mentor DJPhaidon's Avatar
    Join Date
    Nov 2008
    Location
    Reno, NV
    Posts
    482

    Default

    Quote Originally Posted by pier View Post
    You think the 7 bits come from the AD conversion stage?

    I work with arduinos, which are really cheap circuits with AD/DA conversion for controlling electronics and such and they work with 10 bit resolution. I'd think the vci not being cheap would have the bottle neck somewhere in the firmware instead of being a hardware limitation..
    Don't know what the ADC's resolution are, but they are probably 8 or 10 bit resolutions on the VCI, but less that 14 bit so only compatible with the 7 bit midi standard. From what I understand, the bits get truncated in the firmware even at higher resolutions though, cause the midi standard separates the signals into command and data at 7 bits resolution, and unless it's 2 sets of 7 bit data to make 14-bit, then it's no good.

    13" MacBook Pro 2.7 i7 w/dual Raid0 OWC SSDs - S4 - Ableton Live 8- Lemur- iPad 2

  10. #10
    DJTT Super Moderator midifidler's Avatar
    Join Date
    Mar 2008
    Location
    San Francisco
    Posts
    1,902

    Default

    Any ADC resolution is compatible with 14 bit midi. I would lay a bet that nearly all midi controllers which have high resolution (14 bit messages) faders etc are sampling at a lower resolution. Most probably 10 which is the most common resolution on mid range micro controllers. This is still 8 times the resolution of 7 bit, giving better than .01 % control on pitch which is the analog control which has the highest requirement for resolution.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •