The standard protocol for linking keyboards, synths, drum machines, and controllers to a computer is MIDI (Musical Instrument Digital Interface)—now often carried over USB.
Traditional setup: Controller → MIDI Out → Interface MIDI In. Interface MIDI Out → Sound Module MIDI In.
Most controllers now connect via USB directly to the computer—no separate MIDI interface needed. The USB cable carries both power and MIDI data. Class-compliant = no driver install (usually).
Performance instructions, NOT audio. Data: note number, velocity, timing, pitch bend, mod wheel, program change, aftertouch. Lightweight, infinitely editable.
This non-destructive flexibility is why MIDI remains the backbone of computer music production since 1983.