Learn to play "I Dreamed A Dream", the song that made Susan Boyle famous on Britain's Got Talent.

My piano friend Seaside Lee has made a great 40-minute video that teaches you how to play this beautiful song. So, hop on over to his site and learn to play this song!

How to record digital piano and keyboard, part 1: Connecting to the computer

February 15th, 2008

This is the first article in a series on recording the sounds from your digital piano or electronic keyboard on the computer, and how to make MP3 files of your performances for sharing with friends or on the web.

Even though these articles mainly talk about recording on your computer, the same principles apply to other digital recording devices. So if you have an MP3 player with recording capability, or a MiniDisc, or any other device with an audio input, you can use that instead and then transfer the files to your computer.

NOTE: These articles are written with Windows in mind. If you use another operating system such as Mac OS X, the hardware directions are similar, but the software will be different.

These are general instructions that should work with any instrument. Because details tend to differ between brands and models, I’ll often tell you to refer to your instrument’s manual.

Always check with your manual first which options apply to your instrument. You can often download the latest version of these manuals in PDF format for free from the manufacturer’s website. The same goes for any additional software you may need, such as device drivers.

Inputs and outputs

All digital instruments have at least one audio output. The more expensive the instrument, the more output options it has. Recording is simply a matter of connecting an audio output from your digital piano or keyboard to an audio input on the computer, and then using a software program to capture your performance.

Typically available outputs on your instrument are:

  • Line Out
  • Aux Out
  • (Head)phones Out

On your computer, possible available inputs are:

  • Line In
  • Mic In
  • External recording device

NOTE: Although many laptop computers also have a built-in microphone, we won’t discuss that here. If all else fails, recording with this built-in mic is an option… but don’t expect it to sound very good.

You will get the best recording quality with a connection from Line Out to Line In. Different types of outputs have different “impedance levels” and ideally you will connect an output to an input with matching impedance. Line Out and Line In are a perfect match.

It is possible to make connections where the impedance does not match, such as Line Out to Mic In, but they are not ideal. The sound will easily distort, and you will have to lower the output volume on the instrument and the input volume on the computer as much as possible in order to avoid “clipping” (loud cracks in the recording where the maximum volume is exceeded).

Unfortunately, you do not always have a choice. Most desktop computers will have a Line In option (the blue input on your soundcard) but most laptops have only a Mic In. If that is all you have, then that will have to do.

NOTE: Mic In will record in mono only, but Line In is full stereo sound and therefore preferable.

Some of the less expensive digital keyboards only have Phones Out to connect headphones, but not Line Out or Aux Out. Use whatever is available and try to make the best of it.

If your computer has no Line In and you can spare the money ($50 and up), it is worth buying a special recording device called an “external sound card”. This is a unit that plugs into your computer’s USB or Firewire port and gives you one or more Line In sockets.

TIP: If you only have a Mic In, it is still possible to make stereo recordings. First, you record your performance as MIDI. Then you let the piano play that MIDI and capture the left channel on the computer. If you’re using Audacity, set the track from “Mono” to “Left Channel”. Repeat, but now capture the right channel. Align it with the first track, and set it to “Right Channel”. Finally, export as WAV or MP3.

Cables and plugs

Now we have chosen the input and output, we will have to connect them with a cable. Which cable depends on the types of sockets your machines have.

At the computer end we will most likely have a small (3.5mm or 1/8″) stereo jack:

Big and small stereo jack plugs

Remember that Mic In is always mono, so you could use a mono jack here. You can tell the difference by the number of rings they have:

Mono and stereo jack plugs

At the digital piano, Line Out is typically split into two sockets labeled L/L+R (or in my case L/Mono) and R. They take two big (6.3mm or 1/4″) mono jacks:

Line Out sockets

If you plug just one jack into L, you’ll get mono sound. For stereo sound, one jack goes into L and the other goes into R.

To use Line Out, you’ll want to use a stereo cable with two big mono jacks on one end and a small stereo jack on the other. The cable that I use actually has two RCA plugs on the source end, and I used two converter plugs to make them big mono jacks:

RCA cable with jack converter plugs

To use Aux Out, you need a cable with two RCA plugs (red and white) on one end and a small stereo jack on the other. There shouldn’t be much difference between Line Out and Aux Out as far as sound quality is concerned.

Phones Out is typically a stereo jack (could be big or small). Use a stereo cable, and if necessary a small-to-big converter plug on the source end:

