From 671febc69cae1efc88eeea62019e499d2179da60 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Mon, 27 Jul 2020 06:34:51 -0400 Subject: [PATCH] init --- app.js | 9 +++++++++ index.html | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 app.js create mode 100644 index.html diff --git a/app.js b/app.js new file mode 100644 index 0000000..fa032a8 --- /dev/null +++ b/app.js @@ -0,0 +1,9 @@ +const vf = new Vex.Flow.Factory({renderer: {elementId: 'main'}}); +const score = vf.EasyScore(); +const system = vf.System(); + +system.addStave({ + voices: [score.voice(score.notes('C#5/q, B4, A4, G#4'))] +}).addClef('treble').addTimeSignature('4/4'); + +vf.draw(); diff --git a/index.html b/index.html new file mode 100644 index 0000000..5d765b4 --- /dev/null +++ b/index.html @@ -0,0 +1,11 @@ + + + + + + + + + + +