Would you love to have some musical freedom while collaborating remotely with the members of your music band? Or, are you happy creating a complete music piece singlehandedly? In both cases, creating music on a computer or iOS device is made easy by selecting the best MIDI keyboards from your home or mobile studio setup.

MIDI keyboards are piano-style devices that enable you to play and record music using the software instruments of Digital Audio Workstation (DAW) and installed VST synth plugins. They can be plugged into the PC or laptop through the USB port. Some keyboards also work wirelessly using Bluetooth.

With the liberty of time, minimal or restricted travel, it’s a rare opportunity that must not be missed. Surprise, you could be the next musician for a big music concert; you could break free from your regular mundane job and life. When you start off, becoming a Mozart or Beethoven is a distant dream but with perseverance, practice, and dedication, who knows, one can produce one of the greatest contemporary music from the home studio with just the computer, laptop, or iOS device and the best MIDI keyboards. 

Take some time to consider the pros and cons of each of the products on the following list. Once you finish the following guide, you will definitely find one of the best MIDI keyboards for you!

Are you on the market for your first MIDI keyboard? Arturia KeyLab 61 keys keyboard is affordable and specially made for beginners. It includes special functions for beginners, including Ableton Live Lite and Arturia’s Analog Lab 2. The most notable is its KeyLab Essential plug-in that includes only a bare minimum limited set of controls and visual feedback to work.

It’s made for studio and home music productions and can be powered exclusively by a 9V DC power supply. It comes with the V Collection software and a huge collection of V Collection sounds of virtual instruments. You can easily browse and control the V Collection sounds with the included Analog Lab plug-in.

For live work, a single open playlist provides a row of buttons below the faders that help you to instantly move between the instrument type categories.

In the Analog lab, it is possible to create layered macros to control other assignments and even the internal part mixer.

The sliders are switchable between Jump or Pick-up modes for DAW control. For smooth takeovers, they can also scale in the analog lab.

To save and recall your own MIDI control assignments, it provides 10 slots. You can easily set up and manage them in the MIDI Control Center software; alternatively, it is even possible to edit them directly on the hardware.

For patch browsing and selection, it includes a central display and a handy data wheel.

KeyLab allows you to toggle buttons, limit CC control ranges, color code pads for making a note of CC, or change program messages. You can even set the pads to recall other user templates.

It is a feature-rich keyboard for both studio and stage with dedicated DAW control functionality, CV connectivity, and solid design and layout.

Key Features
  • Excellent CV connectivity with single CV input
  • Next-generation backlit performance pads
  • Analog lab offers synths and keys focused sounds and patch library and playlists
  • Excellent velocity-sensitive keys and soft synth-action
Pros
  • Works and thinks without a computer
  • Durable, rugged, and robust for music tours
  • DAW is nicely integrated and highly programmable
  • USB port and DC adaptor for dual power
Cons
  • Appears like a toy
Buy This Product
Arturia KeyLab 61 Key MIDI Keyboard B071KQBQVC

Let your imagination run wild and open endless possibilities and produce fantastic music by previewing thousands of sounds and listening to them instantly without the need to first load them. The Komplete Kontrol software of Komplete Kontrol S61 MKII keyboard makes this possible.

It is designed primarily for driving the initial creative stages of building a music track and motivating you. A host of new functions are included in it while keeping this primary goal in mind.

You can see all the activities done by you live on the keyboard controller. The interface is user-friendly. It is possible to browse patches and view controls on the dual high-resolution screens.

It’s so easy to set up and use; even a 14-year-old can just start creating music in a few minutes. Music-making is pleasant and comfortable with the ergonomic and smooth knobs and controls.

It has got a huge collection of high-quality sounds suitable for all genres. Komplete 11 Select libraries inspire you to get started with music creation.

It feels less like a keyboard controller and more like a musical instrument. It is possible to browse sounds and play eight popular functions on any synth and load them instantly on the keyboard using the Komplete 11 software. Its superfast previewing capabilities speed up the workflow.

The mixer is fluid. The touch-sensitive knobs work beautifully in browser mode. The keyboard is quite lightweight and is designed for on-the-go music creation.

It is quite simple to create various templates of MIDI mappings of the keys, knobs, and buttons to easily switch layouts.

The USB 2.0 port powers the keyboard with bus power facilitates communication with your computer.

