Device Details
Overview
Name | Version: | Kasm Rust SDK - Source Code 1.14 |
Author: | kevleyski |
Device Type: | MIDI Effect |
Description: | 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. Features: - 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. - Monitor musical key changes and chord progressions. - Detect live musical patterns to trigger Ableton and third-party plugins. - Live MIDI looping with counterpoint harmonizing. - Drum machine, step sequencing, arpeggiators. - Animated backdrops, visualizers, and smooth VST wrappers for Max4Live devices. Examples of MIDI triggering from Rust code are available on SoundCloud playing various VST instruments. 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 !! Note: Requires Ableton Live 12.2 or later with V8 engine support (Suite or Standard + Max4Live add-on). !! 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. |
Details
Live Version Used: | 12.2 |
Max Version Used: | 9.0 |
Date Added: | Jun 26 2025 03:33:25 |
Date Last Updated: | Aug 12 2025 22:22:06 |
Downloads: | 0 |
Website: | https://pyrmontbrewery.com/get_kasm |
ⓘ License: | Commercial |
Average Rating
Log in to rate this device |
-n/a- |
Login to comment on this device.
Browse the full library