DEV Community

Score Next
Score Next

Posted on

Building NextScore Studio: A Next.js 15 & Web MIDI Interactive Sheet Music Platform (+ Engineering Roadmap)

Modern browsers have quietly become powerful real-time audio and hardware workstations. With the Web Audio API, Web MIDI API, and Web Bluetooth (BLE-MIDI), we no longer need heavy desktop installers just to practice piano, inspect MusicXML scores, or connect a hardware keyboard.

That was the motivation behind NextScore Studio β€” a next-generation online sheet music editor, interactive player, and open sheet music library built with Next.js 15, React 19, TypeScript, and Tailwind CSS v4.

In this post, I want to share the core features we have shipped so far, the technical architecture behind them, and our 2026–2027 engineering roadmap.


🎹 Core Features We Built

1. Real Hardware MIDI & BLE-MIDI 1.0 Support

Instead of relying on simulated inputs, NextScore Studio connects directly to physical digital pianos and MIDI controllers:

  • Web MIDI API (navigator.requestMIDIAccess) for plug-and-play USB-MIDI keyboards.
  • BLE-MIDI 1.0 Specification (MMA & Apple standard) using Service UUID 03b80e5a-ede8-4b33-a751-6ce34ec4c700 and Characteristic UUID 7772e5db-3868-4112-a1a9-f2669d106bf3 β€” compatible with Roland, Yamaha, Casio, Korg, WIDI, and custom ESP32 Arduino-BLE-MIDI hardware.
  • Full MMA Packet Parser: handles multi-note chords via Running Status, Note On/Off velocity normalization, and filters out Active Sensing (0xFE) and Realtime Clock (0xF8) noise.
  • Live Hardware Signal Monitor: inspect incoming MIDI notes and velocity in real time.

2. 60FPS Synthesia Waterfall & 88-Key Virtual Piano

Practicing a piece is much easier when you can see both traditional notation and falling notes side by side:

  • 60FPS Canvas Waterfall Visualizer: synchronized with the Web Audio scheduler.
  • Interactive 88-Key Acoustic Grand Piano: powered by a Web Audio API SoundFont synthesizer with mouse, touch, and hardware MIDI support.
  • Smart Floating Dock: collapse the keyboard into a compact corner dock while browsing or editing.

3. Multi-Format Import & Export Engine

Musicians work across many tools, so we built native parsers and exporters for:

  • MusicXML (.musicxml, .xml) β€” compatible with Sibelius, Finale, and Dorico
  • Standard MIDI Files (.mid, SMF Type 0/1)
  • MuseScore (.mscx)
  • Guitar Pro (.gp, .gp5, .gpx)
  • Offline WAV Audio & Vector SVG export

4. Open Sheet Music Library & Copyright Compliance

On nextscore.org, musicians can browse public-domain classical repertoire, filter by tempo (BPM), key signature, and difficulty, or keep private scores locally. We also maintain an open, searchable catalog of classical piano MIDI & MusicXML files on GitHub Pages and our Open Piano Sheet Music repository.


πŸ› οΈ Tech Stack Overview

  • Frontend: Next.js 15 (App Router), React 19, TypeScript, Tailwind CSS v4
  • Audio & MIDI: Web Audio API SoundFont Synthesizer, Web MIDI API, Web Bluetooth BLE-MIDI
  • Database: Prisma ORM + MySQL
  • Video Pipeline: Remotion 4 (for automated piano tutorial & YouTube Shorts rendering)
  • Cross-Platform Mobile: Capacitor (iOS & Android static bundle)

πŸ—ΊοΈ Engineering Roadmap (2026–2027)

Here is what we are actively building next:

  1. Interactive Practice Mode (Wait-for-Note & Accuracy Scoring)
    • Real-time MIDI evaluation that pauses playback until you hit the correct chord, tracks timing accuracy, and highlights weak measures.
  2. AI-Assisted Fingering & Difficulty Analysis
    • Automatic left/right-hand fingering suggestions and playable difficulty grading for uploaded MusicXML and MIDI scores.
  3. Collaborative Score Editing & Version History
    • Shareable links with measure-level comments and revision snapshots for teachers and students.
  4. Expanded Open Classical Catalog & API
    • Growing our public-domain piano library with clean MusicXML, MIDI, and automated Remotion preview videos.
  5. Native Mobile Offline Sync (Capacitor)
    • Offline-first score caching and low-latency BLE-MIDI practice on iPad and Android tablets.

Try It Out & Share Feedback

If you play piano, build Web Audio / Web MIDI apps, or work with MusicXML parsers, I would love your feedback:

What features do you wish existed in browser-based sheet music tools? Let me know in the comments!

Top comments (0)