Key Features
  • 4-directional push encoder to browse sounds and projects with one hand
  • Dual high-resolution screens to browse patches and view controls
  • KOMPLETE 11 bundle is the finest collection for production, performance, and sound design
  • Sturdy and smooth knobs and controls with ergonomic feel
Pros
  • Creating music on it is more intuitive
  • Pre-mapped control of KOMPLETE and Native Kontrol Standard (NKS) instruments
  • Elaborate integration with MASCHINE software and hardware
  • Allows limitless expression by sketching your ideas and tweaking parameters
Cons
  • Does not come with sliders
Buy This Product
Native Instruments Komplete Kontrol S61 MKII Mk3 MIDI Keyboard B076NWVQG1

Here is a fantastic keyboard for creating beats at an affordable cost. This compact and portable MPC Beats-based keyboard makes editing music samples, sequence, and mix extremely easy.

It is equipped with velocity-sensitive keys for studio production and virtual synthesizer control for beat production.

To take total control of production, not only does it come with an innovative four-way thumbstick for controlling dynamic pitch and modulation but also an in-built arpeggiator with adjustable resolution, range, and modes. Assignable controls and eight pads also give you control for production. All the subtle details of your music performance are captured by the improved dynamic key bed. Be ready to get your latest hit music track out.

It has eight backlit velocity-sensitive MPC-style MIDI beat pads with note repeat and full level for programming drums, triggering samples, and controlling virtual synthesizer, and DAW controls.

Getting a complete command of virtual instruments is easy. The FX-8 360-degree knobs are assigned to music studio plugins for mixing, tweaking synth controls, and more.

With 1500+ sounds, it is equipped with a comprehensive music production starter kit including MPC Beats, six virtual instruments, and 2GB of sound content. It’s equipped with everything you need for pro production.

MPK mini extracts high performance from the world’s finest keyboard players, whether it is grand pianos or intense synth leads. The key bed gets out the best from all playing styles.

Note repeat is excellent for creating different kinds of beats and sequences. The arpeggiator is useful for generating patterns in several different modes. The omnidirectional joystick is the other key feature for controlling pitch and modulation.

Key Features
  • Excellent omnidirectional joystick for pitch bend and other CC changes
  • Every note is labeled with a quantize or a swing value
  • MPC Beats software to record and edit music samples and sequence and mix
  • Remarkably responsive key bed
Pros
  • Creating beats, notes, and melodies on it is handy and enjoyable
  • Music production starter kit with pre-loaded sounds in the MPK app
  • Beats DAW with hybrid synth and velvet electric piano for creating beats
  • Precise, compact, and strongly built
Cons
  • Mapping to third-party DAWs is not completely clear
Buy This Product
AKAI Professional MPK Mini MK3 MIDI Keyboard B0886KWVYR

Operating a keyboard should be simple. When it is, everyone can have fun when they use one. Music creation requires a lot of creative energy, and no one wants to get frustrated with complex functions and controls.

Nektar Impakt LX88+ is a powerful and yet delightfully simple keyboard with balanced preset functions, which are not complicated. It’s an adaptable controller keyboard that comes with various knobs, sliders, drum pads, buttons/switches for making full-blown fantastic music. It integrates easily with the most renowned DAWs.

It comes equipped with four velocity curves that adapt to the different styles of keyboard players. To start, an amateur player can select one of the three fixed velocity levels.

Its built is robust; keys are strong, heavy, and at the same time, responsive and sensitive.

The controls and buttons are easily accessible with your left hand. The pitch bend and modulation wheels and drum pads, and even the transpose buttons are easily accessible.

It is possible to send up to three zones simultaneously on the LX88+. You can add a new layer using the Layer button. And the Split button allows you to add a split zone. When you press two buttons together, it provides access to new functionalities.

When you begin tuning a control that’s out of sync, the keyboard’s screen guides you by reading Up or Down (well, Dn) to bring the control back in sync. The syncing helps in stopping parameter jumps.

While tuning the control, the ‘Null’ mode recalls the previous position of controls that were in the previous bank or mode.

Key Features
  • Pad learn helps quickly re-assign pads to particular sounds
  • Clips mode helps trigger playback and recording of clips
  • 88-key advanced USB keyboard with drum pads, knobs, and faders
  • Four-colored LED illumination with pro plus
Pros
  • Slim and lightweight keyboard fits easily within a keyboard drawer
  • Velocity-sensitive keyboard equipped with 8 hyper-sensitive backlit pads
  • Software instruments automatically mapped to controls
  • Comes with Bigwig 8-track DAW
