GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - chrisvalezi/prosuite-push-sdk: Standalone Rust SDK for Ableton Push 2 and Push 3, with USB display, MIDI controls, and virtual surfaces.

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
crates
crates
 
 
docs/images
docs/images
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

ProSuite Push SDK

A standalone Rust SDK for building apps and control surfaces for Ableton Push 2 and Push 3. It includes USB display output, MIDI controls, lights, pads, pressure, the touch strip, and a virtual Push for development without hardware.

The public API is in prosuite-push. This repository was extracted from the ProSuite platform at revision 8634181bdca8f83f61e6e80e4ba20983eccc89cf. The supporting crates provide MIDI, USB, graphics and the virtual surface. The SDK uses the same API for a connected device and its virtual counterpart.

Virtual Push

The snapshots below were rendered by the ProSuite framework using the included push_hello example. The virtual surface accepts pad and button clicks, encoder movement, and touch strip gestures. The application receives the same control events it would receive from the physical device and can send back lights and screen frames through the same SDK calls.

Push 2

Virtual Push 2 rendered by ProSuite, with illuminated pads and an interactive display

Push 3

Virtual Push 3 rendered by ProSuite, with illuminated pads and an interactive display

Quick start

Build with a current Rust toolchain. The extracted workspace was tested with Rust 1.99.1. Run these commands from the repository root.

cargo test --workspace --all-targets
cargo run --release -p prosuite-push --example push_hello -- --alone

The second command opens a virtual Push 3. Add --push2 to try a virtual Push 2. Omit --alone to let the example follow connected hardware.

# List connected hardware
cargo run --release -p prosuite-push --example push_test -- --list

# Reproduce both virtual snapshots without opening a window
cargo run --release -p prosuite-push --example push_hello -- --push2 --snapshot=docs/images/push2-virtual.png
cargo run --release -p prosuite-push --example push_hello -- --snapshot=docs/images/push3-virtual.png

# Generate the SDK API reference
cargo doc -p prosuite-push --no-deps
Example What it demonstrates
push_hello A small controller app with a display, pads, encoders, and the touch strip
push_test Control events, pressure modes, lights, and the hardware or virtual surface
push_palette The hardware LED palette
push_colors Display color ramps and pixel packing

Use from a Rust project

For a sibling checkout, add:

[dependencies]
prosuite-push = { path = "../prosuite-push-sdk/crates/prosuite-push" }
use prosuite_push::{Control, Light, Model, Push};

fn main() -> Result<(), prosuite_push::PushError> {
    let (mut push, device) = Push::new_virtual(Model::Push3);
    device.press(Control::Pad { column: 0, row: 0, velocity: 100 });

    for control in push.poll() {
        if let Control::Pad { column, row, velocity } = control {
            let light = if velocity == 0 { Light::Off } else { Light::Index(5) };
            push.set_pad(column, row, light)?;
        }
    }
    Ok(())
}

Use Push::open() to open the first connected device, or find() with Push::open_found() to choose one. Use Push::show() to send a 960 × 160 premultiplied RGBA frame.

How the SDK is organized

  • Push is the common interface for physical and virtual devices. Call poll() to read typed events and use set_pad(), set_light(), and show() to give feedback.
  • Controls handles MIDI input, device discovery, lights, pressure, and touch strip settings. Display handles the 960 × 160 hardware screen over USB.
  • Virtual lets a test inject controls and inspect the resulting lights and screen. PushView draws that virtual device in a ProSuite window.
  • The workspace keeps the reusable dependencies needed to build these features. It is independent of the ProSuite DAW and its audio engine.

Platform notes

The source includes macOS, Linux and Windows backends. This extraction was built and tested on macOS with the virtual surface. Physical device behavior depends on the OS, driver and permissions.

  • macOS uses Core MIDI and the system USB frameworks.
  • Linux uses ALSA for MIDI. The Push udev rule gives the logged-in user access to the supported USB devices. Follow the installation commands in the rule and reconnect the controller.
  • Windows uses WinMM MIDI and WinUSB for the screen. The screen interface needs to be accessible through WinUSB.

License

MIT. This is an independent project. Ableton and Push are names of Ableton products.

About

Standalone Rust SDK for Ableton Push 2 and Push 3, with USB display, MIDI controls, and virtual surfaces.

Topics

abletonableton-pushcontrol-surfacemidipush2push3rustsdkusbvirtual-controller

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.