Stereo cable with converter plug

Get shielded cables if possible. You can get these cables at any electronics or audio store.

You should now be able to hook up your instrument to your computer. The next article will explain how to record the sounds that are transmitted across these cables.

11 Responses to “How to record digital piano and keyboard, part 1: Connecting to the computer”

  1. Graham Stow Says:

    This is a great website! Initially it has helped me quickly source all I need to connect my digi piano to my laptop by both Midi/USB and 2×6.3mmjack to 1×3.5mm jack, and I am sure it will help me much further in the future. I have left $8 in the tip jar!

  2. admin Says:

    Thanks, Graham! :-)

  3. Melissa Ramsaur Says:

    I own a yamaha ypg-625 keyboard and an iBook. I have connected the two together with an audio cable, using a portable big jack to plug into the headphone jack of the piano and a stereo miniplug to go into my mac’s headphone jack. But when ever I go to the input options the only thing that comes up is my built-in internal mic (which I do not plan to use to record music). Also no sound comes out of the keyboard when played. Can you help me?

  4. admin Says:

    I don’t have an iBook, but it seems to me the headphone jack is an output, not an input. So you probably cannot record from that. Try the microphone input or the Line In input.

  5. Scott Says:

    I would like to use Audacity to record from my Roland FP8 keyboard. I actually have tried making rehearsal recordings for church use on my acoustic Kawai Piano, but I’m having some “noise” issues and don’t know if it is the microphone or the settings, I’m a greenhorn at this stuff. I’ve played piano for years and watched engineers in studios, but never “pushed” buttons myself until this endeavor. Well, I thought about MIDI but it sounds too complicated to me, although your articles about it are very helpful.
    I was wondering if I purchase a Y-cable with 2- 1/4″ male ends (to come out of the L&R outputs of the keyboard), with the other end having a male stereo 1/8″ jack (to plug into a “USB 6 Channel 5.1 PCI External Sound Card PC Laptop A14″ that I have found on Ebay for $22.95 plus shipping), will I get a stereo recording without having to go back and align, etc., as you mentioned in the article? I’ll assume I plug the external card’s USB cord into the laptop, then plug the 1/8″ stereo jack into the “Line IN” receiver on the external sound card adapter?
    Please let me know if this will work.
    Thanks,
    Scott

  6. Devendra Vyas Says:

    Thanks, your website is useful…even with the explosion of the internet and so many digital vendors no where did i find the useful info that you have posted here. People like you are the salt of the internet earth.

  7. Clayton Says:

    Well. I got my Keyboard ~ Yamaha PSR-170.
    I found a Big Jack(Amp Cord) and a small thing that changes one side of the cord to a smaller jack to fit into the Computer.
    My computer has: Blue-Green-Pink Slots.
    Which one do i insert the small jack thingy which is actually the big jack, but i put it into that thing that makes it smaller into?
    I have Audacity, had it for a while actually.
    I know to record you have to change some recording settings on the computer in the Sound Settings. But i don’t know which ones to change.
    And how can i record me playing, if there is an amp cord connected, thus making no sound coming out until i finish recording and hear the playback.

  8. Clayton Says:

    Never mind.
    I figured it out.
    Keyboard - Amp Cord - Thingy that changes big jack into small jack - Into Pink Slot.
    Double Click Volume icon next to the time in the taskbar.
    Click Options - Playback & Recording make it to the C-Media Device/Speakers.
    Check ALL of the boxes shown.
    While still in Recording Options. Click OK
    Check that Line In Box at the Volume Control Panel thing.
    Go to audacity and record><
    Thats an easier Way!

  9. Greg baker Says:

    Thank you so much for the information. This is exactly what I was looking for.
    Thanks again, Greg

  10. Ben Says:

    I received a generous gift of a Yahama CP300 stage piano from someone who loves to hear me play. I borrowed a Tascam CD recorder from a friend to make a CD for that generous person. I found that the dual XLR outputs from my keyboard produced the best quality recordings with Tascam recorder. Since I cannot borrow the CD recorder all the time, what is the best interface that I can use to connect directly to my computer (XLR to USB) and still maintain CD or better quality? Is it feasible on a $200 budget? Thanks!

  11. admin Says:

    There are plenty of USB (or Firewire) audio interfaces with XLR inputs that will do what you want. For example, check here:
    http://www.sweetwater.com/c695–USB_Audio_Interfaces

Leave a Reply