Cons
  • Do not come with rotary encoders
  • Does not have software editor and librarian
Buy This Product
Nektar Impakt LX88+ MIDI Keyboard B01LYAA8GN

Make a night memorable and fun by creating the best tracks for a party with a Novation SL49 Mk3 keyboard controller.

It’s an all-around performer; a full-sized, moderately-weighted, and aftertouch-equipped keyboard controller. It’s light, portable, quick, and comfortable to play. It’s a classic synth-style robust and strongly built keyboard.

The personalization of the feel of the keys is simple by the easily adjustable velocity curve.

The keyboard is connected by a rock-solid pitch and mod wheels. The buttons, pads, rotaries and faders, and five clear LCD screens also make it convenient to make music.

It offers a stylish and easy-to-navigate keyboard with a black matte panel, backlit controls, and a customizable keyboard light guide.

Managing and editing templates is easy. Modifying inner settings, managing sessions easily, and efficiently replacing the old Automap system is also extremely simple.

Presets of SL49 MKIII are divided into Sessions and Templates. The control routing setups for various hardware or software devices are stored in Templates, which can either be loaded from a previously created list, or it can be created from scratch. The sequencer and automation data are stored in the sessions. Both Sessions and Templates are known as a Pack.

Components offer an arranged and elegant environment for creating, editing, and storing everything stored within a Pack. The browser-based app is convenient for access on the move. It is also capable of editing Templates from a mobile device, which is quite convenient when you are away from the studio. It’s a very useful feature when you want to modify your setup on the way for a studio session or a live set. It is also possible to download and run components offline. Even when you are away in a remote place, your music-making can continue non-stop; there is no need for an Internet connection.

Key Features
  • Internal 8-track sequencer allows step-by-step entry of input notes
  • 8 independent Arpeggiators for creating complex poly-rhythmic patterns
  • Freely assignable after-touch
  • Velocity-sensitive RGB pads provide polyphonic after-touch
Pros
  • Classic synth-style keyboard, fast and comfortable to play
  • Outstanding and simple sequencer
  • Customizable range of digital and analogue controls
  • Components system to manage and edit template easily
Cons
  • Does not have per channel swing
Buy This Product
Novation SL49 Mk3 MIDI Keyboard B07JG6P95H

Would you love to have fun while playing varied musical instruments easily on a spongy surface by smoothly gliding your fingers as one does on a string instrument? You can be innovative and create new sounds, move fingers sideways to bend pitch on the Seaboard Block, or lightly press into its surface to deepen sounds. With access to hundreds of sounds from strings to synths and a host of production tools, the ROLI Studio player software suite makes polyphonic MIDI music production a pleasant and enjoyable experience like a soft breeze on the Seaboard Block. The instrument is quite small, light, and easy to carry like a lightweight mandolin.

Whether it is on stage or in your studio, a modular, compact, and versatile keyboard controller fits easily in any musical arrangement. It is expandable with one click. You can join it magnetically to light pad blocks, other seaboard blocks, and Lumi keys.

Roli’s Blocks are a set of creative modular musical devices designed for everyone to create amazing music easily on the go.

Five core dimensions of a Multidimensional Polyphonic Expression (MPE) are at your fingertips at an affordable and economical cost.

With its spongy keys with 5D expression, the Seaboard block offers adequate room to slide up and down the two-octave span above and below the keys. Its arrows at each end allow you to push the keys up and down octaves in a range of six octaves.

Its built-in DNA connectors magnetically break into the ecosystem of the Seaboard Block. The dimensions of the Seaboard Block are exactly right, and a uniform gap occurs between octaves. You can create a seamless multi-octave keyboard by connecting light pad blocks, control blocks, and other Seaboard blocks.

Key Features
  • 5D-touch sensor technology helps expand sounds and bend the pitch
  • ROLI Studio player software suite with brand-new sounds and production tools
  • Compact one-click expandable modular keyboard
  • Connects magnetically to light pad blocks, seaboard blocks, and Lumi keys
Pros
  • Superfast USB-C port connectivity for MIDI out and power
  • Complete interface for MIDI over USB and Bluetooth
  • Four DNA connectors for creating a unified multi-octave keyboard with multiple blocks
  • Good Bluetooth range of 15m
Cons
  • Does not have expression controllers
Buy This Product
ROLI Seaboard Block MIDI Keyboard B07ZR3NJCQ

