== Software Protocol ==
Basically transmits commands like key onUnlike audio protocols that transmit sound waves, key offMIDI carries event messages—instructions about what to play, plus pitch/volume parametershow to play it, and when.These messages include:
Write more*Note On/Off: Triggers a note (e.g., "play middle C") and stops it.*Velocity: Indicates how hard a note is struck (volume or intensity, typically 0-127).*Pitch Bend: Adjusts a note’s pitch in real-time.*Control Change (CC): Modifies parameters like volume, pan, or modulation (e.g., CC#7 for volume).*Program Change: Switches instrument sounds (e.g., from piano to violin). MIDI doesn’t contain audio data; it’s a set of commands that a synthesizer, sampler, or software interprets to generate sound. This makes MIDI files tiny compared to audio files—think kilobytes versus megabytes.
== Hardware Protocol ==