# Patch Lab by SEQ-16 > Load a bass, 808, keys or synth sample and Patch Lab finds the Bass Lab or Synth Lab patch that sounds closest, scored on the sound you hear. Play it on every note, export WAV or keep editing it. Free, in your browser. URL: https://drum-machine.app/patchlab/ (also in 19 other languages, for example https://drum-machine.app/de/patchlab/ and https://drum-machine.app/ja/patchlab/). Part of SEQ-16 (https://drum-machine.app/), a free crate-digging drum machine and sequencer in the browser. Load a bass, 808, keys or synth sample. Patch Lab finds the Bass Lab or Synth Lab patch that sounds closest, scores how close it got, and lets you play it on any note. ## What you can make Patch Lab turns a recorded note into a synth patch you can play. Load a sample, pick the window that holds the note (up to 2 seconds), and Patch Lab measures its pitch, pitch drop, attack, length and brightness. It then tries every preset of Bass Lab (basses and 808s) or Synth Lab (pianos, keys, organs, plucks, pads and leads) with those measurements, fine-tunes the closest few, and scores each one on the sound you hear when you press B. The result is a real synth patch, not a stretched copy of your file: it plays in tune on every note, and you can open it in its lab to keep shaping it. One clean, dry note gives the best match. - **A playable 808 from one hit**: Load a single 808 and get a patch with a similar pitch drop, length and tone that plays on every note, instead of pitching one recording up and down. - **A starting point for a sound you like**: Match a bass, a key or a lead from your own recordings, then open it in its lab and change what you want. - **A playable sampler instrument**: Download the matched patch as a note set: a ZIP of WAVs across the keyboard with an SFZ file, ready for any SFZ sampler. ## What to do with the files - **Rebuild your own sounds**: Turn a bass you recorded or designed long ago into a patch you can edit and play again. - **Learn how a sound is made**: See which envelope and settings get close, then hear what each one does in Bass Lab or Synth Lab. The preset a match started from is only where the fine-tune began, so its name can belong to a different instrument. - **Fill a sampler**: Export the patch as WAV at the notes you need, or as a whole note set from Bass Lab or Synth Lab. ## How it works 1. Load a sample (WAV, MP3, OGG, FLAC or M4A) or pick one of the examples. 2. Drag the window so it starts on the note you want. It starts on the strongest hit. Zoom in to place it exactly, and drag its edges to leave out the next note. 3. Choose Match with (Auto picks Bass Lab for low notes and Synth Lab for higher ones) and press Find the patch. Patch Lab measures the sound, tries every preset with those measurements, also an octave up in case the lowest tone is a sub, and fine-tunes the closest few. This takes a few seconds to half a minute, depending on the computer. 4. Compare A (your sample) and B (the patch) at the same loudness, on any note. 5. Tweak it by ear with six simple controls, or ask for variations with More like this. 6. Download a WAV, a whole note set (ZIP with SFZ) or patch.json, or open the patch in Bass Lab or Synth Lab to keep editing it. ## Specifications - Input: WAV, MP3, OGG, FLAC, M4A (what your browser can decode), up to 15 MB and 5 minutes - Analysis: Window of up to 2.0 s, mixed to mono and converted to 22.05 kHz with an anti-alias filter: pitch (with an octave check), pitch drop, attack, decay, length, brightness - Matching: 100 Bass Lab presets and 100 Synth Lab presets (or the ones of the lab you pick), at the measured note and an octave up, then a fine-tune of a few hundred more. Every candidate is rendered at 44.1 kHz, the rate B plays, and scored on spectrum (up to 8 kHz), loudness over time and pitch - Tweaks: Fine tune, attack, length, brightness, drive, gain; variations around any match; MIDI keyboard input - Sound engine: Bass Lab and Synth Lab: the same engines and presets, so a patch sounds the same in Patch Lab and in its lab at 44.1 kHz - Export: WAV 16-bit, 24-bit or 32-bit float; 22.05, 44.1 or 48 kHz (rendered at 44.1 kHz and converted, so every rate sounds like B); mono or stereo; root note and loop points stored; note sets as ZIP with SFZ (release and loops from the patch) and mapping.json; patch.json - Privacy: Runs in your browser. The sample is never uploaded. ## Questions ### Is my sample uploaded anywhere? No. Decoding, analysis and matching all run in your browser. The sample never leaves your computer. ### What sounds work best? One clean, dry note: 808s, sub and synth basses, pianos, electric pianos, organs, plucks, pads and leads, with no drums, chords or other instruments on top. Reverb, delay and heavy processing are matched only as far as the synths can copy them, stereo width is not compared (the sample is mixed to mono for matching), and a layered sound is matched as one sound. Chords, loops and drums match poorly, and Patch Lab warns about them. ### What does the match percentage mean? It compares the spectrum (up to 8 kHz), the loudness over time and the pitch of your sample with the patch as B plays it. As a rough guide, 80% and up is close, around 60% is the same kind of sound but clearly different, and below 40% the sound is out of reach for these synths. It is a measurement, not a listening test, so let A and B decide. ### Why is the match an octave above the pitch shown? A sub-oscillator an octave below the note (common on Reese basses, pads and organs with a 16 foot drawbar) makes the whole sound repeat at the sub’s pitch, so that is the pitch Patch Lab measures. It therefore also tries every preset an octave up, keeps whichever sounds closer, and says so under the measurements. ### Is the result an exact copy? No. Patch Lab finds the closest patch Bass Lab or Synth Lab can play. Some sounds, like a slapped bass, a sung note or a heavily processed recording, cannot be rebuilt by these synths and get a low score. ### Can I use the exported WAV in my music? The WAV is rendered by the synth from the patch. Whether you may use a sound that resembles someone else’s recording is up to you and the rights in that recording. ## Manual ### Loading a sample Use Load a sample or drop a file on the page. Patch Lab reads what your browser can decode: WAV, MP3, OGG, FLAC and usually M4A. Files over 15 MB or 5 minutes are refused; trim long recordings to the note you want first. Files longer than 90 seconds are loaded at 22 kHz to save memory, so A sounds a little duller. Stereo is mixed to mono for matching; the patch itself can still be stereo. The examples are single hits from the SEQ-16 sample archive. ### The sample window Patch Lab listens to up to 2.0 seconds of your sample. The highlighted window starts on the strongest hit; drag it, or use the 10 ms buttons, so it starts just before the note you want and holds only that note. Play window plays exactly what will be matched. Shorter window: drag the window's left or right edge to make it shorter (down to 0.2 s), for example to stop before the next note. Patch Lab then treats the note as ending there. Zoom: scroll on the picture to zoom in around the pointer, scroll sideways to move along the file, or use + and −. Show all or a double-click shows the whole file again. Useful for picking one note out of a long recording. ### Finding the patch Match with chooses the lab: Bass Lab for basses and 808s, Synth Lab for pianos, keys, organs, plucks, pads and leads. Auto picks by the measured pitch: Bass Lab for low notes, Synth Lab for high ones, both in between or when the pitch is unclear. With both, each result is tagged with its lab. Find the patch first measures the sound: pitch, pitch drop (as on an 808), attack, decay, length and brightness. It then renders every preset of the chosen lab at your note, with your pitch and loudness shape, at 44.1 kHz (the rate B plays), and ranks them. Every preset is also tried an octave up: a sub-oscillator below the note makes a sound measure an octave low, and the closer of the two wins. The closest few, from different preset families, are fine-tuned by trying hundreds of small changes. Use best so far stops early and keeps what was found. Warnings appear when the window has no clear pitch, several hits, or a sound higher than a usual bass while matching with Bass Lab. When the best match sits an octave away from the measured pitch, the measurements say so. ### Comparing A and B A plays your sample window, B the selected patch, both at the same loudness so the louder one does not sound better by default. The keys play both at other notes: the patch is rendered at that note, your sample is sped up or slowed down. The picture shows your sample in grey and the patch in colour, with both spectra below. Use MIDI keyboard lets a connected keyboard play the patch (Chrome and Edge); velocity sets the volume. Each note is rendered the first time it is played, so with MIDI on, the notes of the current octave are prepared in the background. Clip length limiter (red marker). Drag the red marker on the picture to set the longest the patch may ring; everything after it is cut with a smooth fade (Fade when clipped), so it ends like a natural release instead of a click. Double-click the picture for no limit. The cut applies to B, the WAV and patch.json, and Open in Bass Lab or Synth Lab carries it over to that lab’s own red marker. The match figure is not affected. When the patch rings longer than 2 seconds, the picture stretches to show its whole tail. ### Tweaking by ear The match is a starting point; your ears decide. Six controls change the selected patch without losing the match: Fine tune (cents), Attack (softer or harder start), Length (decay, note length and release together), Brightness (the filter cutoff, or a high shelf when the patch has no filter), Drive (more distortion) and Gain (output level). The match figure is measured again after each change, so you can see when a change moves away from your sample. Reset tweaks returns to the patch as found. More like this tries two dozen small changes around the selected patch and lists the three closest under it, as Match 1a, 1b and so on. They are worth a listen even when their figure is a little lower: the figure measures, your ears judge. ### Export and the labs Download WAV renders the selected patch at the note shown, normalized to -1 dB (turn Normalize off to keep the patch level and the Gain tweak; a note that then goes over full scale is clipped, and Patch Lab tells you), with a smpl chunk holding the root note. It is rendered at 44.1 kHz like B and converted to the rate you pick, so the file sounds the same at every rate. Mono or Stereo follows the patch (stereo when it is wide) until you change it. Download set renders the patch from the lowest to the highest note you choose, every 1 to 12 semitones (every 3 is a good balance of size and quality), and saves one ZIP: the WAVs, an SFZ file that maps each one to its keys, mapping.json with the same mapping for other samplers, and patch.json. Each note in the SFZ releases with the patch’s own release time. A patch that holds while the key is down is looped with Loop held notes: each WAV gets a crossfaded loop (stored in the file and in the SFZ), so a sampler can hold it as long as you like. With Normalize on, the whole set gets one gain so the loudest note peaks at -1 dB and the notes keep their natural levels. Very large sets come as several ZIPs; unzip them into one folder. The clip length limiter and your tweaks apply to every note. Download patch.json saves the patch in the format of its lab. Open in Bass Lab or Open in Synth Lab opens that lab in a new tab with this patch loaded (it replaces the patch you had open there), where you can change anything. ## Patch format Patches are one flat JSON object of key:value pairs; partial patches are fine. The page button "Copy parameter reference" lists every key, range and default, so an AI assistant can write a patch for a described sound and the user can paste it under Patch JSON. ## Links - Bass Lab: https://drum-machine.app/basslab/ - Synth Lab: https://drum-machine.app/synthlab/ - Voice Lab: https://drum-machine.app/voicelab/ - SEQ-16 drum machine: https://drum-machine.app/ - Site summary for AI: https://drum-machine.app/llms.txt