Almost everything is wireless today, so why struggle with wires. Experience the freedom to let your creativity take wings and fly with Korg microKEY Air 25-Key wireless. Get the perfect ambiance and studio environment without bothering about tripping over wires.

Freely move around in your creative thoughts and collaborate with your co-musicians. Nothing can hold you back from becoming one of the most creative and cool-headed musicians.

Korg is the creator of the best-selling microKEY series wireless MIDI controllers. It supports Bluetooth smart Apple Bluetooth low energy MIDI. It connects wirelessly to iPad/iPhone music apps such as Korg Gadget, Korg Module, and GarageBand and all MIDI-capable music production software on your Mac and Windows.

You can start playing it instantly without installing any drivers as it is a plug-and-play keyboard. Just connect it to your computer and start playing it. To access apps such as KORG Gadget, KORG Module, and GarageBand, you need to connect to the Apple Lightning - USB camera adaptor with one USB cable to complete the setup.

For high stability and low latency, it supports tuning of the Bluetooth capabilities.

While it is wireless, for keyboard players who love to remain consistently connected with wires and cherish stability, the microKEY Air can also be connected using a USB cable. It needs only one USB cable to connect it to Mac or Windows as microKEY is USB bus-powered.

The Austin Bazaar polishing cloth is provided to maintain the keyboard brand new and in excellent condition for years to come.

Key Features
  • Compact and portable natural touch mini keyboard
  • Connects wirelessly to iPad, iPhone, Mac, and Windows
  • Plays excellent sound with just an iPhone and the microKEY
  • Two AA batteries last for about a month with one hour daily use
Pros
  • Supports smart Apple Bluetooth low energy MIDI
  • High stability and low latency keyboard controller
  • Clutter free zero wires production environment
  • Connected pedals provide complete control
Cons
  • Needs removal and repair of the microKEY every time the Bluetooth connection is disconnected
Buy This Product
Korg microKEY Air 25-Key Wireless MIDI Keyboard B06Y5LVXV2

Mesmerizing sounds can be played even on a compact keyboard; in fact, if it’s compact, it’s more refined and classy. The Novation Launchkey Mini Mk3 proves this as it offers everything a musician needs to create enchanting music using special effects, sounds, and creative features on Ableton Live.

It provides instinctive Ableton control, arpeggiator, fixed chord mode, MIDI out, and many beautiful sounds in the box. The arpeggiator helps you to be more innovative; you can create new melodies, rhythms, and sounds with it.

You can be more innovative. You can play a chord with one finger and assign a fixed chord shape to the keys in the fixed chord mode. It’s fun to add dynamic and expressive rhythms using the 16 super-sensitive pads for drumming and launching clips. While the transport, device, and mixer controls reduce the mouse clicks required for producing music, its device macros and mixer controls provide more hands-on control to your music.

To start producing fantastic music, you have sounds, instruments, and effects from AAs, Softube, Spitfire audio, XLN audio, and klevgrand, and everything you need. It is possible to push these created musical notes into the included copy of Ableton Live Lite. Alternatively, Launchkey Mini’s integrations with Logic, reason or any HUI compatible DAW are also handy to create your music.

Launchkey Mini also offers a two-year warranty from award-winning customer support. You also get a bonus membership of their sound Collective that provides innovative and free content occasionally in a few months.

Key Features
  • Intuitive Ableton Live helps you to efficiently record and control music
  • Creative and controllable arpeggiator to change music properties
  • Fixed chord mode to play a chord with one finger and assign a fixed chord shape to the keys
  • MIDI Out to carry Launchkey Mini anywhere
Pros
  • Transport control buttons to control software sounds of DAW on the keyboard
  • 25 velocity-sensitive mini-keys for accuracy and control on sounds
  • 16 velocity-sensitive RGB pads to identify sounds of instruments by colored lights
  • 8 rotary knobs assigned to different functions such as for customizing tone
Cons
  • Earlier versions of Ableton Live do not include the Launchkey integration for InControl
Buy This Product
Novation Launchkey Mini Mk3 MIDI Keyboard B07WJZCPT3

Musicians always have music on their minds and are often eager to record a new tune or a small piece of music. Isn't it great to have a keyboard and be able to create music anywhere on the go? A great tune can spring out from you at any time.

iRig Keys runs from a computer or a mobile device using the power from USB and USB battery packs, which makes them ideal for on-the-go concerts and recordings.

