Hardware, Studio Setup

The FAST Way to Connect A MIDI Keyboard to FL Studio & MORE

Written By : Andrew Siemon

Setting up a MIDI keyboard with FL Studio is pretty basic stuff.

Other than the MIDI keyboard itself, the most important thing you’ll need is the standard USB-A to USB cable. Connect it from your keyboard to your PC, open FL Studio and enable the keyboard in the settings via FL Studio > Settings > MIDI and then click Enable in the “Input” section.

What You Need to Connect A Modern MIDI Device to FL Studio

1) USB-A to USB-B Cable

Type A and Type B on a standard MIDI cable for MIDI Keyboards
Standard USB-A to USB-B cable for connecting MIDI controllers. People also call them “printer cables.”

For most MIDI controllers, this is all you’ll need to connect it to your computer.

Most MIDI keyboard purchases will include a dedicated cable to be used to connect to your computer. Standard MIDI cables today come as a USB type B to type A cable, although, it’s possible we might see more USB-C in the future. I don’t have a crystal ball, so I can’t say for sure.

The type B connector goes into the keyboard, while the type A connector goes to the computer. It’s not uncommon for these to also go by the name of “printer cable” on retailers’ websites.

One quick tip I have for you is to get one that’s really long (9 feet or longer). It’s better to be too long than too short.

For computers with type C ports, you can get a MIDI type C cable (type C cable) and connect the keyboard to your computer.

In some cases, you’ll need to get your hands on a USB to USB-C adapter (my Page), which I’ve talked about a million times before, including in my guide on connecting keyboards to GarageBand.

2) The Keyboard

Keyboard
Keyboard with USB-B port

There are all kinds of keyboards you can get. I have a Yamaha PSR-640 electric piano that’s almost 25 years old, an AKAI MPK Mini MKIII, and an Acorn Masterkey-61. The AKAI is more for portability and the Yamaha keyboard is for at-home production.

If I had to do it all over again though, I would recommend the M-Audio Oxygen Pro Series.

You can get them in 25-key, 49-key, and 61-key formats. There is also an 88-key version called the Hammer Pro.

What You Need to Connect An Older MIDI Device to FL Studio

1) MIDI or Audio Interface

The PreSonus AudioBOX USB96 (MIDI Ports) - How to Connect An Old MIDI Keyboard to PC/Mobile (Any DAW)
Many audio interfaces – but you’ll have to check before buying – will come with MIDI IN/OUT on the back. This massively opens up your world for MIDI control, including for old electric pianos.

For older keyboards, like electric pianos and other devices that don’t have the same USB connection, you’ll need to use an audio interface.

For older keyboards and MIDI devices, they can have two (sometimes three) MIDI ports. We care only about the first two:

  • MIDI IN
  • MIDI OUT
  • MIDI Thru (sometimes)

If your keyboard only has the classic MIDI ports, which probably means it’s quite old, you’ll need a MIDI interface or an audio interface. The PreSonus AudioBox USB96, Focusrite Saffire 6USB, and the Scarlett 4i4 all have these. The interface on my wishlist though is the SSL 12.

2) MIDI Cable

MIDI Cable - How to Connect An Old MIDI Keyboard to PC:Mobile (Any DAW)
This is what a standard MIDI cable looks like (on my page). You’ll use this for a MIDI connection, assuming you’re not using a new MIDI Controller that uses a USB-A to USB-B cable that I mentioned earlier.

This will be used for connecting the MIDI In and Out ports. If you were to connect an old Yamaha keyboard via MIDI to your modern computer, you would connect a MIDI cable from the OUT port on the back of the keyboard to the MIDI IN on the back of the audio interface. This is how I do it.

Another Option for Connecting Older MIDI Devices

USB to MIDI Converter or Cable

A-USB-to-MIDI-Interface-MIDI-vs-USB-Everything-You-Need-to-Know
You could use something like this, but frankly, I don’t see why it’s necessary when an audio interface would work just as well and be useful for other purposes.

If you can’t get an interface for whatever reason, then a USB-to-MIDI converter or cable will work fine. However, I wouldn’t recommend using something like this.

How to Connect Your MIDI Keyboard to FL Studio

1) Connect Your PC To The MIDI Keyboard

The first step is to get the keyboard connected to your computer. Let’s start with the direct method (more common) and then the audio interface way (less common).

A) The Most Common Way – With USB-B to USB-A Cable

USB MIDI cable
A standard “printer cable”
Connecting-A-MIDI-Keyboard-to-a-Computer-How-to-Make-MIDI-
This is the very first setup that I had (this picture is 5 years old now). You just connect the keyboard to your computer with the cable. You can see I’ve got the USB to USB-C adapter attached.

The advantage of this method is that you do not require an external audio or MIDI interface before you can use your keyboard.

B) The Less Common Way – With A MIDI/Audio Interface (For Older Devices)

How to Connect an Old Keyboard to PC/Mobile (Any DAW) [Diagram]
It’ll look something like this.

The second method is through a MIDI or Audio Interface. Connect the two ports on the MIDI keyboard to the corresponding ports on the interface.

i) Connect the MIDI OUT of the Keyboard
MIDI OUT on Keyboard - How to Connect An Old Keyboard to Your PC/Mobile Device [Any DAW]
The MIDI OUT port on my Yamaha PSR-640.

Connect the “MIDI OUT” of the keyboard (information coming out of the keyboard) to the “MIDI in” of the Interface being used (Information goes into the interface).

ii) Connect it to the MIDI IN of the Audio Interface
MIDI IN Port - How to Connect An Old Keyboard to Your PC/Mobile [Any DAW]
Secondly, connect the “MIDI OUT” of the keyboard to the “MIDI IN” of the interface.

