> ## Content Index
> Fetch the complete content index at: https://thegarageband.net/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to play piano in GarageBand with a computer keyboard or touch keys
- URL: https://thegarageband.net/play-piano-in-garageband/
- Published: 2026-11-20T20:45:07.000Z
- Updated: 2026-11-20T20:45:07.000Z
- Description: Play a short piano phrase with Musical Typing or touch keys, record it, and choose timing correction for the region or song section you mean to change.
- Author: Jamie Brooks
- Tags: Instruments and MIDI

To play a piano part in GarageBand, select a software instrument track and open **Musical Typing with Command-K on Mac**, or choose the **Keyboard Touch Instrument on iPhone or iPad**. Pick a piano sound, then press Record and play your phrase to put the notes into the song. You can do this with the computer keyboard or touchscreen; a MIDI keyboard is optional.

I'd begin with a plain piano sound because it's easier to hear where notes overlap and where a phrase needs space. Get that part working before adding effects or buying a controller.

## Choose the playing surface for your device

| What you want to do                                     | Use this                  | Start here                                                      |
| ------------------------------------------------------- | ------------------------- | --------------------------------------------------------------- |
| Play notes using a Mac's letter keys                    | Musical Typing            | [Create a piano track and press Command-K](#mac-piano)          |
| Click piano notes with a mouse or trackpad              | Mac onscreen Keyboard     | [Switch the Musical Typing window to Keyboard](#mouse-keyboard) |
| Play individual notes on a touchscreen                  | Keyboard Touch Instrument | [Open Keyboard on iPhone or iPad](#touch-piano)                 |
| Build a chord accompaniment with fewer finger movements | Mobile chord strips       | [Choose chord strips instead of piano keys](#chord-strips)      |

## Set up a piano track on Mac

A software instrument turns the notes you play into sound. An audio track is for recording an incoming audio signal, so opening Musical Typing while an audio track is selected doesn't give it a piano instrument.

1. Open your project. Choose [**Track > New Track**](https://support.apple.com/guide/garageband/before-recording-software-instruments-gbnd991eef43/mac?ref=thegarageband.net), or click the Add Tracks button above the track headers.
2. Select **MIDI** in the New Track dialog, then click **Create**. This creates the software instrument track.
3. Open the Library with [**View > Show Library**](https://support.apple.com/guide/garageband/library-gbnddf60c8c8/mac?ref=thegarageband.net) if it's hidden. Choose **Piano** in the category list, then a piano patch in the list to its right. A patch is the instrument's sound setting.
4. Keep that track selected. Choose **Window > Show Musical Typing**, or press **Command-K**.
5. Press the letter keys shown on the onscreen piano. Follow the displayed layout: a computer letter is a key assignment, not the name of the musical note.

[![Musical Typing window with computer letter keys, octave Z/X, velocity C/V and Tab sustain.](https://storage.ghost.io/c/40/4e/404e1fa2-ca39-4a28-9d69-9d1ee9b4edeb/content/images/2026/11/garageband-piano-mac-typing-5af7f6831095.webp)](https://storage.ghost.io/c/40/4e/404e1fa2-ca39-4a28-9d69-9d1ee9b4edeb/content/images/2026/11/garageband-piano-mac-typing-5af7f6831095.webp?ref=thegarageband.net)

The letters play the selected instrument. Choose the octave and velocity before recording.

The window title follows the selected patch; the example above shows Classic Electric Piano. You can use the same playing controls with the piano sound you chose.

### Put the melody in a comfortable range

The highlighted section in the small keyboard overview shows the range available to your computer keys. Apple's [Musical Typing controls](https://support.apple.com/guide/garageband/play-software-instruments-gbndd5278cd1/mac?ref=thegarageband.net) let you change that range and the strength of the notes:

| Key       | What changes                                              | Use it when                                             |
| --------- | --------------------------------------------------------- | ------------------------------------------------------- |
| **Z / X** | Octave down / up                                          | The phrase needs lower bass notes or a higher melody.   |
| **C / V** | Lower / raise velocity, the note's playing-strength value | The same piano patch needs a softer or stronger attack. |
| **Tab**   | Sustain on / off                                          | You want notes to ring after releasing their keys.      |

Choose the octave before recording so the whole phrase sits where you intend. I'd leave sustain off for the first attempt at a busy part: hearing each note end makes accidental overlap easier to catch. Add sustain when the accompaniment needs connected chords, and release it when the harmony changes if the previous chord keeps ringing.

### Use the mouse keyboard to find a note

Click the **piano-key icon at the upper left** of the Musical Typing window to switch to the onscreen Keyboard. Click its keys to play. Click lower on a key for higher velocity, or higher on it for lower velocity.

[![Mac onscreen Keyboard with a blue range selector and the piano-key mode selected.](https://storage.ghost.io/c/40/4e/404e1fa2-ca39-4a28-9d69-9d1ee9b4edeb/content/images/2026/11/garageband-piano-mac-keyboard-f48a95682451.webp)](https://storage.ghost.io/c/40/4e/404e1fa2-ca39-4a28-9d69-9d1ee9b4edeb/content/images/2026/11/garageband-piano-mac-keyboard-f48a95682451.webp?ref=thegarageband.net)

Use the piano icon for mouse clicks; switch to the computer-key icon for Musical Typing.

Drag the blue rectangle in the overview to move the visible range, or use the arrows beside it to move by octaves. This view is useful for locating a pitch. For a phrase with simultaneous notes, I'd switch back to the computer-key icon and use Musical Typing, which lets you hold several letter keys together.

## Record and keep the Mac piano phrase

Playing keys lets you hear the instrument; recording creates the part in your project. With the piano track selected, move the playhead to where the phrase should begin. Set a tempo you can follow, and turn on the metronome and count-in if you want a lead-in and steady beat.

1. Click [**Record** in the control bar, or press **R**](https://support.apple.com/guide/garageband/record-software-instruments-gbnd40fcef0f/mac?ref=thegarageband.net).
2. Play the phrase with Musical Typing. A new MIDI region appears as you record. It stores the note events that the selected instrument plays.
3. Click **Stop** or press the **Space bar** to finish.
4. Move the playhead back before the phrase and play it back. Check that the notes entered the intended track and that the phrase begins in the right place.
5. Choose [**File > Save**](https://support.apple.com/guide/garageband/create-save-and-delete-projects-gbndd0893c9b/mac?ref=thegarageband.net). For a new project, enter a name and choose its location.

Start with a short musical idea you can judge: for example, a melody that leaves a gap for the next part to answer. That is a writing exercise, not a required bar count. Keep the editable project even when you later export an audio file.

## Open a piano on iPhone or iPad

In the Sound browser, swipe through the instruments and choose **Keyboard**. If you're starting a linear recording, choose the **Tracks** option in the browser. From another Touch Instrument, use the Browser button to return to the instrument choices.

Choose the sound through the route for your device:

- **iPhone:** tap [**Navigation > Sounds**](https://support.apple.com/guide/garageband-iphone/play-the-keyboard-chs39282dbe/ios?ref=thegarageband.net), then choose a piano sound. Tap a category name to browse another category.
- **iPad:** tap the [**sound name near the top of the screen**](https://support.apple.com/guide/garageband-ipad/play-the-keyboard-chs39282dbe/ipados?ref=thegarageband.net), then choose the piano sound you want.

Both versions include grand piano and electric piano sounds. Tap the keys to play individual notes, or touch several keys for a chord.

[![GarageBand iPhone piano keyboard with octave arrows, Sustain, Glissando and playing-mode buttons.](https://storage.ghost.io/c/40/4e/404e1fa2-ca39-4a28-9d69-9d1ee9b4edeb/content/images/2026/11/garageband-piano-iphone-keyboard-03a106579763.webp)](https://storage.ghost.io/c/40/4e/404e1fa2-ca39-4a28-9d69-9d1ee9b4edeb/content/images/2026/11/garageband-piano-iphone-keyboard-03a106579763.webp?ref=thegarageband.net)

Octave and Sustain sit above the keys; the right-hand buttons change the playing surface or pattern.

The octave arrows move the playing range. Touch and hold **Sustain** to let notes ring, or drag Sustain to the right to lock it on. If a melody sounds too low or high, change the octave before trying a different sound.

If you need the note names on the keys, close GarageBand, open the device's **Settings** app, find GarageBand's settings and turn on **Keyboard Note Labels**. Return to the instrument to use those labels while finding your melody.

### Make the touch keys easier to play

On **iPad**, tap **Keyboard Options** to choose a single or double row and small, medium or large keys. Larger keys give your fingers more room; smaller keys or a second row put more notes within reach. Pick the layout for the phrase, rather than trying to squeeze a two-handed part onto an uncomfortable row.

[![iPad Keyboard Options popover with row and key-size choices, Velocity and Key Controls.](https://storage.ghost.io/c/40/4e/404e1fa2-ca39-4a28-9d69-9d1ee9b4edeb/content/images/2026/11/garageband-piano-ipad-options-eaf2a553e85d.webp)](https://storage.ghost.io/c/40/4e/404e1fa2-ca39-4a28-9d69-9d1ee9b4edeb/content/images/2026/11/garageband-piano-ipad-options-eaf2a553e85d.webp?ref=thegarageband.net)

Choose the row count and key size for your hands. Velocity and Key Controls have separate switches.

The iPad popover also has a **Velocity** switch. Turn it on to show the control for how harder or softer taps affect the sound, and pinch that control to set its range. On **iPhone**, velocity sensitivity is under **Track Controls > Track Settings > Velocity Sensitivity**. On iPhone SE, open Settings before Track Controls. These are different device routes.

**Glissando** plays notes as you slide across the keys; **Scroll** moves the visible keyboard left or right. Choose Scroll when you're trying to reach another range without sounding all the notes along the way. Some patches also offer Pitch gestures, but you don't need them to play a basic piano phrase.

### Choose note bars or chord strips for the part

For a melody, tap **Scale** and select a scale to replace the piano keys with note bars. Each bar plays a note from that scale. This narrows the notes you can choose; you still decide the melody and its rhythm. Choose **Off** in the Scale menu to return to the normal piano keys.

For an accompaniment, tap **Chord Strips**. With a segmented strip, the five upper areas play chord voicings in higher or lower ranges, and the three darker lower areas play bass notes or groups of bass notes. Touch an upper and lower area together for chords and bass.

[![iPad Grand Piano chord strips with upper chord areas, darker bass areas and Autoplay off.](https://storage.ghost.io/c/40/4e/404e1fa2-ca39-4a28-9d69-9d1ee9b4edeb/content/images/2026/11/garageband-piano-ipad-chords-4f960e0f4b4c.webp)](https://storage.ghost.io/c/40/4e/404e1fa2-ca39-4a28-9d69-9d1ee9b4edeb/content/images/2026/11/garageband-piano-ipad-chords-4f960e0f4b4c.webp?ref=thegarageband.net)

With Autoplay off, tap the upper areas for chords and the darker lower areas for bass.

Read the chord name at the top of each strip instead of assuming the columns run in scale order. For example, the C strip in this view sits between G and F. Chord strips are available with all keyboard sounds, but monophonic sounds have unsegmented strips; the eight-segment piano layout doesn't apply to every patch.

Leave **Autoplay** off when you want each tap to play a chord or bass note directly. To try an accompaniment pattern, choose a numbered Autoplay setting and tap a chord strip; tap the strip again to stop the pattern. In Autoplay, the top segments play chords and bass together, the middle segments play chords, and the lower segments play bass. On iPhone, open the Controls panel to reach the Autoplay knob, then tap Controls again to show the full strips. On iPad, the knob appears above the strips.

### Use the arpeggiator for a repeating pattern

The **Arpeggiator** turns the notes you hold into a repeating sequence. Tap its button, turn **Run** on, then choose the note order, rate and octave range. Sustain becomes **Latch**. Touch and hold or lock Latch to keep the current arpeggio playing after releasing the keys. Tap another key to transpose that arpeggio so it starts on the new note.

I'd use this for a repeating accompaniment after choosing the harmony. Leave it off when you want to control each piano note's entrance yourself. It is a different playing choice from tapping chord strips with Autoplay.

## Record the touch part without replacing a take you want

**Before pressing Record, check the playhead and the material already on that track.** A new Touch Instrument recording normally replaces earlier material at the same position on the same track. Use a separate track for a new independent part, or move the playhead to an empty position when you want the phrase to follow the existing one.

1. With your Keyboard open, move the playhead to the intended start.
2. Tap **Record** in the control bar. The ruler turns red while recording.
3. Play the notes. Changes to the Touch Instrument's controls are recorded too.
4. Tap **Play** to stop recording. Open Tracks view to see the recorded region, then play it back.

The [iPhone recording steps](https://support.apple.com/guide/garageband-iphone/record-touch-instruments-chs392846e9/ios?ref=thegarageband.net) and [iPad recording steps](https://support.apple.com/guide/garageband-ipad/record-touch-instruments-chs392846e9/ipados?ref=thegarageband.net) use the current playhead position. If recording stops before you've finished, the song section may be too short. Set it to fit the recording before trying again:

1. In Tracks view, tap the **Song Section** button at the right edge of the ruler.
2. Tap the **Inspector** button next to the section name; if there are several sections, use the last one. Turn on **Automatic**.
3. On iPhone, tap **Done** to close the controls. On iPad, tap anywhere in Tracks view.

These [iPhone section controls](https://support.apple.com/guide/garageband-iphone/extend-a-song-with-song-sections-chs3c3ef5dc/ios?ref=thegarageband.net) and [iPad section controls](https://support.apple.com/guide/garageband-ipad/extend-a-song-with-song-sections-chs3c3ef5dc/ipados?ref=thegarageband.net) let an improvised phrase determine the recording length. Keep a fixed section when you deliberately want to record within that section's bar count.

To deliberately add notes over an existing piano pass, open **Track Controls > Track Settings > Recording** and enable **Merge Recordings** on a supported track. Merge is off by default for instruments other than Drums and cannot be enabled with Take Recording. Apple's [iPhone track settings](https://support.apple.com/guide/garageband-iphone/use-the-track-controls-chs175dc411/ios?ref=thegarageband.net) and [iPad track settings](https://support.apple.com/guide/garageband-ipad/use-the-track-controls-chs175dc411/ipados?ref=thegarageband.net) describe those choices. Set the mode before recording over a phrase you want to keep.

## Correct timing only when the phrase needs it

Listen to the recorded part before quantizing. Quantization moves notes toward a rhythmic grid; it doesn't choose better notes or write the phrase for you. A loose melody and a repeating accompaniment can need different amounts of correction.

**On Mac:** double-click the MIDI region to open the Piano Roll Editor. For the whole region, select **Region > Time Quantize**, choose a note value, then reduce **Strength** if the correction feels too rigid. For selected notes, use the **Notes** controls instead; click **Q** if the menu already shows the value you want. Strength applies to selected MIDI regions, not individual notes.

Keep the intended region selected: with no region selected, choosing a Time Quantize value sets auto-quantization for recorded regions. These [Mac timing adjustments are nondestructive](https://support.apple.com/guide/garageband/quantize-note-timing-in-the-piano-roll-editor-gbnd8a344e5a/mac?ref=thegarageband.net); choose **off** to recall the original timing.

**On iPhone or iPad:** open **Track Controls > Track Settings > Quantization**, then choose Straight, Triplet or Swing and a note value. This affects **all regions on that track in the current song section**, including new recordings and loops added to the track. Different song sections can have different values. Check that scope before correcting what seems to be one phrase.

## Save the mobile song, then export an audio copy

On iPhone, tap [**Navigation > My Songs**](https://support.apple.com/guide/garageband-iphone/create-and-save-songs-chseb8160b7/ios?ref=thegarageband.net). On iPad, tap the [**My Songs** button](https://support.apple.com/guide/garageband-ipad/create-and-save-songs-chseb8160b7/ipados?ref=thegarageband.net). Returning to that browser saves the current song. Touch and hold its tile and choose Rename so you can recognize the project later.

To make an audio file on either touch device, touch and hold the song in My Songs, then choose **Share > Song**. Choose the audio quality, tap Share and choose **Save to Files**. Use **Project** instead of Song when you need an editable GarageBand project. The [iPhone sharing options](https://support.apple.com/guide/garageband-iphone/share-songs-chs39284d66/ios?ref=thegarageband.net) and [iPad sharing options](https://support.apple.com/guide/garageband-ipad/share-songs-chs39284d66/ipados?ref=thegarageband.net) distinguish those two outputs.

On Mac, use [**Share > Export Song to Disk**](https://support.apple.com/guide/garageband/export-songs-to-disk-or-icloud-gbnd7cbf5ed9/mac?ref=thegarageband.net), choose a location and format, then click Export. That produces a stereo audio file of the project or the selected export range. To send just the piano from an arrangement with other tracks, follow the [separate-track export workflow](https://thegarageband.net/export-stems-garageband/). An exported audio file and a saved project serve different purposes; keep the project for later note edits.

## If the keys appear but the piano doesn't work

| What happens                                                  | Check this first                                                                                                                                                                  |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Mac letter keys don't play a piano                            | Select the MIDI/software instrument track, choose its piano patch, and bring up Musical Typing with Command-K. A visible keyboard doesn't turn an audio track into an instrument. |
| You hear notes while playing, but no part appears in the song | Start Record before playing. Auditioning the instrument by itself doesn't create a recorded region.                                                                               |
| Touch keys slide sideways instead of sounding a run           | Change Scroll to Glissando. Scroll is for moving the keyboard range.                                                                                                              |
| Mobile keys look like bars or chord columns                   | Check Scale and Chord Strips. Those are alternative playing surfaces; they don't mean the piano sound is missing.                                                                 |
| The saved part sounds different from the notes you tapped     | Check Arpeggiator/Latch, Autoplay and quantization. A pattern or timing setting can be active even though you selected a piano sound.                                             |

If the correct instrument track is selected and other parts are silent too, follow the [GarageBand no-sound checks](https://thegarageband.net/garageband-no-sound/) for track state, volume and output routing. Avoid changing every setting at once: first establish whether you can hear the instrument, then whether the notes were recorded.

## Use a lesson when the next task is learning piano

On Mac, choose [**File > New > Learn to Play**](https://support.apple.com/guide/garageband/play-a-lesson-gbnd7008d91b/mac?ref=thegarageband.net) in the Project Chooser. Click Piano Lessons, select an available lesson and click Choose. The Learn chapter gives instruction; Play lets you practice along with the video. This opens a lesson rather than the project track used to record your own part.

Musical Typing and touch keys are enough to sketch a melody or accompaniment. For practicing physical piano fingering or playing a wider two-handed part, I'd move to physical keys because their layout matches that task. Before choosing a controller, check [how a MIDI keyboard connects to your device](https://thegarageband.net/connect-midi-keyboard-garageband/), then return to the phrase you want to play.