The incredibly compact MIDI keyboard controller can be connected with your smartphone. You can also integrate it to convert it into a larger production studio. If you enjoy flying your fingers over full-sized piano keys, then this 37-key controller is excellent. You can also control other instruments such as analog synthesizers by connecting it with any USB-C device or use stand-alone mode.

iRig Keys 2 Pro comes with velocity-sensitive keys, pitch, and modulation wheels. It is compatible with almost all music apps available on smartphones, tablets, and computers.

This sleek keyboard comes equipped with an in-built headphone jack to assist you in creating the best tracks and tunes using headphones. There is no need to listen to your tracks and tunes on your phone's speakers while you are on the road and let them become public before their official release. They can remain confidential until you decide on making them public.

It provides 2000 instruments and 30 GB of sound samples to inspire you. And its simplified workflow is designed to speed up music production.

The iRig Keys 2 Pro controller is equipped with IK Multimedia's SampleTank 4 SE and a leading-edge sound engine that makes it the most popular virtual instrument for musicians.

Key Features
  • 37 velocity-sensitive mini keys
  • Instant plug and play with core MIDI (iOS) and USB class compliant (Mac/PC)
  • Back-lit soft-touch octave and program buttons
  • Set button to save and recall four different customized setups
Pros
  • Assignable volume and data knob
  • Powered by iOS device and Mac/PC USB
  • Works with Android devices with OTG and Micro-USB cable
  • Convenient modulation and pitch bend wheels
Cons
  • USB-C cable is not provided with it
Buy This Product
IK Multimedia iRig Keys 2 Pro MIDI Keyboard B07XSGJ4ZL

Right from the comfort of your home, the KeyStep 37 is a modular keyboard controller and an impressively balanced MIDI for making music without any complexity. The keyboard is compact and excellent for working with arpeggiations and sequences. Making music creatively can be done easily, quickly, and efficiently on it.

The extra note range is excellent, and it is velocity-sensitive. It has excellent aftertouch. The brilliant screen shows the tempo and values of the knobs. The LEDs above the keys are extremely useful for identifying the sounds of instruments that are played.

Getting started with KeyStep Pro is intuitive and simple. You only need to choose your track, arm record and play your preferred sequence in real-time.

It is capable of multi-tracking across four separate tracks. You can switch track one between regular sequences and drum-trigger duties by pressing the Sequencer or Drum button and easily activating the desired mode.

With the addition of each drum, the corresponding step sequence brightens across the step-input section for easy editing in both play and stop modes. It is capable of creating a specific step length for each drum trigger and track.

The internal metronome has its own small speaker, which provides you with something to track without setting up an external click. The metronome is also equipped with its own volume control.

If you are playing in a live environment, it is possible to direct this signal to the headphones; it remains audible over the main mix.

The initial recording is easily editable on the fly in real-time. It is easy to modify existing notes with pattern looping in the record mode. The overdub button allows you to include additional notes to the pattern, and it is possible to play it in real-time or step-time.

It is also capable of making real-time keyboard adjustments. It is excellent for playing notes in a non-linear manner.

Key Features
  • Excellent track controls and touch strip for plenty of hands-on control
  • Chord mode makes it quick and simple to explore multiple chord voicings
  • Metronome with click output to enable you to send a click to your drummer
  • Velocity-sensitive keys with aftertouch
Pros
  • Brilliant OLED screen with LEDs for easy visual navigation
  • Easily controllable software instruments through USB
  • Easily controllable hardware through MIDI
  • Remarkable creative potential from polyphonic step sequencer
Cons
  • Chord strum is not compatible with the CV output
Buy This Product
Arturia KeyStep Pro 37-key MIDI Keyboard B083WHBMWT

The best MIDI keyboards are preloaded with music templates; they are compact and portable, and come equipped with strong hammer-action keys.

Important Information About MIDI Keyboards

midi2

Smaller MIDI keyboards with mini keys are good for playing and recording drum beats, simple bass and melody lines, and basic chords. They are economical and can be carried more easily. Mini keys are also responsive and comfortable to play with as full-size keys.

The full-size 88-note keyboards are equipped with strong hammer-action keys. Many offer bonus features such as knobs, pads, buttons, and faders. These features boost creativity and provide additional control over the software.

Sometimes you might need to come up with a tune or a music piece instantly or within a few minutes on demand. The music templates for popular Digital Audio Workstations (DAWs) such as Ableton Live, Logic Pro, and FL Studio make it possible to create music on-the-fly.

