OXT Community Stacks

Web Audio Piano

by OXT-Beyond contributors

  • Runs JavaScript

Plays right here in your browser, boxed in: it cannot reach your files or your computer. How that works.

About this stack

Two octaves of piano to play with the mouse or the keyboard. Each note is made by the browser, so there are no sound files to load.

What this stack uses

  • Runs JavaScript. It runs JavaScript in its own boxed-in page, for example to make sound.
For xTalk developers: how it is built
  • Web Audio Piano (Web Audio Piano.oxtstack): 81 objects, 674 lines of script, with 1 substack

Runs JavaScript

The labels come from the checker, which reads every script without running any of it. Read all the scripts.

Open it in OXT-Beyond

  1. Download it (31 KB)
  2. Unzip the file you get.
  3. Open Web Audio Piano.oxtstack in OXT-Beyond with File > Open Stack... and change anything you like.

A stack you open on your own computer is no longer boxed in: it can do what any program can. Open stacks only from people you trust, and read the scripts first.

More stacks to play

See all the stacks