Loading samples

Everything starts with Add Samples. Pick as many files as you like in one go; they are added to the list in name order, so a numbered set arrives in the order you named it. Add more at any time, including while the medley is running.

Add Samples Opens a file picker. Accepts the formats the browser can decode: MP3, WAV, FLAC, OGG, Opus, AAC, M4A, MP4, WebM and CAF. Anything else in the folder is ignored rather than loaded as a silent item, so you can safely select everything.
Files with no extension Handled where possible: if the name carries no usable extension, the format is taken from what the operating system reports about the file instead.
Clear Samples Empties the whole list. It asks first — the button changes to Press again for a few seconds, and ignores an immediate second tap so a double-tap can't sail straight through it.

Short samples work best. XuMedley restarts a sample from the top every time its turn comes round, so single hits, phrases and short loops give you the most control. Long files work, but with a short Gap they will be cut off and retriggered before they finish.

The transport

Three buttons drive the whole instrument. Each has a keyboard shortcut, shown on the button, which works anywhere on the page.

Start All (Q) Switches on every loaded sample and starts the medley. Everything begins at once, then drifts apart as each one takes its own Gap.
Start? (W) Starts a random handful instead of all of them. How many is decided by ? Min and ? Max — press it repeatedly for a different selection each time. The question mark is used throughout the app to mean "randomised".
Stop All (E) Stops everything immediately and switches every sample off.
? Min / ? Max The range Start? picks from. Asking for more samples than you have loaded is harmless — you simply get all of them.

Sample items

Each loaded file gets a row of its own. The filename sits in a lit readout with its power button beside it, and the rest of the controls below.

Power Puts this one sample in or out of the medley, without touching the others. Lit means it is in. This is the control to reach for while the medley runs: switch parts in and out to arrange on the fly.
Preview Plays the sample once so you can hear what it is, without adding it to the medley. It becomes a stop button while the sample sounds, which matters for long files. Previewing never changes whether the sample is switched on.
Mute Silences the sample but leaves it running, so it comes back in time rather than restarting when you unmute. Good for dropping a layer out and back in.
Volume This sample's level, independent of the master. Use it to balance a set of samples recorded at different levels.
Remove Takes this sample out of the list entirely.

Two different things are worth telling apart, and the app shows them in two different places:

On, versus sounding The power button shows whether a sample is in the medley. The item itself lights up only while it is actually making a noise. With a long Gap set, a sample is switched on but silent most of the time, which is why these are shown separately.
The counter Three figures, colour-coded to match: how many samples are loaded, how many are switched on, and how many are sounding at this instant. On desktop it sits in the top bar; on a phone it is under the logo.

Amp

Master level for the whole instrument, kept out of the folding sections because it is the one control you reach for mid-performance. It shows its setting by how far along the groove is lit rather than as a number — you set a master by ear. On desktop it lives in the top bar.

Sampler

How every switched-on sample behaves. These are global: they apply to the whole medley, not to one sample.

Pitch Playback rate for every sample, from 0.05× to 2×, where 1 is the original. It changes speed and pitch together, like a turntable. Low values stretch short samples into long, grainy textures.
Pitch? Adds a random amount on top of Pitch, drawn fresh for every single trigger, so no two repeats are tuned alike. At 0 the pitch is exactly what the Pitch slider says. A little goes a long way: 0.1 gives gentle detuning, high values scatter samples across octaves.
Gap How long a sample waits before repeating, up to 10 seconds. At 0 it loops back immediately with no pause.
Gap? Adds a random wait on top of Gap, drawn fresh each time, up to another 10 seconds. This is what stops a set of samples locking into a repeating pattern — it is the single most useful control for making the medley sound alive.
Voices How many samples may sound at the same time, set with the − and + buttons or the slider. At the top of the range it reads ∞ for no limit. Below that, a new trigger stops the oldest sounding sample to make room, the way a synth steals voices — so the limit holds without anything being refused.

Watch the level with no Gap: a dozen samples at Gap 0 all retrigger constantly and stack up fast. If things get loud or muddy, raise Gap and Gap? before reaching for Amp — thinning out what is playing usually sounds better than turning down a wall of sound. Voices is the hard ceiling if you want one.

Delay 1 & 2

Two delays, with the second fed from the first. That ordering is the point: in parallel you would get two echoes of the same thing, but in series the second delay hears the first one's repeats as well, so a short setting into a long one gives you compounding tails that neither could produce alone.

Both carry the same three controls, and both ship at Dry/Wet 0, which is completely out of circuit — nothing changes until you reach for it.

