In this guide
A sampler is a software or hardware instrument that plays recorded audio in response to triggers such as keys, pads or MIDI notes. You can trim and shape a sound, map it to a key, and use it in a new musical part.
A music sampler is an instrument that plays recorded sounds when you trigger them. It might be a hardware box with pads or a software instrument in a music app. Load a clap, piano note or other sound; press a pad or play a MIDI note; and the sampler plays that recording according to its settings.
For example, you can record a tap on a glass, trim the beginning, load it into a sampler and play a rhythm with it. Some samplers can also play the sound at different pitches, loop part of it or map different recordings across a keyboard. The features depend on the instrument.
How a sampler works
- Get a sound. Record your own or use audio you have permission to use. Keep the original and any license information.
- Load it. Import the sound into a sampler or record directly into one that supports recording. A sample is the audio being used; the sampler is the instrument that plays it.
- Choose the playable region. Set start and end points so the useful sound begins when you expect it. Keep enough of its attack and natural tail.
- Trigger and shape it. Play a pad, on-screen key or MIDI note. Depending on the sampler, adjust pitch, playback mode, volume envelope or a loop.
- Use it in a project. Record or program a part, listen in context, and save the sampler settings and source file with your project.
Ableton’s instrument reference describes how its Simpler instrument plays a selected sample region and processes it using controls such as envelopes and pitch. Other samplers have different interfaces and capabilities.
Sampler, sample, loop and MIDI: what is the difference?
| Term | Meaning | Example |
|---|---|---|
| Sample | A piece of recorded audio used as source material. | A short recording of a hand clap. |
| Sampler | An instrument that plays and often shapes recorded audio. | A plugin that plays the clap when a MIDI note arrives. |
| Loop | A passage intended to repeat, whether placed on a timeline or looped within a sampler. | Four beats of percussion repeating through a verse. |
| MIDI | Performance instructions such as note and timing, rather than the recorded sound. | Notes in a piano roll triggering the clap sampler. |
A one-shot usually plays once per trigger; a loop repeats a selected section. A drum hit may be useful as a one-shot, while a sustained tone may use a loop to continue while a note is held. Actual behavior depends on the sampler’s playback mode. Learn more about MIDI and music loops.
Make a playable sample from a sound you recorded
- Record one clear sound. Tap a glass or clap once in a quiet space. Leave a little space before and after the sound and avoid clipping. Make sure you have the right to use the recording.
- Trim a working copy. Select the useful hit and enough of its decay. The audio trimmer accepts supported short MP3 or WAV files and lets you download the selected audio. Choose WAV when you need predictable sample timing; review the actual file.
- Import it into a sampler. Use your app’s import control and check the supported format. On iPhone, GarageBand’s Sampler can import an audio file or record directly, and provides trim and playback controls.
- Play and adjust. Trigger the sound on a key or pad. If the first transient is missing, move the start point earlier. If a cut produces a click, adjust the boundary or use an available short fade or envelope.
- Record a pattern and export. Play several hits in time, compare their levels and save the project. Render an audio mix for sharing and listen to the export.
The trimmer prepares audio; it is not itself a playable sampler and does not map notes. For a longer passage or an existing song, see how to sample a song.
Pitch, mapping and sound quality
A pitched sample can be mapped to a root key so that a sampler knows where to play it at its original pitch. Other notes may transpose it. With conventional playback, a higher pitch can also shorten the sound and a lower pitch lengthen it; some instruments offer separate time-stretching controls. Listen across the range rather than assuming every note will sound natural.
Some instruments use multiple recordings across different keys or playing strengths, called multisampling, to make a wider range more consistent. A drum sampler can instead map separate hits to individual pads. Check the instrument’s manual for its specific mapping and playback options.
Sampler vs. synthesizer
A sampler starts with recorded audio as its playback source. A synthesizer commonly generates sound using oscillators or other synthesis methods. Many modern instruments combine approaches: a sample-based instrument can include filters and envelopes, and some synthesizers can use recorded audio as source material. The useful question is what sound sources and controls your particular instrument provides.
Can you use any sample in a song?
Use recordings you created, licensed samples whose terms cover your intended use, or recordings for which you have obtained the necessary permission. Sampling an existing song can involve rights in both the recording and the underlying composition. Changing the pitch, taking a short excerpt or using a sampler does not automatically provide permission. Keep a record of sources and license terms; seek qualified advice for a release when rights are unclear.
Common questions
Do I need a physical sampler?
No. A compatible software sampler can run in a DAW or music app. A hardware sampler may be convenient for hands-on playing, but it is optional.
Can a sampler play a melody?
Yes. Many samplers can play a pitched recording at different notes. The quality and range depend on the source and how the instrument handles pitch.
Is a sample the same as a stem?
No. A sample is a piece of audio used as source material; a stem is typically a grouped part of a mix. A sample might be cut from an authorized stem, but the terms describe different things.