The MIDI Protocol: MIDI Messages | Simon Hutchinson

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 92

  • @SimonHutchinson
    @SimonHutchinson  Місяць тому +2

    I am super-thrilled that this video I made three years ago continues to help people wrap their brains around MIDI messages. 😁 If you enjoy this video, please consider subscribing and checking out my other videos for more synthesis and audio tutorials - ua-cam.com/users/SimonHutc

  • @ngonidzashemwanjira208
    @ngonidzashemwanjira208 Рік тому +4

    This channel is a gem for mathematically inclined and detail oriented folks like me

  • @Phreshie91
    @Phreshie91 3 роки тому +24

    THE clearest explanation of MIDI protocol I've found yet!!! Thank you!!!!🙌🏾

    • @SimonHutchinson
      @SimonHutchinson  3 роки тому +3

      Happy to hear it! Glad it was helpful!

    • @danpedersen55
      @danpedersen55 Рік тому

      Notes and Volts does a good job explaining it too.

    • @chrishettinger6314
      @chrishettinger6314 10 місяців тому

      I 100% agree. You have a gift. Glad I found your channel.

  • @ewwitsantonio
    @ewwitsantonio 3 місяці тому +2

    Beautiful video :) Moments like this make me appreciate UA-cam SO much. Thanks for creating it and sharing. I've used MIDI for years, been programming for years, but never really understood MIDI and always wanted a quick video at an appropriate level to dive into the protocol. This is it!

    • @SimonHutchinson
      @SimonHutchinson  3 місяці тому +2

      Thanks so much for your kind comment! I appreciate it!

  • @RayyMusik
    @RayyMusik 7 місяців тому +2

    I used to be an IT guy and have been using MIDI for nearly 40 years, but watching your video is the first time I really understand what is going there. Dave Smith and Kakehashi Ikutaro were geniuses!

    • @SimonHutchinson
      @SimonHutchinson  7 місяців тому +2

      😆 I have a slide that I show to my class that just says “MIDI is Awesome”.

  • @amancu1963
    @amancu1963 Рік тому +3

    Clear and straightforward, no additional b...hits, exactly what I needed and was looking for. Thank you!

  • @engageguignol7847
    @engageguignol7847 2 роки тому +5

    Just preparing my exam right here, my course was unclear and I needed to look for a visual explanation, you helped me a lot! Thank you so much!

  • @synapticmemoryseepage4447
    @synapticmemoryseepage4447 5 місяців тому +1

    Awesome breakdown of digital elements of MIDI.

  • @earowemusic
    @earowemusic 3 роки тому +6

    Thank you for such a clear and easily-followed breakdown!
    This perfectly clarifies some of the lingering confusion I've been puzzling over since the '80s... ;)

    • @SimonHutchinson
      @SimonHutchinson  3 роки тому +2

      Glad it was helpful! The 80s, huh? The good news is it's not too late to finish up work on that synthwave album!

    • @earowemusic
      @earowemusic 3 роки тому +2

      @@SimonHutchinson My trusty MSQ-700 cannot help but agree... :)

    • @salvadormadden2090
      @salvadormadden2090 3 роки тому

      i know Im asking the wrong place but does any of you know of a method to get back into an instagram account..?
      I was stupid forgot the login password. I would appreciate any tips you can offer me.

    • @turnereverett2363
      @turnereverett2363 3 роки тому

      @Salvador Madden instablaster =)

    • @salvadormadden2090
      @salvadormadden2090 3 роки тому

      @Turner Everett thanks for your reply. I found the site thru google and Im trying it out now.
      Seems to take a while so I will reply here later when my account password hopefully is recovered.

  • @orfu2003
    @orfu2003 Рік тому +2

    What a tremendous video, I’ve been a guitar player for many years, and recently started playing 80s and 90s synths. While I learned practically how to daisy chain them, I always wanted to know how each instrument “knew” which channel was which. Thanks so much!

    • @SimonHutchinson
      @SimonHutchinson  Рік тому +2

      Thanks for watching! It's wild, huh? I'm actually just editing a new video on MIDI system messages, to show the messages that you can send to your *entire* daisy-chained system. Stay tuned!

  • @techtinkerin
    @techtinkerin 2 роки тому +1

    The design of midi was very forward thinking, it's 40 years old and still as useful today as ever! Thanks, great video 👍😎❤️

  • @leo0884
    @leo0884 Рік тому +2

    best explanation on YT, THANKS!!

  • @dtatge1
    @dtatge1 3 роки тому +3

    This should have way more views! Leaned a lot from this, thanks!

  • @andrewrossy
    @andrewrossy 4 місяці тому +1

    You should also add about the amazing Running Status feature of MIDI. Where - as long as the data bytes are still for same status message & channel (example key on ch 1) , then each individual status bytes does not need to be repeated, just the key and velocity. Given that MIDI was only 31,250bit/sec (3125 bytes per second). This greatly improved the available bandwidth.
    Truely amazing what they managed to cram into the microprocessor tech of the day.

  • @BearDimka
    @BearDimka 2 роки тому +1

    This is really a wonderful video. I have not found any video about MIDI with such a clear explanation as yours. It's really helped to systemes the bits and pieces of knowledge about MIDI that I had!

  • @TerenceKearns
    @TerenceKearns 2 роки тому +1

    Best executive overview explanation for foundational midi on the Internet :)
    Wanting to write an app to accept CC data from a generic midi controller using python

  • @OfFormerFame
    @OfFormerFame 2 роки тому +6

    This video repeatedly mentions "127" voices, or cc messages, etc. There are actually 128. 2^7. The 127 comes from the numbering system being 0-based, so the first is 0, second is 1... one-hundred twenty-eighth is 127.

  • @k0csisgab0r
    @k0csisgab0r 3 роки тому +6

    Thank you! Could you make a video about System messages?

  • @annava6450
    @annava6450 3 роки тому +3

    Super helpful video man. MIDI is such a fascinating and helpful tool.

  • @bringerofdoom3750
    @bringerofdoom3750 2 роки тому +1

    Great video. Learned all kinds of little nuggets. Ended up subscribing and started watching the Pure Data Tutorials. I've been experimenting heavily with generative plugins, so understanding the "why" seems to be the next logical step. Keep it up.

  • @L2.Lagrange
    @L2.Lagrange 2 роки тому +2

    Really great video man. I have been wondering exactly what midi protocol looks like for a while now. I have a project in my microcontrollers class using a PIC24 microcontroller and MPLABX, and I am strongly considering trying to work with some amount of MIDI protocol. If I don't use it then, I'm sure ill try building something with it sooner rather than later

  • @katelikesrectangles
    @katelikesrectangles 2 роки тому +1

    this was great, thank you!

  • @AndreasThilander
    @AndreasThilander 3 роки тому +4

    Very well explained, thanks!

  • @Catzzye
    @Catzzye 2 роки тому +1

    Nicee, this rocks! Was always wondering on how it works in the context I understand :D

  • @sharonedigitale
    @sharonedigitale 3 роки тому +3

    Thank you so much🥁💥

    • @sharonedigitale
      @sharonedigitale 3 роки тому +1

      You clarified some very essential concepts I wasn’t able to grasp from a bunch of other video explanations. And your slides were super helpful. Very grateful for your time and effort in putting this out. Thanks again.✨

  • @marclanger6620
    @marclanger6620 2 роки тому +1

    Thanks for this! Very clear and helpful.

  • @nandomoraes
    @nandomoraes 2 роки тому +1

    Awsome!!!

  • @cookedaudio
    @cookedaudio 5 місяців тому +1

    Great info. Thx so much!

  • @danpedersen55
    @danpedersen55 Рік тому +1

    Super video 🙂👍

  • @ssmith2019
    @ssmith2019 2 роки тому +1

    Well done ! Thanks !

  • @BsktImp
    @BsktImp 3 місяці тому +1

    Thanks for taking time to make this. At 01:34 I'm confused though: in a DAW you might have one track per instrument articulation (legato, staccato, pizzicato etc etc) so can easily hit 50-100 tracks for an orchestral piece which is way more than 16 channels. So how is this is situation normally managed? I appreciate there's the key switch method also.

    • @SimonHutchinson
      @SimonHutchinson  3 місяці тому +1

      Good question. DAW tracks and MIDI Channels are different. A DAW isn't limited in the number of tracks it can have (well, unless it's limited by the manufacturer), it's not limited by the number of channels the MIDI protocol can represent. The MIDI protocol, though, can only represent these 16 channels though, so a DAW sending to an external synth could only send 16 channels to that external synth along that MIDI cable.

  • @tolitsrevilla7911
    @tolitsrevilla7911 2 роки тому +1

    Thanks to this. Well explained! You got a new subscriber.

  • @Pierre.Dagens
    @Pierre.Dagens 2 роки тому +1

    Awesome thanks a lot!

  • @JujuChichi
    @JujuChichi Рік тому +1

    Hi Simon,
    I came across your video while looking for ways to transcribe MIDI Messages through Image Inputs
    I was slightly interested in understanding if some other triggers could be used to encode these messages (such as the RGB Data, and equating it with similar data bytes in a way?)
    This may allow people to sonically experience photographs.
    I'd love to hear your views and take on this.

    • @SimonHutchinson
      @SimonHutchinson  Рік тому

      I'm not sure I completely understand your question, but, in short. You can convert all data (including MIDI data) into another kind of data (like RGB values). Check out more here - ua-cam.com/video/NHufvylg0Vw/v-deo.html

  • @anirudhkannan4089
    @anirudhkannan4089 2 роки тому +1

    great video! helped me a lot :)

  • @giostechnologygiovannyv.ri489
    @giostechnologygiovannyv.ri489 2 роки тому

    Thanks for your explanation! It's very useful for a project I have, do you recommend any video where they use assembly to transmit these midi packets (bytes) through USART to the computer (with an Arduino Uno ATMega328P uController, but using the assembly code instead of the more easy high level programming) to assign some keys (push buttons) to different things in the DAW's (FLStudio, Ableton, whatever)? Because I found many videos they do this but with the C-like code that uses Arduino, importing libraries, I tried to debug the libraries themselves, but I did not find a good explanation of the bytes sent, as you did in this video, I saw the Note on and stuff but it was not that clear. Thanks in advance if you know some source! If not anyway thanks for the video is very clear ^^!

  • @halcyon__r3289
    @halcyon__r3289 5 місяців тому +1

    nice

  • @_blind_mice7029
    @_blind_mice7029 Рік тому +1

    Thank you my friend! We're LUCKY to have access to knowledge/explanations like yours. I have 1 question if anyone has time to clarify:
    ...Is this dual functioning of the Data Byte's 1st Bit correct?
    1) '1'xxxnnnn designates it as a Status Byte as opposed to Data Byte, and
    2) The '1xxx'nnnn portion specifies the kind of message we're sending, i.e noteOff(1000nnnn),
    noteOn(1001nnnn), Polyphonic Aftertouch(1010nnnn), Control Change(1011nnnn), Program
    Change(1100nnnn), Channel Aftertouch(1101nnnn), Pitch Bend Change(1110nnnn), or System
    Exclusive(1111nnnn)
    I ask because I want to be sure the first Bit of a Data Byte serves two purposes.
    EDIT: spelling

    • @SimonHutchinson
      @SimonHutchinson  Рік тому

      Thanks for your message. I'm not completely clear on your question here. Maybe you're saying "Data Byte" when you mean "Status Byte"? I'm not sure. I do have another video about the bits and bytes here, which might answer your questions: ua-cam.com/video/Ll6L7o42I-s/v-deo.html

    • @_blind_mice7029
      @_blind_mice7029 Рік тому +1

      @@SimonHutchinson thanks for the quick response, and yes - I meant Status Byte where the MSB is '1'xxx nnnn... I watched your other video as well, and I think it answered my question. Thank you!

  • @stephen285
    @stephen285 Рік тому

    Hi Simon thanks tons for your videos ! can you tell me what using an inputhandler call back does that is different from the standard way midi apps handle inbound messages? - can you pretend I'm dumb as shit and explain accordingly because I don't get it at all? Thanks!

  • @1QuadControl
    @1QuadControl 8 місяців тому +1

    Hi, what is the function of the "Song Select" midi command. Status byte F3 (hex), followed by 1 data byte ? If I sent this to a synth, would it start playing the specified song??

    • @SimonHutchinson
      @SimonHutchinson  8 місяців тому +1

      Check this out (timestamped link): ua-cam.com/video/y5Sah0bJYkg/v-deo.htmlsi=PtGPPO2dvYavDutc&t=308

  • @sekritskworl-sekrit_studios
    @sekritskworl-sekrit_studios 11 місяців тому +1

    +1 SUBCRIPTION!!!
    Thank you!

  • @Dewal4
    @Dewal4 9 місяців тому

    How to get revive MIDI data ??

  • @AlvaroALorite
    @AlvaroALorite Рік тому

    Hello Simon! I have one question about the 1111nnnn status bytes. I've read that some sustain pedals will only work to their full capabilities only with keyboards of the same brand. Could the be due to the use of this "1111" data?
    And, if so, could manufacturer data be "replicated" to make a keyboard believe a pedal is from its brand?

    • @SimonHutchinson
      @SimonHutchinson  Рік тому +1

      I don't think that's correct. Sustain pedals are supposed to be Control Change Messages on controller number 64. So they shouldn't have much to do with System Messages or the brand of the pedal/keyboard.
      en.wikipedia.org/wiki/General_MIDI#Controller_events

    • @AlvaroALorite
      @AlvaroALorite Рік тому

      @@SimonHutchinson and could it also send that kind of data let's say in the first press? Another thing that confuses me is how sustain pedals use Jack audio cables as MIDI data cables.

    • @SimonHutchinson
      @SimonHutchinson  Рік тому +2

      The pedal connects to the keyboard (analog) electrically with a 1/4 jack, and the keyboard is what converts that cable into MIDI.

  • @benparamoresound338
    @benparamoresound338 3 роки тому

    I need your big brain a second! How do you work out MIDI channels from a Byte? Is there a calculation you can use or a formula?

    • @SimonHutchinson
      @SimonHutchinson  3 роки тому +1

      So, the status byte is 8 bits: 1 (Status byte marker), XXX (Type of MIDI Message), NNNN (MIDI Channel).
      Look at the NNNN. If it's
      0000 - MIDI Channel 1
      0001 - MIDI Channel 2
      0010 - MIDI Channel 3
      0011 - MIDI Channel 4
      0100 - MIDI Channel 5
      0101 - MIDI Channel 6
      0110 - MIDI Channel 7
      0111 - MIDI Channel 8
      1000 - MIDI Channel 9
      1001 - MIDI Channel 10
      1010 - MIDI Channel 11
      1011 - MIDI Channel 12
      1100 - MIDI Channel 13
      1101 - MIDI Channel 14
      1110 - MIDI Channel 15
      1111 - MIDI Channel 16
      ... I think I got that right.

    • @benparamoresound338
      @benparamoresound338 3 роки тому

      @@SimonHutchinson Thank you! If you had the MIDI channel but wanted to work out the binary NNNN would you just have to look at the diagram or is there a formula you could use to work it out?

    • @coderhd8554
      @coderhd8554 3 роки тому

      @@benparamoresound338 if you are using a programming language to get the channel from a byte, you can just do a byte AND 16 to mask off the rest of the bits to be 0. The remaining number is between 0-15, if you add 1 its the channel number between 1-16. Hope thats helpful

  • @chronomic3362
    @chronomic3362 Рік тому +2

    So, 2 to the 14th.. I'm not going to go through it :D

  • @cheesesoup2894
    @cheesesoup2894 3 роки тому

    Super explanation but please leave out the music :(
    Although I really like weirdly sequenced ambient wavetable stuff, this makes it a bit hard to follow. But this may be my ADHD kicking in, so what do I know...
    Anyways, finally a clean explanation of MIDI I was waiting for for years haha

  • @marckman1411
    @marckman1411 9 місяців тому

    Please turn off the background music

  • @rollandjoeseph
    @rollandjoeseph 2 роки тому

    This is so fucking confusing 😕

    • @SimonHutchinson
      @SimonHutchinson  2 роки тому +1

      Ha! Sorry! There are lots of resources on MIDI out there, though. I hope you can find one that resonates with you.

    • @superfrankpt
      @superfrankpt Рік тому

      Confusing!? This has to be one of the most simple protocols I have encountered in my live!

  • @suntzu6122
    @suntzu6122 Рік тому

    What about bank change? Did you miss this one or its something different?

    • @SimonHutchinson
      @SimonHutchinson  Рік тому

      www.sweetwater.com/sweetcare/articles/6-what-msb-lsb-refer-for-changing-banks-andprograms/