Virtu Piano – HTML5 Virtual Piano
Virtu Piano Overview & Interactive Audio Engine
Virtu Piano is an HTML5 virtual piano built on the Construct 3 runtime, engineered for web developers and indie studios to deploy a browser-playable instrument carrying 40 preloaded piano samplers. The asset resolves the bottleneck of reproducing polyphonic keyboard input across fragmented desktop browsers and mobile touch environments without any native audio plugin or server-side dependency. Inside production workflows, it operates as a self-contained front-end package that drops into arcade portals, music education pages, and promotional microsites, while its built-in capture pipeline feeds recorded performances toward YouTube and social distribution channels.
Technical Specifications & Deployment Matrix
| Engineering Metric | Deployment Specification |
|---|---|
| Base Technology / Framework | Construct 3 (runtime r440 Stable); legacy Construct 2 project included |
| Output / Deliverable Formats | HTML5 build (JavaScript JS, JavaScript JSON, HTML), Cordova project, Xcode project, Android Studio project |
| Browser Compatibility | IE11, Firefox, Safari, Opera, Chrome, Edge |
| Sound Engine | 40 piano samplers mapped to 25 keys with octave down / normal / up states |
| Input Layer | Multi-key computer keyboard bindings; multi-touch for mobile platforms |
| Recording Pipeline | Real-time screen and audio capture (Construct 3 runtime); Chrome, new Microsoft Edge, and Opera over HTTPS |
| Design Assets | Layered PSD, layered PNG, 4 color styles, toggleable key letters |
Sampler Playback, Input Dispatch & Execution Pipeline
The engine preloads its sampler bank, then dispatches simultaneous key events into a polyphonic playback layer. Every interaction — a computer keyboard strike, a pointer press, or a mobile touch gesture — routes through the Construct event system, which maps each trigger to one of the 40 instrument banks attached to the 25-key range. Octave state (down, normal, up) is tracked as a runtime variable, so shifting registers re-pitches the visible key range without reloading audio assets. The capture layer, exclusive to the Construct 3 runtime, records on-screen activity and output audio in real time and persists finished sessions as media ready for publishing.
Architectural & Functional Highlights
- Polyphonic sampler architecture: Forty distinct piano sound sets ship with the package and bind to the 25-key range, letting developers re-voice the instrument by swapping the included sample files rather than rewriting event logic.
- Dual input dispatch: Multi-key bindings allow desktop players to chord across the computer keyboard, while multi-touch handlers preserve simultaneous note presses on mobile browsers — a requirement for two-hand play on touchscreens.
- Real-time capture pipeline: Screen and audio recording run concurrently inside the Construct 3 runtime, and completed sessions can be saved before export to video platforms and social channels.
- Theming and guidance layer: Four color styles restyle the interface, and a toggle shows or hides piano key letters, separating teaching configurations from performance modes.
For studios assembling engagement-driven HTML5 catalogs on standard web hosting, the same embed-and-play delivery pattern applies to standalone titles such as Hexagon Fall, which ships as an independent skill game for WordPress embedding.
Production Deployment & Implementation Considerations
Editing the Construct 3 source project requires a Construct 3 Personal License; the bundled Construct 2 project is frozen at its legacy feature set, so all current development should target the r440 runtime files. The recording subsystem functions only in Chromium-based browsers — Chrome, the new Microsoft Edge, and Opera — and requires an HTTPS connection, a constraint that shapes hosting decisions for any page embedding the instrument. The Cordova, Xcode, and Android Studio projects exist specifically as packaging targets for native mobile exports; treat them as separate deployment channels rather than alternate codebases. Customization scope covers remapping keyboard bindings in the event sheet, replacing sampler files for alternative voicing, and editing the layered PSD and PNG resources for full visual re-skins. Teams already fluent in the same runtime can study an independent Construct 3 customization path through Watermelon, a separate puzzle template sharing the export workflow without any code overlap with this instrument.
Frequently Asked Questions
Does the package include a compiled desktop executable for Windows or macOS?
No, the deliverables comprise the HTML5 build plus Cordova, Xcode, and Android Studio projects. Desktop delivery happens through the HTML5 output running in any of the supported browsers rather than a native installer.
Are editable design source files included in the download?
Yes, layered PSD and layered PNG files ship alongside the JavaScript, JSON, and HTML output, allowing visual re-skins of the keyboard and interface without rebuilding the underlying Construct event logic.
Has the audio latency issue on mobile devices been resolved?
Yes, the audio delay affecting mobile playback was corrected in version 1.1, released June 2017, and the current r440 runtime build carries that fix forward across all bundled platform projects.