How to load your own sample and play it as an instrument
To play your own sound as an instrument, add a sampler track in the free Tracks studio, load an audio file, set the Root dial to the note the sample plays, and then play it from a MIDI keyboard or draw notes in the piano roll. The sampler pitches that one sound up and down across the keys.
What the sampler does
The sampler takes one audio file and maps it across the keyboard. Play the root note and you hear the file at its original pitch. Play a key higher and the sound speeds up and rises; play lower and it slows down and drops. That is how a single vocal "ah", a guitar pluck, or a sound from an old recording becomes something you can play a melody or bassline with.
It is different from the drum machine, which gives you many separate hits. Here you get one sound, played at many pitches. For drum kits, see the drum machine guide.
Step 1: Add a sampler track
Create a new track and pick the sampler as its instrument. The sampler panel shows a status line. Until you load something it reads "No sample loaded".
Step 2: Load a sample
Press Load sample and choose a file from your device. The sampler accepts WAV, MP3, M4A, OGG and FLAC. Once it decodes, the panel shows the file name, its length in seconds, and whether it is mono or stereo, and you hear it play once as a preview. If the file cannot be decoded you get an error message; try exporting it as WAV and loading that instead.
The file is read in your browser. It is not uploaded anywhere, and the project stays on your device.
Short, clean sounds work best: a single note, a one-shot, a short phrase. Make sure you own the sound or have the right to use it; see music ownership and copyright.
Step 3: Set the root note
The Root dial tells the sampler which note your recording really is. If you loaded a recording of a piano playing C, set Root to C so that pressing C on your keyboard sounds in tune with your other tracks. The default is middle C.
If you do not know the pitch, press Audition and compare it against a synth note, then adjust Root until they agree. Drums and noise have no clear pitch, so the root only decides how far they shift.
Step 4: Shape the sound
- Gain: the level of the sampler track before it hits the mixer.
- Att (attack): how quickly the sound fades in. Keep it near zero for plucks and hits; raise it for a soft swell.
- Rel (release): how long the sound rings after you let go of the key. A short release stops a long tail from smearing the next note.
- Loop: repeats the sample while a key is held, so a short sound can sustain like a pad or organ.
Step 5: Play it in
There are two ways to put notes down. If you have a MIDI keyboard, arm the track and play; see using a MIDI keyboard in the browser. Without one, create a clip, open the piano roll, and draw notes with the mouse. For melody ideas, see making a melody without theory.
Pitching a sample a long way from its root changes its character. Keep the melody within a few semitones of the root for a natural sound, or go far on purpose for a chipmunk or slowed-down effect.
Step 6: Tidy and mix
Treat the sampler like any other track. Cut rumble with a high-pass filter (guide), add a little reverb, and set its level against the rest of the song. If you want to slice a longer recording into hits instead, see sample chopping.
Common mistakes
- Wrong root note. The sample plays out of tune with everything else.
- Long files. A full song loaded as one sample is hard to play; use short sounds or chop them first.
- Tails that never end. Shorten Rel when notes pile up.
- Notes far from the root. Extreme shifts sound thin or muffled.
Frequently asked questions
Can I use my own audio file as an instrument?
Yes. Load a WAV, MP3, M4A, OGG or FLAC file into the sampler and play it across the keyboard. It runs in your browser with no install.
What does the root note do?
It sets the key at which the sample plays at its original pitch. Other keys shift it up or down from there.
Is my sample uploaded?
No. The file is decoded in your browser and stays on your device along with your project.
Does the sampler loop a sound?
Yes. Turn on Loop to repeat the sample while a key is held, which helps short sounds sustain.
Turn any sound into an instrument, for free
Sampler, piano roll, and mixer in the browser. No download, no account.