To sample a song, choose a short section of a recording, import it into a DAW or sampler, match it to your project's tempo and key, then chop, loop, and process it into a new part. Before you release the track, clear any copyrighted sample with the owners of both the recording and the composition.
This guide covers the tools and steps involved in sampling songs, creative techniques for transforming audio, copyright considerations, and preparing a sample-based track for release.
What Is Music Sampling?
Music sampling is the process of taking a portion of an existing recorded audio and incorporating it into another musical work. A producer might use a recognizable instrumental phrase, isolate a drum hit, or transform a recorded sound into a new texture.
Samples can also come from original instrument recordings, spoken dialogue, or environmental sounds.
Common applications include:
- Hip-hop: Drum breaks, vocal fragments, and instrumental phrases can form the foundation of beats.
- Electronic music: Samples can become rhythmic loops, atmospheric textures, or processed sounds.
- Pop: Sampled melodies, percussion, and vocal elements can support new hooks and arrangements.
What Do You Need to Sample Songs?
You can sample songs with a computer, a DAW, an audio file, and headphones or speakers. A sampler plugin or hardware sampler provides additional control over how recorded sounds are played and manipulated.
A Digital Audio Workstation (DAW)
A DAW is music production software that you can also use for sampling. When you sample, the DAW is where you fit the source audio to your project, cut it into usable pieces, and build a new track around it.
DAW features that matter most for sampling include:
- Time-stretching (warping): Match a sample to your project's tempo without changing its pitch.
- Pitch shifting: Move a sample up or down in semitones so it fits your song's key.
- Transient-based slicing: Detect the hits in a drum break or phrase and split them into slices you can rearrange or trigger from MIDI.
- A built-in sampler: Play a sound from keys or pads. Some DAW editions don't include one, so check yours.
- Resampling: Render processed audio to a new file so you can chop and process it again.
A Sampler Plugin or Hardware Sampler
A sampler is a software instrument or hardware device that stores and plays recorded sounds. Many samplers allow you to trigger audio using MIDI notes, keyboard keys, or performance pads.
Samplers may also provide slicing, looping, filtering, and amplitude-envelope controls. In Cubase Elements, Artist, and Pro, Sampler Control lets you edit the waveform and set pitch, filter, amp, and loop settings for a Sampler Track. Cubase AI and LE don't include Sampler Track. In Ableton Live, the Simpler instrument plays a sample across your keyboard or, in Slice mode, splits it into slices you can trigger separately.
How to Sample a Song: Step-by-Step
To sample a song, select audio, import it into your DAW, identify its tempo and key, edit the recording, and build a new composition around it. These nine steps provide a practical workflow, although producers can revisit earlier stages as their musical ideas develop.
Step 1: Choose the Right Sample
Start by selecting audio with a musical or rhythmic element that fits your intended track. A sample might provide the main melody, rhythmic foundation, atmospheric layer, or a short transition.
Consider the following when choosing audio:
- Musical potential: Look for an interesting rhythm, melody, instrumental phrase, or texture that you can develop further.
- Audio quality: Check for unwanted distortion, excessive noise, or compression artifacts that may become noticeable during editing.
- Musical role: Decide whether the sample will lead the composition or support other instruments.
- Usage rights: Check whether the recording is original, properly licensed, or otherwise permitted for your intended use.
Step 2: Import the Sample Into Your DAW
Once you have selected a sample, import the audio file into your DAW's timeline or a compatible sampler instrument. Most DAWs allow you to drag supported audio files directly into a project.
For example, you can place a WAV file containing a piano phrase on an audio track. Its waveform becomes visible, allowing you to listen to the recording, identify useful sections, and begin editing.
You can also load the recording into a sampler instrument to assign sounds to MIDI notes and trigger them through a keyboard, pad controller, or programmed MIDI pattern. The choice depends on whether you want to arrange the audio directly or perform it using MIDI.
Step 3: Find the Sample's Tempo and Key
With the sample imported, identify its tempo and musical key to understand how it can fit with the other instruments in your track.
Tempo is a song's speed in beats per minute (BPM), and key is the scale and tonal center the notes and chords are built around. Knowing both tells you how far you'll need to stretch or pitch-shift the sample, and which chords and bass notes will fit with it.
You can analyze the recording using these methods:
- Tempo detection: Use your DAW's tempo-analysis features or tap along with the recording. Check whether the detected BPM reflects the actual pulse, half-time, or double-time.
- Key detection: Use pitch-analysis tools or compare notes against a keyboard to estimate the tonal center. For unpitched sounds, such as individual drum hits, identifying a musical key may not be necessary.
- Musical verification: Listen for chord changes, tuning variations, and rhythmic differences that automatic detection may miss.
Step 4: Chop, Slice and Loop the Audio
After examining the sample's timing and musical content, you can isolate the sections you want to use. Chopping divides audio into smaller pieces, while looping repeats a selected passage to create a recurring pattern.
For example, a piano phrase may contain several chords, individual notes, and accents. Separating these elements allows you to rearrange them into a new melodic or rhythmic pattern.
When learning how to loop samples, set loop points on the beat and listen to the join. Abrupt cuts can create clicks, and a loop point in the middle of a note interrupts it. Moving the edit to a zero-crossing (where the waveform crosses the center line) or adding a short fade usually removes the click.
Common editing techniques include:
- Manual chopping: Cut the recording at selected points to isolate notes, drum hits, or phrases.
- Transient-based slicing: Let the DAW detect sound attacks, such as drum hits, and cut there. Cubase calls these points hitpoints and can turn them into slices that follow the project tempo. In Ableton Live, Slice to New MIDI Track puts each slice on its own pad.
- Loop creation: Select a passage, adjust its start and end points, and repeat it in time with the project.
- Slice rearrangement: Change the order and spacing of individual sounds to create a different musical pattern.
Step 5: Match the Sample to Your Track
Once you have created the required slices or loops, adjust their timing and pitch where necessary to fit your composition. Time-stretching, warping, and pitch-shifting provide different ways to make these changes:
- Time-stretching changes the duration of a recording without changing its pitch, so a loop can follow your project's tempo. Choose the algorithm that suits the material: Ableton Live's warp modes include Beats for drums, Tones for single-note parts such as vocals and bass, and Complex for full mixes.
- Warping lets you adjust the timing of individual events within a recording. For example, warp markers in Ableton Live can align selected beats with positions on the musical grid.
- Pitch-shifting changes the sample's musical pitch, commonly measured in semitones or cents. You can use it to make a melodic phrase fit the harmony of another section.
The amount of adjustment depends on the sample and your creative goals. Large changes in timing or pitch may introduce audible artifacts, depending on the recording and processing method.
Step 6: Clean and Prepare Your Sample
After adjusting the sample's timing and pitch, clean up the audio so it works well with the other elements in your production. The amount of editing depends on the recording's condition and how you intend to use it.
Useful preparation techniques include:
- Trimming: Remove unnecessary audio before and after the selected sound.
- Fades: Apply short fades around edit points to reduce unwanted clicks.
- Noise reduction: Reduce hiss, hum, or background noise when it interferes with the sample.
- Gain adjustment: Set a suitable playback level while avoiding digital clipping.
- EQ: Adjust selected frequency ranges to shape the sound and reduce conflicts with other instruments.
- File organization: Name edited samples clearly and preserve the original recordings for future adjustments.
Step 7: Build a Beat Around Your Sample
With the sample prepared, build a beat around it: add parts that support its rhythm and harmony. Write bass and chord parts in the key you found in Step 3, so they don't clash with the sample.
For example, if you have created a loop from a piano phrase, you can introduce a drum pattern to establish the groove, then add bass and other instruments to develop the composition.
You can build the beat using:
- Drums: Add kick, snare, hi-hat, and percussion patterns that complement the sample's rhythm.
- Bassline: Write a bass part that supports the harmony and works with the kick.
- Chords: Add harmonic layers where the sample leaves room for additional instruments.
- Melodies: Record or program new phrases that complement the sampled material and develop the musical idea.
Step 8: Process and Resample Your Audio
Once the main musical elements are in place, experiment with processing to give the sampled material a different character. You can also resample the processed output and use it as new audio within your project.
For example, you might add reverb and saturation to a vocal phrase, render the result as an audio file, and chop it into smaller pieces to create a rhythmic pattern.
Common techniques include:
- Reversing: Play audio backward to create unusual attacks, transitions, or textures.
- Filtering: Reduce or remove selected frequencies to change the sample's tone.
- Saturation: Add harmonic coloration through controlled nonlinear processing.
- Reverb and delay: Create a sense of space or introduce rhythmic repetitions.
- Resampling: Record or render processed audio for further chopping, layering, and manipulation.
Step 9: Arrange and Mix Your Track
With the samples and original instruments developed, arrange them into a complete track and balance their sound through mixing. You can introduce different combinations of instruments, change sample placement, and create transitions to connect musical sections.
Once the overall arrangement is established, focus on how the individual elements work together in the mix.
Key areas to consider include:
- Structure: Organize the samples and instruments into musical sections that suit the composition.
- Variation: Change rhythmic patterns, sample placement, or instrumentation to create interest between sections.
- Transitions: Use drum fills, automation, effects, or brief pauses to connect sections naturally.
- Mix balance: Adjust volume, panning, EQ, and dynamics so the sampled and original elements remain clear.
- Final playback: Listen for unwanted clicks, clipping, timing errors, and inconsistent levels before exporting the track.
Creative Ways to Make a Sample Your Own
To make a sample your own, change its rhythm, harmony, and sound so the new track stands on its own rather than leaning on the original hook.
Some creative approaches include:
- Combine unrelated sounds: Pair an acoustic instrument sample with electronic percussion, environmental recordings, or synthesized textures.
- Change rhythmic placement: Move chopped notes to different beat positions, introduce syncopation, or create unexpected pauses.
- Write complementary melodies: Develop an original instrumental or vocal phrase that responds to the sampled melody.
- Add original recordings: Record guitar, percussion, vocals, or other sounds to bring unique elements into the composition.
- Experiment with layering: Combine processed and unprocessed versions of the same sample to create richer textures.
Is It Legal to Sample Songs?
Sampling a copyrighted song is legal in the US when you have permission from the copyright owners, when the material is in the public domain, or when a legal exception, such as fair use, applies. For a commercial release, most producers clear the sample (get permission) before releasing. This section is general information, not legal advice.
A commercially released song usually involves 2 separate copyrights, and a sample uses both:
- Sound recording (master): Protects the recorded performance. A record label or the artist usually owns it.
- Musical work (composition): Protects the underlying music and lyrics. Songwriters and publishers usually own it.
Reusing a sample may require permission from both rights holders. The length of a sample does not independently establish whether its use is permitted. Fair use is decided case by case using 4 factors: the purpose of the use, the nature of the original, how much is taken, and the effect on the original's market.
To sample without clearing a commercial recording, you can use:
- Royalty-free sample libraries: Licensed for use in new music without per-use fees. Terms differ between libraries, so check what yours allows before you release.
- Replayed parts (interpolations): Need only the composition license.
- Public-domain recordings: In the US, recordings first published before 1926 are now in the public domain. A newer recording of an old song is still protected, so check both the recording and the composition.
- Creative Commons audio: Creative Commons licenses allow reuse under set conditions. You can't sample a CC "NoDerivatives" (ND) recording, and you can't release a "NonCommercial" (NC) one commercially.
How to Prepare Your Sample-Based Track for Release
Preparing a sample-based track for release involves confirming usage rights, finalizing the audio, organizing project files, and completing distribution information.
Once the arrangement and mix are finished, review the following:
- Sample documentation: Keep the license, receipt, or written permission for every sample, including royalty-free ones. Distributors can ask for proof and check that your samples are cleared before release.
- Project organization: Preserve original audio, edited samples, project files, and exported stems in clearly labeled folders.
- Mastering: Prepare the final mix for distribution, ensuring it meets the required audio specifications, including a stereo format, a sample rate of 44.1 kHz or higher, and preferably a native 24-bit depth.
- Credits and metadata: Verify songwriters, performers, producers, sample-related credits, and other required information.
- Distribution preparation: Complete the artwork, final audio upload, release date, and any remaining distributor requirements.
How Yamaha Creator Pass Supports Your Music Production Workflow
Yamaha Creator Pass brings together music production tools, sample libraries, plugins, and mastering services to help you develop your sampling ideas into finished tracks.
With the Growth Pass, you get access to Cubase 15 AI, Ableton Live 12 Lite (only with annual plans), over 80,000 samples through Output Arcade, and LANDR AI mastering. You can use these tools to arrange samples, experiment with sounds, refine your compositions, and prepare your music for release.
The Pro Pass adds premium Output plugins, including Portal, Thermal, and Movement, along with 10 Groover credits for promoting your music. LANDR distribution and Groover credits become available once your paid subscription begins.
Start your 7-day free trial of Yamaha Creator Pass and explore the tools you need to sample, produce, master, and release your music.
Frequently Asked Questions
How do beginners start sampling music?
Beginners can start sampling music with a royalty-free loop from a sample library. However, royalty-free does not mean unrestricted use. Check the library's license to confirm whether it allows commercial releases, modifications, redistribution, and other intended uses. Once you've confirmed the permissions, import the loop into a DAW, set its tempo to match the project, loop a short phrase, and add a drum pattern. Once that works, try chopping the loop into slices and rearranging them.
Can you sample songs from Spotify or YouTube?
Songs on Spotify or YouTube can inspire, but listening access does not grant permission to copy recordings into a new release. Reusing audio may require authorization from copyright owners and must comply with platform terms.
How many seconds of a song can you legally sample?
Sample length alone cannot determine whether using part of a copyrighted song is permitted. Even brief excerpts can require permission, while fair use depends on the purpose, material used, and possible effects on the original work.
Can you sell beats that contain samples?
You can sell beats containing samples when the recordings are original, properly licensed, or used under another valid legal basis. Review any sample license for restrictions on commercial releases, resale, sublicensing, attribution, and distribution through beat marketplaces.
What is the difference between a sample and a loop?
A sample is a recorded sound or audio excerpt used in music production, while a loop is a passage arranged to repeat continuously. Producers can loop a sample, but individual samples can also play only once.
Where can you find free samples for music production?
Free samples are available from libraries such as Freesound, public-domain archives, and selected royalty-free sample collections. Check the license attached to each recording, since free access may still require attribution or restrict commercial use or modification.



