The MIDI Protocol: MIDI Messages | Simon Hutchinson

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 มิ.ย. 2024
  • An overview of MIDI messages and how to construct this musical performance information from status bytes and data bytes.
    Building off of our last discussion of MIDI ( • The MIDI Protocol: Bit... ), I go over MIDI channels, and then go through the messages for Note Off, Note On, Polyphonic Aftertouch, Control Change, Program Change, Channel Aftertouch, and Pitch Bend Change--understanding each bit's role in these messages.
    0:00 Status Bytes and Data Bytes
    0:40 MIDI Channels
    2:44 List of MIDI Messages
    3:38 Note On and Note Off
    5:15 Control Change Messages
    5:56 Program Change Messages
    6:59 Polyphonic and Channel Aftertouch
    9:01 Pitch Bend Change
    10:12 Other Technologies
    Using MIDI to make data-driven instruments: • Crafting Musical Exper...
    More sound synthesis: • Sound Synthesis and MI...
    Subscribe for new videos every week: th-cam.com/users/SimonHut...
    Follow me:
    Official Website - simonhutchinson.com/
    Twitter - / cybrshutchinson
    facebook - / simonhutchinsoncomposer
    itch.io - simonhutchinson.itch.io/
    Soundcloud - / simon-j-hutchinson
    I’m a composer, sound-designer, and new media artist trying to bring a global perspective to music technology. This channel contains performances, experiments, and instructional videos for artists and audiences searching for new ideas and avenues of musical expression.
  • เพลง

ความคิดเห็น • 83

  • @ngonidzashemwanjira208
    @ngonidzashemwanjira208 8 หลายเดือนก่อน +4

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

  • @RayyMusik
    @RayyMusik หลายเดือนก่อน +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  หลายเดือนก่อน +2

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

  • @synapticmemoryseepage4447
    @synapticmemoryseepage4447 7 วันที่ผ่านมา +1

    Awesome breakdown of digital elements of MIDI.

  • @Phreshie91
    @Phreshie91 2 ปีที่แล้ว +22

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

    • @SimonHutchinson
      @SimonHutchinson  2 ปีที่แล้ว +3

      Happy to hear it! Glad it was helpful!

    • @danpedersen55
      @danpedersen55 ปีที่แล้ว

      Notes and Volts does a good job explaining it too.

    • @chrishettinger6314
      @chrishettinger6314 4 หลายเดือนก่อน

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

  • @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!

    • @SimonHutchinson
      @SimonHutchinson  2 ปีที่แล้ว +2

      Glad it helped! Good luck on your exam!

  • @techtinkerin
    @techtinkerin ปีที่แล้ว +1

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

  • @OfFormerFame
    @OfFormerFame ปีที่แล้ว +5

    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.

    • @SimonHutchinson
      @SimonHutchinson  ปีที่แล้ว +1

      th-cam.com/video/Ll6L7o42I-s/w-d-xo.html

  • @orfu2003
    @orfu2003 6 หลายเดือนก่อน +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  6 หลายเดือนก่อน +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!

  • @leo0884
    @leo0884 ปีที่แล้ว +2

    best explanation on YT, THANKS!!

  • @dtatge1
    @dtatge1 3 ปีที่แล้ว +3

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

  • @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 2 ปีที่แล้ว

      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 2 ปีที่แล้ว

      @Salvador Madden instablaster =)

    • @salvadormadden2090
      @salvadormadden2090 2 ปีที่แล้ว

      @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.

  • @BearDimka
    @BearDimka ปีที่แล้ว +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!

    • @SimonHutchinson
      @SimonHutchinson  ปีที่แล้ว +1

      You're very welcome! Glad it was helpful!

  • @yourmother5914
    @yourmother5914 2 ปีที่แล้ว +1

    Wonderful explanation!!!

  • @annava6450
    @annava6450 2 ปีที่แล้ว +3

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

  • @AndreasThilander
    @AndreasThilander 3 ปีที่แล้ว +4

    Very well explained, thanks!

  • @marclanger6620
    @marclanger6620 ปีที่แล้ว +1

    Thanks for this! Very clear and helpful.

  • @danpedersen55
    @danpedersen55 ปีที่แล้ว +1

    Super video 🙂👍

  • @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.✨

  • @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.

  • @k0csisgab0r
    @k0csisgab0r 3 ปีที่แล้ว +6

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

  • @nandomoraes
    @nandomoraes ปีที่แล้ว +1

    Awsome!!!

  • @ssmith2019
    @ssmith2019 2 ปีที่แล้ว +1

    Well done ! Thanks !

  • @katelikesrectangles
    @katelikesrectangles ปีที่แล้ว +1

    this was great, thank you!

  • @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

  • @tolitsrevilla7911
    @tolitsrevilla7911 2 ปีที่แล้ว +1

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

  • @Pierre.Dagens
    @Pierre.Dagens 2 ปีที่แล้ว +1

    Awesome thanks a lot!

  • @Catzzye
    @Catzzye ปีที่แล้ว +1

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

    • @SimonHutchinson
      @SimonHutchinson  ปีที่แล้ว +2

      Thanks! Glad to hear it was helpful!

  • @L2.Lagrange
    @L2.Lagrange ปีที่แล้ว +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

  • @anirudhkannan4089
    @anirudhkannan4089 2 ปีที่แล้ว +1

    great video! helped me a lot :)

  • @sekritskworl-sekrit_studios
    @sekritskworl-sekrit_studios 5 หลายเดือนก่อน +1

    +1 SUBCRIPTION!!!
    Thank you!

  • @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 ^^!

  • @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 - th-cam.com/video/NHufvylg0Vw/w-d-xo.html

  • @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 3 หลายเดือนก่อน +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  3 หลายเดือนก่อน +1

      Check this out (timestamped link): th-cam.com/video/y5Sah0bJYkg/w-d-xo.htmlsi=PtGPPO2dvYavDutc&t=308

  • @_blind_mice7029
    @_blind_mice7029 9 หลายเดือนก่อน +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  9 หลายเดือนก่อน

      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: th-cam.com/video/Ll6L7o42I-s/w-d-xo.html

    • @_blind_mice7029
      @_blind_mice7029 9 หลายเดือนก่อน +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!

  • @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.

  • @Dewal4
    @Dewal4 3 หลายเดือนก่อน

    How to get revive MIDI data ??

  • @benparamoresound338
    @benparamoresound338 2 ปีที่แล้ว

    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  2 ปีที่แล้ว +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 2 ปีที่แล้ว

      @@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 2 ปีที่แล้ว

      @@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 4 หลายเดือนก่อน

    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 9 หลายเดือนก่อน

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

    • @SimonHutchinson
      @SimonHutchinson  9 หลายเดือนก่อน

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