Then you connect the interface to your computer using a standard USB cable. I almost never have latency issues using this method, and I like it because it frees up ports on the multiport adapters on my computer.

For MIDI interfaces, you configure them in FL Studio the same way you configure the direct connection. Make sure you install any required drivers for your keyboard. You can check the keyboard manual or website for instructions on how to install the drivers.

I prefer to use devices that don’t need the installation of drivers.

Now that we’ve got the hardware set up out of the way, let’s walk through the setup in FL Studio. It’s important to wrap all of this up for it to work.

2) Open FL Studio

Open FL Studio to configure the keyboard and enable it as the input/output device.

3) Open MIDI Settings

Opening MIDI Settings
Click “Options” > “MIDI Settings”

Go to the menu panel (bar). From the menu panel, select “Options”. Under Options, select “MIDI settings” or press ‘F10’ (fn + F10 for macOS).

The MIDI settings view has two sections: Input and Output. When your keyboard is connected to your computer, it will be visible under both Input and Output.

4) Select And Enable Your Keyboard

Selecting a keyboard input
Choosing a keyboard for input. If your keyboard isn’t on the list, just choose “Generic Keyboard.” Also, it’s very important to click the Enable button. It turns green.

5) Set Your Recording Options

Reording options
Recording filter

Recording MIDI in FL Studio is not the same as recording audio. Sometimes when you click on the record button, the recording filter pops up. On the recording filter, you have the option to select what you want to record.

To record MIDI, select “Notes and automation”. You can also select “Everything”, as long as you don’t have any microphone input selected.

Transport Controls - Connect Keyboard FL Studio .jpg
The metronome, input to record, count-in, overdub, and loop recording options, to name the top half respectively

Of course, there are other tangentially related options we can explore another day like the metronome, the count-in, the wait-for-input-to-record, overdubbing, and loop recording as well.

How to Map Your MIDI Keyboard to Controls in FL Studio

There’s a lot more to FL Studio than just plugging it in. There are also ways to map MIDI keyboards and controllers. I’m going to show you precisely that now.

1) Open FL Studio and then the Channel Rack (F6 or Fn + F6)

i) The Channel Rack - Connect Keyboard FL Studio
Self-explanatory. Open the program and bring up the channel rack.

2) Right-click the Plugin, Choose Replace, and Then Select the “FPC”

2) Opening the FPC  - Connect Keyboard FL Studio
Right-click one of your instruments or plugins in the channel rack, choose Replace and then select your FPC.

There are other ways of arriving at this menu, but this is my method.

3) Click the Dropdown Arrow and then “Map Notes for Entire Bank”

Map Notes for Entire Bank - Connect FL Studio Keyboard
There are other presets and stuff built-in by default as well.

4) Press Each Pad From [Bottom Left to Right] to [Top Left to Right]

3) Pads on AKAI MPK MINI  - Connect Keyboard FL Studio
Once you’ve arrived at the FPC, click on the bottom pads from left to right, and then the top pads.

In other words, press the following pads in regular numerical order: 1-2-3-4-5-6-7-8. Wait for each pad to trigger a sample sound in the FPC drumkit, ie, the kick, hi-hat, snare, tom, etc.

Be careful to press them intentionally. Sometimes, you can trigger other pads together at the same time and you’ll have to start over. In that case, right-click again and choose “Cancel Mapping.” and start again.

5) Press the Bank A/B Button And Repeat the Process Once More

Pad Bank AB AKAI MPK Mini - Connect Keyboard FL Studio
Once you run out of pads for the kit, click on the Bank A/B button to fill it up with sounds.

Repeat the process.

6) Choose “Save Preset”

Save to Preset - Connect MIDI Keyboard to FL Studio
Save your preset and then you’re good to go.

This is the essence of setting up your MIDI Keyboard in FL Studio. Trigger your keys and drum pads in this way.

There’s more to this though. You can also have the keys work as a piano and the pads work as drums at the same time. Let me show you how to do that.

How to Link the Knobs on your MIDI Device with FL Studio

Thankfully, linking the knobs is way less involved. All you’ve got to do is right-click.

1) Choose Your Sound, Instrument, or Function to Control

1 Knobs  - Connect FL Studio Keyboard
In this case, I’m going to control the panning and channel volume.

However, you can use the keyboard to control almost anything.

2) Right-click the Function and Choose “Link to Controller”

2 Link to Controller  - Connect FL Studio Keyboard
Right-click the function and then choose “Link to Controller.”

3) Turn the Knob on Your Device

3  Map the Knobs - Connect FL Studio Keyboard
Now you just have to turn whatever knob you want to control the parameter.

And that’s all you have to do. You can get way more creative with this feature.

For example, the guy in this video uses it to control an EQ sweep which sounds great.

How to Fix Latency and Other Problems

Latency is the delay you experience when you are recording. It is due to the time it takes FL Studio (any DAW) to process the signal sent to it and deliver output.

Buffer size (latency)
Buffer size/length (windows)

Latency can be solved by changing the buffer size of the audio device. It is advisable to use a low buffer size (256, 384) when recording so that you can have little to no latency.

However, you need to increase the buffer size (1024, 2048) when mixing or processing, especially when you have used high-performance plugins in the project.

At this point, you are no longer recording so latency will not be a problem. Then, using a low buffer size will not give FL Studio enough time to process the project, and you begin to have pops and clicks. This section of the FL Studio Online Manual describes how to change buffer size.

Other Articles You May Be Interested In

Andrew Siemon is the principal creator of ProducerSociety.com, a website dedicated to all things music, including music production, music theory, recording, and how to use the most popular DAWs. Starting out as a metal guitarist, Andrew has since moved into other areas of music production including hip-hop and fusion

Leave a Comment

TOC