Skip to content
altstrument

push2.js

Tool for Push 2 (Ableton)

JavaScript library for driving a Push 2 from the browser over Web MIDI, with example pages, a teaching demo and an experimental Chrome extension that shows the contents of a chosen window on the Push 2 display. A 2017 project by an Ableton employee, unofficial.

by benbenbenbenbenbenbenbenben

DormantSource: openunspecified
Top-down view of Push 2, a black controller with a row of encoders, a colour display, an 8 by 8 pad grid with a purple block lit in its lower left, and buttons around it, on a pale wood table
Photo: Ableton, manufacturer archive image, via web.archive.org
Distribution
Build from source yourself
License notes
There is no LICENSE file. The README says the author regards the code as public domain and will take contributions on the same terms. The repository also holds demo audio and an impulse response with no stated origin.
Source
github.com https://github.com/benbenbenbenbenbenbenbenben/push2.js

Description

push2.js wraps the controller's pads, buttons, encoders and lights. The demos are a small instrument page and a teaching page with drum sounds. Window2Push2 is a developer-mode Chrome extension that captures a window and relays it to the display; the README lists blur and pixel-format problems. SysEx over Web MIDI needs a secure page, so a Python script serves the examples over HTTPS. The author says the project has nothing to do with Ableton and that Live and a push2.js page cannot use the Push at once.

Install notes

Run python3 secureHttpServer.py and open the example page on localhost over HTTPS, accepting the certificate warning. Quit Live first, and power the Push off and on between apps. The repository includes a localhost.pem file that contains a private key.

Version history

push2.js version history
VersionDateNotes
master @ 58c130f2017-04-18
No tagged releases; this is the latest commit.

Back to Push 2