Profile PictureKev
A$79+

Kasm Rust Ableton WASM v1.14

Add to cart

Kasm Rust Ableton WASM v1.14

A$79+

Create your own complex Live4Max and WebMIDI instruments and effects in Rust!

Manipulate Ableton Live note dictionary data to create MIDI transformations, MIDI generator plugins, drum machines, step sequencers, and arpeggiators and make it fun with high frame rate interactive visuals.

Some ideas for using the Kasm Rust SDK in Ableton Live:
- Create cool-looking VST wrappers for third-party plugins.
- Hook into WebXR and use AR to control virtual instruments.
- Design smarter X/Y controllers with visual feedback, unlike Ableton’s blank ones.
- Monitor our live performance for trigger patterns to automate things like changing the scene.
- Integrate with pitch detection (autotune) to trigger live events on the mixing desk, adjust monitor levels, set off lighting effects etc.
- MIDI tape loops playback the last half bar repeatedly, applying fast Rust-compiled algorithms with fade and counterpoint harmony.
- Bangaz hits drum racks algorithmically in Rust, adapting to your playing style.
- Fill gaps in Ableton Live using your favorite plugins and other DAWs.

The Kasm Rust SDK provides examples including Max4Live devices that show how to hook into Ableton MIDI Generator and MIDI Transformation, with full source code, build scripts, and a WebMIDI test harness to hear your Rust code directly in the browser.

Since Kasm uses WebAssembly, you can develop and test things in a web browser too. Try it here:
https://pyrmontbrewery.com/kasm

Cross platform WebAssembly development includes:
- Instant feedback loops for testing harmonic analysis, chord detection, and algorithmic composition outside Max editor.
- Visual debugging via web browser DevTools and IDEs for performance profiling and memory analysis, unavailable in traditional Max4Live.
- Efficient MIDI manipulation using Rust in Ableton Live 12.2 with Max4Live through WebAssembly in the new V8 JavaScript engine.

Example Max4Live devices:
- Live MIDI looping with counterpoint harmonizing.
- LFO with MIDI CC and Ableton Live mappings.
- Ableton clip view MIDI Generative Tool device.
- Ableton clip view MIDI Transformation Tool device.
- Drum machine, step sequencing, arpeggiators.
- Monitor musical key changes and chord progressions.
- Detect live musical patterns to trigger Ableton and third-party plugins.
- Animated backdrops, visualizers, and smooth VST wrappers for Max4Live devices.

SDK Features:
- Safely pass parameters from JavaScript into Rust and back.
- Rust calling Max4Live outlet functions to play chords offset by semitones.
- Debug messages from Rust appear in Max console.
- Web browser test harness to run Ableton Live WebAssembly in Chrome/Firefox.

How Kasm works with Max4Live/V8:
- Rust code compiled to WebAssembly for MIDI/Audio DSP logic.
- JavaScript bridge layer handles WASM loading and parameter marshalling.
- Max4Live provides jweb and V8 JavaScript engine inside .amxd device for two-way communication with Rust/WebAssembly.

Kasm SDK also abstract some nuances around base64-encoded WASM binaries compiled for integration:
- Custom atob() implementation for Max4Live.
- Function export and caching for Rust functions accessible to JavaScript.
- WASM memory string conversions for JavaScript.
- Max console debugging

Building and updating is easy with:
- npm install
- npm run build

This updates kasm_WASM_rust.js, which compiles the WASM; then paste it into any 'v8' Max4Live object.

Students also receive a 30% discount.

This SDK makes it easy to monitor live MIDI, generate complex note and CC sequences, and create engaging visualizers and animated device backdrops using Rust and WebAssembly.

!! Note: Requires Ableton Live 12.2 or later with V8 engine support (Suite or Standard + Max4Live add-on). !!

A$
Add to cart

Rust/WebAssembly/JavaScript source code you can use to build a Ableton Live Max4Live .amxd supporting Rust code

Size
3.75 MB