Duration Time between repeats, from 10 ms to 1 second. Very short settings stop sounding like echo and start sounding like resonance.
Feedback How much of each repeat is fed back in, so how long the tail runs. It is held just below unity at the top of the slider, which keeps a long tail available without letting it build into a runaway.
Dry/Wet Balance between untreated and delayed sound. At 0 the delay is bypassed; at 1 you hear only repeats.

Settings

Set-once behaviour, tucked away from the performing controls. On desktop these are behind the Settings button in the top bar; on a phone they are in the folding Settings section at the bottom of the panel. Everything here, and every slider in the app, is remembered for next time.

Stop lets scheduled hits play Off by default, so Stop All cuts everything at once. On, samples already counting down a Gap are allowed one last hit, which ends the medley more gently. Pressing Stop a second time cuts those too.
Instant gap changes Off by default: a sample already waiting keeps the Gap it started with, so dragging the slider never yanks anything already in flight. On, Gap edits reach waiting samples immediately, which is more responsive to play with and less predictable.
Gap on restart On by default. After an interruption, returning samples wait out a Gap before coming back instead of all restarting together.

The desktop layout

On a wide screen XuMedley rearranges itself rather than scaling up the phone layout. Every control is on screen at once, with the sample list in a column of its own.

The top bar Holds the master Amp, the sample counter, Settings and Fullscreen — the things you want permanently in reach.
The faceplate Sampler, Delay 1 and Delay 2, stacked so every fader runs the full width of the panel. The sections do not fold on desktop; they are all open all the time.
The transport bar Fixed across the foot, so Start and Stop never scroll out of reach however far down the sliders you are. The section reset buttons sit at its other end.
The sample column Scrolls on its own, with Add and Clear plus ? Min and ? Max in its header. Drag the seam to its left to make it wider — the list reflows into two or three columns as it grows, showing more samples rather than wider ones. Drag it far enough left and it folds away; click the tab that is left behind to bring it back.
Double-click to reset Double-click any fader to put it back to its starting value. The Reset buttons in the transport bar do the same job for a whole section, or just for the Pitch or Gap pair.

Installing & offline

XuMedley is a web app you can install. On a phone, use your browser's Add to Home Screen; on desktop, the install icon in the address bar. Installed, it opens without browser chrome and keeps working with no connection — the app itself is stored on the device after the first visit.

Your samples are not stored The app is cached for offline use, but the audio files are not. They are read from the device each session, so you load your samples again after a reload. Nothing is uploaded either way.
On iPhone and iPad XuMedley declares itself a media player, so it keeps playing with the hardware mute switch on — which is what you want from an instrument. The trade-off is that starting it interrupts whatever else was playing.
Switching apps on iOS Playback stops when XuMedley goes out of sight, and picks up again when you come back and touch the screen. This is deliberate: iOS hands the audio session to whichever app is in front, and releasing it cleanly is what lets XuMedley reclaim it afterwards.

Tips

A self-playing bed

The setup XuMedley was built for: something that runs by itself for an hour without looping audibly. Good for installations, doors-open ambience, or a pad under a talk.

  1. Load a dozen or more samples. Variety matters more than quality here — single notes, room recordings, short phrases, anything with a tail.
  2. Set a long Gap and a longer Gap? Try Gap around 2 seconds and Gap? at maximum. The random part is what keeps the samples from falling into step with each other.
  3. Add a touch of Pitch? Around 0.1 is enough to stop repeats sounding identical without making the tuning obviously wander.
  4. Bring up Delay 2. Long Duration, high Feedback, Dry/Wet around a third. With Delay 1 still bypassed this gives you one long wash; bring Delay 1 in short afterwards to thicken it.
  5. Press Start All and set the level with Amp. Then leave it — nothing here needs attending to.

If it thins out too much, switch more samples on with their power buttons rather than shortening the Gap. More sources at long intervals stays interesting for far longer than fewer sources repeating quickly.

Rhythmic stutter

The opposite extreme, and much more hands-on: one sound at a time, retriggering constantly, which you play by moving the sliders.

  1. Load a few short, percussive samples. Hits and clicks rather than phrases.
  2. Gap to 0, Gap? to 0. Everything retriggers the moment it finishes.
  3. Voices down to 1. Now only one sample sounds at a time and each new trigger takes the voice from the last, which turns a pile of loops into a single stuttering line.
  4. Start All, then play Pitch and Pitch? with one hand. Pitch sets the speed of the whole thing; Pitch? decides how far it scatters.
  5. Use Delay 1 short — well under 100 ms, with high Feedback — for metallic resonance rather than echo.

Worth turning Instant gap changes on in Settings for this one: it lets Gap edits reach samples that are already waiting, so the slider responds under your fingers instead of on the next pass.