← All guides

How to load your own sample and play it as an instrument

By Tongkit Leong · October 25, 2026 · 6 min read

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

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

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.

Open the studio →