With many keyboard options available, it is not easy to choose one from the many feature-packed keyboards. It is possible to live without some features for cost-cutting.

Some keyboards are equipped with the Aftertouch feature, which decorates the music output with a series of effects such as pitch bends, volume swells, and vibrato. They all give a special feel to the keyboard player.

Some come equipped with the breath controller that helps in refining the vocals and adjusting the singing quality with notes played on the keyboard. The breath controller is a part of the keyboard.

Some MIDI keyboard controllers come equipped with a foot controller that helps in enhancing the quality of the music production.

Remember, the best MIDI keyboards are also equipped with octave shift buttons that provide access to a full range of note pitches even from a 25-key device.

For more seasoned keyboard players and for someone who wants to learn how to play the keyboard with two hands, there are many options available such as four-octave (49-note) and five-octave (61-note) keyboard. For spacious music corners, even the 88-key piano-sized keyboard is good.

For playing the piano parts, a sustain pedal input is required. Usually, due to the availability of a computer or a laptop, the MIDI output is not required. It is necessary only when you want to connect the keyboard with some hardware MIDI synths. Many keyboards come equipped with traditional 5-pin MIDI out ports. The smaller minijack TRS MIDI outputs are more popular these days.

A MIDI keyboard with an integrated DAW makes it possible to tune the controls of the software instruments directly from your keyboard; you do not need to tune them from the computer or laptop.

The keyboards are powered by the USB output. The wireless keyboards need batteries.

Now that you've reached the end of this guide, you can revisit our list of products and pick which of the best MIDI keyboards is perfect for you!

FAQ

Q: What is MIDI?

MIDI stands for Musical Instrument Digital Interface. MIDI is data so it doesn’t actually produce any sound itself. MIDI is a standardized language for MIDI-suitable instruments to make sound. MIDI works by communicating with software programs that interpret that data for use on hardware like a keyboard. Keep in mind that a MIDI keyboard without an attached sound source will not produce any sound. Think of the entire process as a sheet of music where MIDI takes the notes, translates them to data which can be read by software that instructs the hardware to produce the music on the score.

Q: Can I learn how to play piano on a MIDI keyboard?

Yes, you can learn how to play the piano using a MIDI keyboard, but there are some important trade-offs to consider. Not all MIDI keyboards come with the same number of keys as a traditional piano. Depending on the model, you will find MIDI keyboards with 25, 49, 61, 76, or 88 keys. A MIDI keyboard will not have the same “key action” or feeling of the keys as a piano. However, some models try to replicate piano key-action by utilizing full-weighted, semi-weighted, hammer-action, or synth-action keys. As a beginner though, these differences may not matter as you learn how to play.

Q: What do I need to use a MIDI keyboard?

All you need to get started with a MIDI keyboard is some sort medium that can translate the digital signal to sound. The most straightforward way to use a MIDI keyboard is to connect it via USB to a computer and run the necessary software to use along with it. That software is called a Digital Audio Interface (DAW) and it is used for recording, editing, and mixing digital audio. If the MIDI keyboard does not have a USB connection, you will then need a MIDI cable running from the keyboard to a MIDI interface. The MIDI interface takes that MIDI connection and translates it to a USB connection for the computer.  

Q: What is the difference between a MIDI Keyboard and a digital piano?

The main difference is that a digital piano is designed to mimic the feel and sound of a real acoustic piano while a MIDI keyboard is used for music production. A digital keyboard will usually have the full 88 keys and built-in speakers to have the same feel and sound as an acoustic piano. MIDI keyboards are usually much smaller than digital pianos and are able to produce many more sounds through faders and knobs which control MIDI commands. Both will have similar connections like USB, headphones, and MIDI. In fact, with a USB connection, a digital piano can act as a MIDI keyboard.

Q: Does a MIDI keyboard have to be connected to a computer?

A computer is not necessary to use a MIDI keyboard. However, since the keyboard itself does not produce sound, it will have to be connected to a medium that can process and produce sound. One option to go computer-less with a MIDI keyboard is to use a MIDI sound module that has audio output capability via a compatible speaker or even headphones. You can also connect a MIDI keyboard to either a cell phone or a tablet via wired or wireless connections. If going the wireless route, the keyboard will have to have either wireless or Bluetooth capability. The sound quality may not be very good utilizing the mobile device speaker, but you can always use headphones or a speaker.