M4L LayerLab
LayerLab is a Max for Live instrument designed for generating one-shot sounds through stochastic sample layering.
Just load a folder of sounds, trigger a MIDI note, and hear layers unfold in unpredictable ways.
You control how samples are selected and layered across 4 independent slots, adjusting parameters like sample position, playback latency, and speed, either tape-style (where speed affects pitch) or with time stretching (keeping pitch intact while altering duration). Additional controls shape panning, dynamic balance (volume relative to other layers, not gain), and more.
The XTRA window unlocks more tweaks, including playback direction (forward/reverse), LP and HP filtering, time stretching options, and L/R phase inversion.
Everything can be randomized in one click or fine-tuned via a matrix, where you can select which parameters to randomize or reset and set deviation amounts for controlled variation.
New in v1.2: A global ADSR envelope has been added to the main output. This allows you to shape the overall amplitude of the generated sound. For example, setting the envelope to 0ms attack, 100% sustain, and 0ms release effectively turns it into a gate. The sound plays for exactly as long as you hold the MIDI note. This adds a new layer of control over the duration and articulation of each trigger.
Important: this device doesn’t store presets. So record everything and remove it from your project once you’ve captured sounds you like.
Stretch it, push it, make it your own. Let me know if you have any questions.
Don't forget to check out my other devices and follow me on social media for updates
IG: https://www.instagram.com/y.r.a.k.i
Yraki_LayerLab.amxd, M4L LayerLab - Quick Start.pdf