Hliuma

How to slice a drum loop and map it across the keyboard

Slicing a drum loop means cutting it at each hit (the transients) so every drum sound becomes its own slice, then mapping those slices to keys — one sound per key — so you can replay or rearrange the beat. Good slicing detects the hits, cuts cleanly (with tiny fades to avoid clicks), and lays the slices out chromatically up the keyboard. A sensitivity control lets you catch more hits (ghost notes) or fewer (just the obvious ones). Xampler's drum mode does all of this automatically and exports the kit to SFZ, SF2 or Korg KMP.

In Xampler — drum slicing
  1. 1Drop your drum loop into Xampler's drum mode.
  2. 2It detects the transients and slices the loop into individual hits.
  3. 3Adjust the sensitivity if you want more or fewer slices; move slices if needed.
  4. 4Slices map chromatically up the keys; export to SFZ, SF2 or Korg KMP.
Common questions
01

How do I chop a drum break into individual hits?

You detect the transients — the sharp attack of each hit — and cut the loop at those points, so each kick, snare and hat becomes a separate slice. Then map each slice to a key or pad. Doing it by ear and hand is slow; transient detection automates the cutting. Xampler finds the hits and slices the loop for you.

02

How do I get one drum sound per key, one per pad?

After slicing, each slice is assigned to its own key, laid out in order up the keyboard. Press a key and you get that one hit — ready to replay the beat from a MIDI controller or piano roll. Xampler maps the slices chromatically across the keys automatically once it slices, so you go straight to playing them.

03

What if it makes too many or too few slices?

That's what a sensitivity control is for. Turn it up to catch more transients — ghost notes, soft hits — or down to catch only the obvious kicks, snares and hats. Most drum breaks sit at medium sensitivity. Xampler lets you change the sensitivity and re-slice, and you can move or merge slices by hand for the rest.

04

My slices click at the start or end — how do I fix that?

Clicks come from cutting mid-waveform. A tiny fade-in/fade-out on each slice removes them, or cutting at zero crossings does the same. Xampler applies short fades to the slice edges so the hits don't click when triggered, so the exported kit plays clean.

05

Can I rearrange the slices to make a new beat?

Yes — that's the point of slicing to a keyboard. Once each hit is on its own key you can play them back in any order, on the grid or live, to build a new pattern from the same drums. Xampler lets you move slices around and remap before exporting the kit.

06

What can I export the sliced kit as?

As a normal multisample instrument — Xampler exports the sliced drum kit to SFZ, SF2 or Korg KMP/KSF, the same formats as its melodic instruments. So a sliced break can become a playable kit on a software sampler or a Korg workstation.

07

Does slicing work on any drum loop, or just clean ones?

It works best on loops with clear, separated hits — a tight break slices cleanly. Very dense or heavily overlapping material is harder, because transients run into each other; you'd lower the sensitivity or adjust slices by hand. Xampler handles typical breaks automatically and gives you manual control for the tricky ones.

08

What key does the first slice land on?

Sliced kits are usually laid out from a low key upward, one slice per key in order. Xampler maps the slices chromatically starting from a low root note, so they sit in a predictable row you can play across — and it keeps them within range even for dense loops with many slices.