Device Details
Overview
Name | Version: | Kasm Rust Emanator MIDI Transformation Tool 1.12 |
Author: | kevleyski |
Device Type: | MIDI Transformation |
Description: | Emanator, generates complex MIDI note/velocity sequences with Rust code! Includes copy/paste mechanism to export the Ableton Transformation Tool dictionary JSON data into tools like https://pyrmontbrewery.com/kasm (double click "text copy") This Ableton Live 12.2 MIDI Tranformation device was built with source code available here: https://maxforlive.com/library/device/12909/kasm-ableton-wasm-rust-source-code-example This is the Ableton MIDI Transformation version of the Kasm Emanator - it's the same Rust code but generates Ableton Note dictionary data instead of pushing to the MIDI output !! NOTE: you need the latest Ableton 12.2 for this as it uses the new V8 jsinterp from Max9 !! Kasm is WebAssembly so you can develop and test things in web browser too, try it out here: https://pyrmontbrewery.com/kasm For the inquisitive amongst you the Kasm Rust SDK efficiently ingests the Ableton Notes dictionary JSON object from V8 using Rust's compiled serde JSON transformer, modifies it and then on-the-fly regenerates a replacement Ableton Notes dictionary back into Ableton #[wasm_bindgen] pub fn kasm_transform_notes( input_notes_json: JsValue, rate_ms: i32, inlet_0_note: i32, inlet_1_semitone: i32, inlet_2_velocity: i32, inlet_3_enc1: i32, inlet_4_enc2: i32, inlet_5_selector: i32 ) -> JsValue { let input_notes: Notes = match serde_wasm_bindgen::from_value::serde_json::Value(input_notes_json.clone()) { Ok(json_value) => { if let Ok(notes_struct) = serde_wasm_bindgen::from_value::Notes(input_notes_json.clone()) { post!("rust: kasm_transform_notes - parsed as Notes structure"); notes_struct } else if let Some(notes_array) = json_value.get("notes") { match serde_json::from_value::Vec Note (notes_array.clone()) { Ok(notes_vec) => { Notes { notes: notes_vec } ... full source code is here https://maxforlive.com/library/device/12909/kasm-rust-ableton-wasm-source-code |
Details
Live Version Used: | 12.2 |
Max Version Used: | 9.0 |
Date Added: | Jul 18 2025 07:33:44 |
Date Last Updated: | Jul 29 2025 00:49:22 |
Downloads: | 154 |
ⓘ License: | None |
Average Rating
Log in to rate this device |
-n/a- |
Files
Device File: | Kasm Emanator Transformation.amxd |
Login to comment on this device.
Browse the full library