Interactive, editable music notation for the web. Engraver renders scores with VexFlow and lets users input, select and edit notes with the mouse and keyboard, with built-in playback.
Note
Engraver is in early development. The packages are not published to npm yet and the API will change.
| Package | Description |
|---|---|
@engraver/core |
Framework-agnostic score model, editing logic, rendering and player |
@engraver/react |
React component, providers and hooks |
@engraver/vexflow |
Internal fork of VexFlow, bundled into core |
import { CLEF_DATA, ClefType, KEY_SIGNATURES, TimeSignature, type EngraverConfig, } from "@engraver/core"; import { Engraver } from "@engraver/react"; const config: EngraverConfig = { engraverScoreConfig: { scoreTemplate: { measureCount: 4, staveConfigs: [ { clef: CLEF_DATA[ClefType.TREBLE], timeSignature: TimeSignature.FOUR_FOUR, keySignature: KEY_SIGNATURES.C, }, ], }, }, }; export function App() { return <Engraver config={config} />; }
See apps/react-example for a runnable example.
Requires Node.js 22.18 or newer.
vp install # install dependencies vp run ready # check everything is ready vp run dev # start the example app vp run -r test # run the tests vp run -r build # build all packages
Found a bug or have an idea? Open an issue. Commit messages and PR titles follow Conventional Commits.
Engraver's rendering is built on a fork of VexFlow, licensed under MIT. See packages/vexflow/LICENSE.
To be decided.