diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index d69af06..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,2 +0,0 @@ -patreon: hlorenzi -ko_fi: hlorenzi \ No newline at end of file diff --git a/.github/workflows/build_ghpages.yml b/.github/workflows/build_ghpages.yml deleted file mode 100644 index 38ae039..0000000 --- a/.github/workflows/build_ghpages.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Build GitHub Pages - -on: - push: - branches: ["main"] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@master - with: - fetch-depth: 0 - - - name: Use Node.js 15.x - uses: actions/setup-node@v1 - with: - node-version: 15.x - - - run: git branch -D ghpages - continue-on-error: true - - - run: git checkout -b ghpages - - run: rm .gitignore - - run: mv .gitignore.ghpages .gitignore - - run: npm ci - - run: npm run build - - run: git config user.name github-actions - - run: git config user.email github-actions@github.com - - run: git describe --tags --match v* > build/build_version.txt - - run: git add -A - - run: git commit -m "build GitHub Pages" - - run: git push -f origin ghpages \ No newline at end of file diff --git a/.gitignore b/.gitignore index d150aeb..a47f7e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -/node_modules/ -/build/ -/library/ \ No newline at end of file +/temp/ \ No newline at end of file diff --git a/.gitignore.ghpages b/.gitignore.ghpages deleted file mode 100644 index 6db2b0f..0000000 --- a/.gitignore.ghpages +++ /dev/null @@ -1,2 +0,0 @@ -/node_modules/ -/library/ \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index b4fe2b3..0000000 --- a/README.md +++ /dev/null @@ -1,63 +0,0 @@ -# TheoryTracker - -[đŧ Try it right now on your browser!](https://hlorenzi.github.io/theorytracker/) - -[![Join the Discord server!][badge-discord-img]][badge-discord-url] - -[badge-discord-img]: https://img.shields.io/discord/394999035540275222?label=Join%20the%20Discord%20server!&logo=discord -[badge-discord-url]: https://discord.com/invite/pXeDXGD - -This is a multi-track piano-roll-style song editor app with an emphasis on music theory, -where notes and chords are color-coded according to the key, and some editing tools -work diatonically. - -The app can currently import `.mid` and its own `.ttproj` project files, -which are in plain JSON format. -It can currently export `.ttproj` files and render `.wav` files. - -Several soundfonts are readily available from an online repository. - -## How to use - -### General usage: - -* Use the middle or right mouse buttons to pan. -* Hold A to draw elements with the mouse. -* Right-click on an element to change its properties. - * Do a long right-click for a context menu with more commands. -* Double-click on a note block to edit its notes. - * Click on "Project Root" on the breadcrumb bar to exit note editing mode. - -* Press Space to toggle playback starting from the cursor. -* Press Esc to rewind. -* Use Backspace to delete incrementally. -* Use Ctrl + Z to undo, and Ctrl + Y -or Ctrl + Shift + Z to redo. - -* Also use 1234567 -to create notes and chords. - -### When elements are selected: - -* Use ââ to move. - * Combine with Ctrl for faster movement. -* Use ââ to change the pitch of notes, and the root of chords. - * Combine with Ctrl to change pitch by octaves. - * Combine with Shift to change pitch chromatically. -* Also use ,. to change pitch chromatically. -* Use Shift + ââ to stretch. -* Hold Alt then drag with the mouse to duplicate. - -* Press Enter to unselect all. -* Press Delete to delete. - -* Use Ctrl + X, C, or V for the usual -cut/copy/paste commands. - -## Building from source - -Install npm dependencies with `npm install`, then perform a build -with `npm run build`. You can also run `npm run watch` to work locally. - -Then, run `npm start` or any other simple HTTP web server from -the repository folder, and navigate to `http://127.0.0.1`. \ No newline at end of file diff --git a/audio/piano/a1.mp3 b/audio/piano/a1.mp3 deleted file mode 100644 index 4fff8ad..0000000 Binary files a/audio/piano/a1.mp3 and /dev/null differ diff --git a/audio/piano/a2.mp3 b/audio/piano/a2.mp3 deleted file mode 100644 index c9b8a87..0000000 Binary files a/audio/piano/a2.mp3 and /dev/null differ diff --git a/audio/piano/a3.mp3 b/audio/piano/a3.mp3 deleted file mode 100644 index 3332353..0000000 Binary files a/audio/piano/a3.mp3 and /dev/null differ diff --git a/audio/piano/a4.mp3 b/audio/piano/a4.mp3 deleted file mode 100644 index 1c2866e..0000000 Binary files a/audio/piano/a4.mp3 and /dev/null differ diff --git a/audio/piano/a5.mp3 b/audio/piano/a5.mp3 deleted file mode 100644 index 36eccf0..0000000 Binary files a/audio/piano/a5.mp3 and /dev/null differ diff --git a/audio/piano/a6.mp3 b/audio/piano/a6.mp3 deleted file mode 100644 index 45d8cbb..0000000 Binary files a/audio/piano/a6.mp3 and /dev/null differ diff --git a/audio/piano/a7.mp3 b/audio/piano/a7.mp3 deleted file mode 100644 index 9ea6f7b..0000000 Binary files a/audio/piano/a7.mp3 and /dev/null differ diff --git a/build-ghpages.bat b/build-ghpages.bat deleted file mode 100644 index 411c58b..0000000 --- a/build-ghpages.bat +++ /dev/null @@ -1,10 +0,0 @@ -git branch -D ghpages -git checkout -b ghpages -del .gitignore -move .gitignore.ghpages .gitignore -cmd /C npm run build -git describe --tags --match v* > build/build_version.txt -git add -A -git commit -m "build GitHub Pages" -git push -f origin ghpages -git checkout main \ No newline at end of file diff --git a/examples/adventure.json b/examples/adventure.json deleted file mode 100644 index 5b33967..0000000 --- a/examples/adventure.json +++ /dev/null @@ -1,109 +0,0 @@ -{ -"version": 3, -"bpm": 160, - -"tracks": -[ -{ -"notes": -[ -[[0,0,1],[0,3,8],61], -[[0,3,8],[0,3,8],64], -[[0,3,4],[1,0,1],59], -[[1,3,4],[0,1,8],57], -[[1,7,8],[0,1,8],59], -[[2,0,1],[0,3,8],61], -[[2,3,8],[0,1,4],64], -[[2,5,8],[0,1,8],61], -[[2,3,4],[0,1,8],71], -[[2,7,8],[0,7,8],69], -[[3,3,4],[0,1,8],69], -[[3,7,8],[0,1,8],71], -[[4,0,1],[0,3,8],73], -[[4,3,8],[0,1,4],71], -[[4,5,8],[0,1,8],69], -[[4,3,4],[1,0,1],71], -[[5,3,4],[0,1,8],69], -[[5,7,8],[0,1,8],71], -[[6,0,1],[0,1,8],73], -[[6,1,8],[0,1,8],71], -[[6,1,4],[0,1,8],64], -[[6,3,8],[0,1,4],69], -[[6,5,8],[0,1,16],68], -[[6,11,16],[0,1,16],69], -[[6,3,4],[0,1,16],68], -[[6,13,16],[0,1,16],64], -[[6,7,8],[0,3,8],59], -[[7,1,4],[0,1,8],69], -[[7,3,8],[0,1,8],71], -[[7,1,2],[0,1,8],76], -[[7,5,8],[0,1,8],71], -[[7,3,4],[0,1,8],69], -[[7,7,8],[0,1,8],68], -[[8,0,1],[0,3,8],61], -[[8,3,8],[0,3,8],64], -[[8,3,4],[1,0,1],59], -[[9,3,4],[0,1,8],57], -[[9,7,8],[0,1,8],59], -[[10,0,1],[0,3,8],61], -[[10,3,8],[0,1,4],64], -[[10,5,8],[0,1,8],61], -[[10,3,4],[0,1,8],71], -[[10,7,8],[0,7,8],69], -[[11,3,4],[0,1,8],69], -[[11,7,8],[0,1,8],71], -[[12,0,1],[0,3,8],73], -[[12,3,8],[0,1,4],71], -[[12,5,8],[0,1,8],69], -[[12,3,4],[1,0,1],71], -[[13,3,4],[0,1,8],69], -[[13,7,8],[0,1,8],71], -[[14,0,1],[0,1,8],73], -[[14,1,8],[0,1,8],71], -[[14,1,4],[0,1,8],64], -[[14,3,8],[0,1,4],69], -[[14,5,8],[0,1,16],68], -[[14,11,16],[0,1,16],69], -[[14,3,4],[0,1,16],68], -[[14,13,16],[0,1,16],64], -[[14,7,8],[0,3,8],59], -[[15,1,4],[0,1,8],69], -[[15,3,8],[0,1,8],71], -[[15,1,2],[0,1,8],76], -[[15,5,8],[0,1,8],71], -[[15,3,4],[0,1,8],69], -[[15,7,8],[0,1,8],68] -] -} -], - -"chords": -[ -[[0,0,1],[0,3,4],9,0,"M",[],0], -[[0,3,4],[1,1,4],4,0,"M",[],0], -[[2,0,1],[0,3,4],6,0,"m",[],0], -[[2,3,4],[1,1,4],7,0,"M",[],0], -[[4,0,1],[0,3,4],2,0,"M",[],0], -[[4,3,4],[1,1,4],2,0,"m",[],0], -[[6,0,1],[0,3,4],1,0,"m7",[],0], -[[6,3,4],[1,1,4],4,0,"M",[],0], -[[8,0,1],[0,3,4],9,0,"M",[],0], -[[8,3,4],[1,1,4],4,0,"M",[],0], -[[10,0,1],[0,3,4],6,0,"m",[],0], -[[10,3,4],[1,1,4],7,0,"M",[],0], -[[12,0,1],[0,3,4],2,0,"M",[],0], -[[12,3,4],[1,1,4],2,0,"m",[],0], -[[14,0,1],[0,3,4],1,0,"m7",[],0], -[[14,3,4],[1,1,4],4,0,"M",[],0] -], - -"keyChanges": -[ -[[0,0,1],9,0,[0,2,4,5,7,9,10]] -], - -"meterChanges": -[ -[[0,0,1],4,4] -] -} \ No newline at end of file diff --git a/examples/chronotrigger.json b/examples/chronotrigger.json deleted file mode 100644 index fb0418c..0000000 --- a/examples/chronotrigger.json +++ /dev/null @@ -1,326 +0,0 @@ -{ -"version": 3, -"bpm": 100, - -"tracks": -[ -{ -"notes": -[ -[[0,0,1],[0,1,8],48], -[[0,0,1],[1,1,4],87], -[[0,1,8],[0,1,8],55], -[[0,1,4],[0,1,8],56], -[[0,3,8],[0,1,8],62], -[[0,1,2],[0,1,8],63], -[[0,5,8],[0,1,8],48], -[[0,3,4],[0,1,8],55], -[[0,7,8],[0,1,8],56], -[[1,0,1],[0,1,8],62], -[[1,0,1],[0,1,8],79], -[[1,1,8],[0,1,8],63], -[[1,1,8],[0,1,8],80], -[[1,1,4],[0,1,8],48], -[[1,1,4],[1,1,4],86], -[[1,3,8],[0,1,8],55], -[[1,1,2],[0,1,8],56], -[[1,5,8],[0,1,8],60], -[[1,3,4],[0,1,8],62], -[[1,7,8],[0,1,8],48], -[[2,0,1],[0,1,8],55], -[[2,1,8],[0,1,8],56], -[[2,1,4],[0,1,8],60], -[[2,1,4],[0,1,8],79], -[[2,3,8],[0,1,8],80], -[[2,3,8],[0,1,8],62], -[[2,1,2],[1,1,4],87], -[[2,1,2],[0,1,8],48], -[[2,5,8],[0,1,8],55], -[[2,3,4],[0,1,8],56], -[[2,7,8],[0,1,8],62], -[[3,0,1],[0,1,8],63], -[[3,1,8],[0,1,8],48], -[[3,1,4],[0,1,8],55], -[[3,3,8],[0,1,8],56], -[[3,1,2],[0,1,8],62], -[[3,5,8],[0,1,8],63], -[[3,3,4],[0,1,8],48], -[[3,7,8],[0,1,8],55], -[[4,0,1],[0,1,8],56], -[[4,1,8],[0,1,8],62], -[[4,1,4],[0,1,8],63], -[[4,3,8],[0,1,8],48], -[[4,1,2],[0,1,8],55], -[[4,5,8],[0,1,8],56], -[[4,3,4],[0,1,8],62], -[[4,3,4],[0,1,8],79], -[[4,7,8],[0,1,8],80], -[[4,7,8],[0,1,8],63], -[[5,0,1],[0,1,8],48], -[[5,0,1],[1,1,4],87], -[[5,1,8],[0,1,8],55], -[[5,1,4],[0,1,8],56], -[[5,3,8],[0,1,8],62], -[[5,1,2],[0,1,8],63], -[[5,5,8],[0,1,8],48], -[[5,3,4],[0,1,8],55], -[[5,7,8],[0,1,8],56], -[[6,0,1],[0,1,8],62], -[[6,0,1],[0,1,8],79], -[[6,1,8],[0,1,8],80], -[[6,1,8],[0,1,8],63], -[[6,1,4],[1,1,4],86], -[[6,1,4],[0,1,8],48], -[[6,3,8],[0,1,8],55], -[[6,1,2],[0,1,8],56], -[[6,5,8],[0,1,8],60], -[[6,3,4],[0,1,8],62], -[[6,7,8],[0,1,8],48], -[[7,0,1],[0,1,8],55], -[[7,1,8],[0,1,8],56], -[[7,1,4],[0,1,8],79], -[[7,1,4],[0,1,8],60], -[[7,3,8],[0,1,8],62], -[[7,3,8],[0,1,8],80], -[[7,1,2],[1,1,4],89], -[[7,1,2],[0,1,8],55], -[[7,5,8],[0,1,8],57], -[[7,3,4],[0,1,8],58], -[[7,7,8],[0,1,8],62], -[[8,0,1],[0,1,8],65], -[[8,1,8],[0,1,8],55], -[[8,1,4],[0,1,8],57], -[[8,3,8],[0,1,8],58], -[[8,1,2],[0,1,8],79], -[[8,1,2],[0,1,8],62], -[[8,5,8],[0,1,8],65], -[[8,5,8],[0,1,8],80], -[[8,3,4],[1,1,4],87], -[[8,3,4],[0,1,8],51], -[[8,7,8],[0,1,8],56], -[[9,0,1],[0,1,8],58], -[[9,1,8],[0,1,8],60], -[[9,1,4],[0,1,8],63], -[[9,3,8],[0,1,8],51], -[[9,1,2],[0,1,8],56], -[[9,5,8],[0,1,8],58], -[[9,3,4],[0,1,8],60], -[[9,7,8],[0,1,8],63], -[[10,0,1],[1,1,4],86], -[[10,0,1],[0,1,8],48], -[[10,1,8],[0,1,8],55], -[[10,1,4],[0,1,8],56], -[[10,3,8],[0,1,8],62], -[[10,1,2],[0,1,8],63], -[[10,5,8],[0,1,8],48], -[[10,3,4],[0,1,8],55], -[[10,7,8],[0,1,8],56], -[[11,0,1],[0,1,8],62], -[[11,1,8],[0,1,8],63], -[[11,1,4],[1,1,4],84], -[[11,1,4],[0,1,8],48], -[[11,3,8],[0,1,8],55], -[[11,1,2],[0,1,8],56], -[[11,5,8],[0,1,8],62], -[[11,3,4],[0,1,8],63], -[[11,7,8],[0,1,8],48], -[[12,0,1],[0,1,8],55], -[[12,1,8],[0,1,8],56], -[[12,1,4],[0,1,8],62], -[[12,3,8],[0,1,8],63], -[[12,5,8],[0,1,8],53], -[[12,5,8],[0,1,8],77], -[[12,3,4],[0,1,8],79], -[[12,3,4],[0,1,8],58], -[[12,7,8],[0,1,8],80], -[[12,7,8],[0,1,8],60], -[[13,0,1],[0,1,8],61], -[[13,0,1],[0,1,8],79], -[[13,1,8],[0,1,8],65], -[[13,1,8],[0,1,8],77], -[[13,1,4],[0,1,4],84], -[[13,3,8],[0,1,8],53], -[[13,1,2],[0,1,8],58], -[[13,1,2],[0,1,8],82], -[[13,5,8],[0,1,4],80], -[[13,5,8],[0,1,8],60], -[[13,3,4],[0,1,8],61], -[[13,7,8],[0,1,8],65], -[[13,7,8],[0,1,8],82], -[[14,0,1],[1,1,2],77], -[[14,1,8],[0,1,8],53], -[[14,1,4],[0,1,8],58], -[[14,3,8],[0,1,8],60], -[[14,1,2],[0,1,8],61], -[[14,5,8],[0,1,8],65], -[[14,7,8],[0,1,8],53], -[[15,0,1],[0,1,8],58], -[[15,1,8],[0,1,8],60], -[[15,1,4],[0,1,8],61], -[[15,3,8],[0,1,8],65], -[[15,5,8],[0,1,8],80], -[[15,5,8],[0,1,8],56], -[[15,3,4],[0,1,8],59], -[[15,3,4],[0,1,8],82], -[[15,7,8],[0,1,8],83], -[[15,7,8],[0,1,8],61], -[[16,0,1],[0,1,8],82], -[[16,0,1],[0,1,8],64], -[[16,1,8],[0,1,8],80], -[[16,1,8],[0,1,8],68], -[[16,1,4],[0,1,4],87], -[[16,3,8],[0,1,8],56], -[[16,1,2],[0,1,8],85], -[[16,1,2],[0,1,8],59], -[[16,5,8],[0,1,4],83], -[[16,5,8],[0,1,8],61], -[[16,3,4],[0,1,8],64], -[[16,7,8],[0,1,8],68], -[[16,7,8],[0,1,8],85], -[[17,0,1],[1,1,8],80], -[[17,1,8],[0,1,8],56], -[[17,1,4],[0,1,8],59], -[[17,3,8],[0,1,8],61], -[[17,1,2],[0,1,8],64], -[[17,5,8],[0,1,8],68], -[[17,7,8],[0,1,8],56], -[[18,0,1],[0,1,8],59], -[[18,1,8],[0,1,4],80], -[[18,1,8],[0,1,8],61], -[[18,1,4],[0,1,8],64], -[[18,3,8],[0,1,8],68], -[[18,3,8],[0,1,8],82], -[[18,1,2],[0,1,8],53], -[[18,1,2],[1,1,8],84], -[[18,5,8],[0,1,8],60], -[[18,3,4],[0,1,8],67], -[[18,7,8],[0,1,8],68], -[[19,0,1],[0,1,8],72], -[[19,1,8],[0,1,8],75], -[[19,1,4],[0,1,8],53], -[[19,3,8],[0,1,8],60], -[[19,1,2],[0,1,8],67], -[[19,5,8],[0,1,4],80], -[[19,5,8],[0,1,8],68], -[[19,3,4],[0,1,8],72], -[[19,7,8],[0,1,8],75], -[[19,7,8],[0,1,8],82], -[[20,0,1],[1,1,8],83], -[[20,0,1],[0,1,8],56], -[[20,1,8],[0,1,8],63], -[[20,1,4],[0,1,8],70], -[[20,3,8],[0,1,8],71], -[[20,1,2],[0,1,8],75], -[[20,5,8],[0,1,8],77], -[[20,3,4],[0,1,8],56], -[[20,7,8],[0,1,8],63], -[[21,0,1],[0,1,8],70], -[[21,1,8],[0,1,4],83], -[[21,1,8],[0,1,8],71], -[[21,1,4],[0,1,8],75], -[[21,3,8],[0,1,8],85], -[[21,3,8],[0,1,8],77], -[[21,1,2],[1,1,8],86], -[[21,1,2],[0,1,8],59], -[[21,5,8],[0,1,8],66], -[[21,3,4],[0,1,8],73], -[[21,7,8],[0,1,8],74], -[[22,0,1],[0,1,8],78], -[[22,1,8],[0,1,8],81], -[[22,1,4],[0,1,8],59], -[[22,3,8],[0,1,8],66], -[[22,1,2],[0,1,8],73], -[[22,5,8],[0,1,4],81], -[[22,5,8],[0,1,8],74], -[[22,3,4],[0,1,8],78], -[[22,7,8],[0,1,8],83], -[[23,0,1],[0,1,8],57], -[[23,0,1],[1,1,2],85], -[[23,1,8],[0,1,8],64], -[[23,1,4],[0,1,8],68], -[[23,3,8],[0,1,8],69], -[[23,1,2],[0,1,8],73], -[[23,5,8],[0,1,8],76], -[[23,3,4],[0,1,8],57], -[[23,7,8],[0,1,8],64], -[[24,0,1],[0,1,8],68], -[[24,1,8],[0,1,8],69], -[[24,1,4],[0,1,8],73], -[[24,3,8],[0,1,8],76], -[[24,1,2],[0,1,8],53], -[[24,1,2],[3,0,1],84], -[[24,5,8],[0,1,8],60], -[[24,3,4],[0,1,8],67], -[[24,7,8],[0,1,8],68], -[[25,0,1],[0,1,8],72], -[[25,1,8],[0,1,8],74], -[[25,1,4],[0,1,8],53], -[[25,3,8],[0,1,8],60], -[[25,1,2],[0,1,8],67], -[[25,5,8],[0,1,8],68], -[[25,3,4],[0,1,8],72], -[[25,7,8],[0,1,8],74], -[[26,0,1],[0,1,8],53], -[[26,1,8],[0,1,8],60], -[[26,1,4],[0,1,8],67], -[[26,3,8],[0,1,8],68], -[[26,1,2],[0,1,8],72], -[[26,5,8],[0,1,8],74], -[[26,3,4],[0,1,8],53], -[[26,7,8],[0,1,8],60], -[[27,0,1],[0,1,8],67], -[[27,1,8],[0,1,8],68], -[[27,1,4],[0,1,8],72], -[[27,1,4],[0,1,8],79], -[[27,3,8],[0,1,8],74], -[[27,3,8],[0,1,8],80] -] -} -], - -"chords": -[ -[[0,0,1],[1,1,4],0,0,"m",[],0], -[[1,1,4],[1,1,4],5,0,"m",[],0], -[[2,1,2],[1,1,4],0,0,"m",[],0], -[[3,3,4],[1,1,4],0,0,"m",[],0], -[[5,0,1],[1,1,4],0,0,"m",[],0], -[[6,1,4],[1,1,4],5,0,"m",[],0], -[[7,1,2],[1,1,4],7,0,"m7",[],0], -[[8,3,4],[1,1,4],8,0,"M",[],0], -[[10,0,1],[1,1,4],0,0,"m",[],0], -[[11,1,4],[1,1,4],0,0,"m",[],0], -[[12,1,2],[1,1,8],10,0,"m",[],0], -[[13,5,8],[0,3,8],5,0,"5",[],0], -[[14,0,1],[1,1,8],10,0,"m",[],0], -[[15,1,8],[0,3,8],5,0,"5",[],0], -[[15,1,2],[1,1,8],1,0,"m7",[],0], -[[16,5,8],[0,3,8],8,0,"m7",[],0], -[[17,0,1],[1,1,8],1,0,"m7",[],0], -[[18,1,8],[0,3,8],8,0,"m7",[],0], -[[18,1,2],[1,1,2],5,0,"m",[],0], -[[20,0,1],[1,1,2],8,0,"m",[],0], -[[21,1,2],[1,1,2],11,0,"m",[],0], -[[23,0,1],[1,1,2],9,0,"M",[],0], -[[24,1,2],[1,1,2],5,0,"m",[],0], -[[26,0,1],[1,1,2],5,0,"m",[],0] -], - -"keyChanges": -[ -[[0,0,1],0,0,[0,2,3,5,7,8,10]], -[[12,1,2],11,-1,[0,2,3,5,7,9,10]], -[[15,1,2],2,-1,[0,2,3,5,7,9,10]], -[[18,1,2],5,0,[0,2,3,5,7,8,10]], -[[20,0,1],7,1,[0,2,3,5,7,9,10]], -[[21,1,2],11,0,[0,2,3,5,7,9,10]], -[[23,0,1],9,0,[0,2,4,5,7,9,11]], -[[24,1,2],5,0,[0,2,3,5,7,9,10]] -], - -"meterChanges": -[ -[[0,0,1],5,4], -[[12,1,2],6,4] -] -} \ No newline at end of file diff --git a/examples/dontstarve.json b/examples/dontstarve.json deleted file mode 100644 index 72ac512..0000000 --- a/examples/dontstarve.json +++ /dev/null @@ -1,74 +0,0 @@ -{ -"version": 3, -"bpm": 120, - -"tracks": -[ -{ -"notes": -[ -[[0,0,1],[0,1,4],55], -[[0,1,4],[0,1,4],58], -[[0,1,2],[0,1,4],55], -[[0,3,4],[0,1,4],62], -[[1,0,1],[0,1,4],63], -[[1,1,4],[0,1,4],65], -[[1,1,2],[0,1,2],63], -[[2,0,1],[0,1,4],62], -[[2,1,4],[0,1,2],57], -[[2,3,4],[0,1,4],58], -[[3,0,1],[0,1,4],58], -[[3,1,4],[0,1,2],60], -[[3,3,4],[0,1,2],61], -[[4,1,4],[0,1,4],58], -[[4,1,2],[0,3,4],57], -[[5,1,4],[0,1,2],45], -[[5,3,4],[0,1,4],46], -[[6,0,1],[0,1,2],58], -[[6,1,2],[0,1,4],57], -[[6,3,4],[0,1,2],54], -[[7,1,4],[0,1,4],55], -[[7,1,2],[0,5,8],63], -[[8,1,8],[0,1,8],62], -[[8,1,4],[0,5,8],63], -[[8,7,8],[0,1,8],62], -[[9,0,1],[0,5,8],61], -[[9,5,8],[0,1,8],62], -[[9,3,4],[0,1,2],63], -[[10,1,4],[0,1,4],65], -[[10,1,2],[0,3,4],66], -[[11,1,4],[0,3,4],69] -] -} -], - -"chords": -[ -[[0,0,1],[0,3,4],7,0,"m",[],0], -[[0,3,4],[0,3,4],2,0,"M",[],0], -[[1,1,2],[0,3,4],7,0,"m",[],0], -[[2,1,4],[0,3,4],2,0,"M",[],0], -[[3,0,1],[0,3,4],5,-1,"o",[],0], -[[3,3,4],[0,3,4],10,-1,"M",[],0], -[[4,1,2],[0,3,4],5,-1,"o",[],0], -[[5,1,4],[0,3,4],10,-1,"M",[],0], -[[6,0,1],[0,3,4],0,0,"m",[],0], -[[6,3,4],[0,3,4],7,-1,"+",[],0], -[[7,1,2],[0,3,4],3,0,"+",[],0], -[[8,1,4],[0,3,4],7,0,"+",[],0], -[[9,0,1],[0,3,4],10,-1,"M",[],0], -[[9,3,4],[0,3,4],3,0,"+",[],0], -[[10,1,2],[0,3,4],7,-1,"+",[],0], -[[11,1,4],[0,3,4],9,0,"+",[],0] -], - -"keyChanges": -[ -[[0,0,1],7,0,[0,2,3,5,7,8,10]] -], - -"meterChanges": -[ -[[0,0,1],3,4] -] -} \ No newline at end of file diff --git a/examples/isaac.json b/examples/isaac.json deleted file mode 100644 index bee1143..0000000 --- a/examples/isaac.json +++ /dev/null @@ -1,134 +0,0 @@ -{ -"version": 3, -"bpm": 166, - -"tracks": -[ -{ -"notes": -[ -[[0,0,1],[0,1,4],71], -[[0,1,4],[0,3,8],72], -[[0,5,8],[0,1,8],68], -[[0,3,4],[0,1,4],69], -[[1,0,1],[0,1,4],71], -[[1,1,4],[0,1,8],67], -[[1,3,8],[0,1,8],69], -[[1,1,2],[0,1,8],67], -[[1,5,8],[0,1,8],66], -[[1,3,4],[0,1,2],64], -[[2,1,4],[0,1,4],59], -[[2,1,2],[0,3,8],67], -[[2,7,8],[0,1,8],63], -[[3,0,1],[0,1,4],64], -[[3,1,4],[0,3,8],71], -[[3,5,8],[0,1,8],64], -[[3,3,4],[0,1,4],66], -[[4,0,1],[0,1,4],67], -[[4,1,4],[0,1,8],69], -[[4,3,8],[0,1,8],71], -[[4,1,2],[0,1,4],76], -[[4,3,4],[0,1,4],71], -[[5,0,1],[0,1,4],69], -[[5,1,4],[0,1,4],67], -[[5,1,2],[0,1,8],69], -[[5,5,8],[0,1,8],71], -[[5,3,4],[0,1,8],69], -[[5,7,8],[0,1,8],67], -[[6,0,1],[0,1,4],66], -[[6,1,4],[0,1,4],63], -[[6,1,2],[0,1,4],64], -[[6,3,4],[0,1,4],66], -[[7,0,1],[0,1,4],67], -[[7,1,4],[0,1,4],69], -[[7,1,2],[0,1,4],63], -[[7,3,4],[0,1,4],64], -[[8,0,1],[0,1,4],66], -[[8,1,4],[0,1,4],59], -[[8,1,2],[0,1,4],63], -[[8,3,4],[0,1,4],66], -[[9,0,1],[0,1,8],64], -[[9,1,8],[0,1,8],59], -[[9,1,4],[0,1,8],64], -[[9,3,8],[0,1,8],67], -[[9,1,2],[0,1,8],64], -[[9,5,8],[0,1,8],59], -[[9,3,4],[0,1,8],64], -[[9,7,8],[0,1,8],59], -[[10,0,1],[0,1,8],64], -[[10,1,8],[0,1,8],67], -[[10,1,4],[0,1,8],64], -[[10,3,8],[0,1,8],59], -[[10,1,2],[0,1,2],64], -[[11,1,8],[0,1,16],66], -[[11,3,16],[0,1,16],64], -[[11,1,4],[0,1,4],63], -[[11,1,2],[0,1,4],64], -[[11,3,4],[0,1,4],66], -[[12,0,1],[0,1,2],71], -[[12,1,2],[0,1,4],66], -[[12,3,4],[0,1,4],69], -[[13,0,1],[0,1,4],67], -[[13,1,4],[0,1,4],66], -[[13,1,2],[0,3,8],64], -[[13,7,8],[0,1,8],66], -[[14,0,1],[0,1,4],64], -[[14,1,4],[0,1,2],63], -[[14,3,4],[0,1,4],59], -[[15,0,1],[0,1,2],60], -[[15,1,2],[0,1,4],59], -[[15,3,4],[0,1,4],57], -[[16,0,1],[0,1,4],59], -[[16,1,4],[0,1,4],57], -[[16,1,2],[0,1,4],55], -[[16,3,4],[0,1,4],57], -[[17,0,1],[0,1,4],55], -[[17,1,4],[0,1,4],54], -[[17,1,2],[0,1,8],51], -[[17,5,8],[0,1,8],59], -[[17,3,4],[0,1,8],63], -[[17,7,8],[0,1,8],66], -[[18,0,1],[0,1,4],64] -] -} -], - -"chords": -[ -[[0,0,1],[0,3,4],4,0,"m",[],0], -[[0,3,4],[0,3,4],2,0,"M",[],0], -[[1,1,2],[0,3,4],0,0,"M",[],0], -[[2,1,4],[0,3,4],4,0,"m",[],0], -[[3,0,1],[0,3,4],7,0,"M",[],0], -[[3,3,4],[0,3,4],2,0,"M",[],0], -[[4,1,2],[0,3,4],7,0,"M",[],0], -[[5,1,4],[0,3,4],4,0,"m",[],0], -[[6,0,1],[0,3,4],2,1,"o",[],0], -[[6,3,4],[0,3,4],11,0,"M",[],0], -[[7,1,2],[0,3,4],2,1,"o",[],0], -[[8,1,4],[0,3,4],11,0,"M",[],0], -[[9,0,1],[0,3,4],4,0,"m",[],0], -[[9,3,4],[0,3,4],2,0,"M",[],0], -[[10,1,2],[0,3,4],0,0,"M",[],0], -[[11,1,4],[0,3,4],11,0,"M",[],0], -[[12,0,1],[0,3,4],2,1,"+",[],0], -[[12,3,4],[0,3,4],6,0,"o",[],0], -[[13,1,2],[0,3,4],11,0,"M",[],0], -[[14,1,4],[0,3,4],2,1,"o",[],0], -[[15,0,1],[0,3,4],6,0,"o",[],0], -[[15,3,4],[0,3,4],2,1,"+",[],0], -[[16,1,2],[0,3,4],11,0,"M",[],0], -[[17,1,4],[0,3,4],6,0,"o",[],0], -[[18,0,1],[0,3,4],4,0,"m",[],0] -], - -"keyChanges": -[ -[[0,0,1],4,0,[0,2,3,5,7,8,10]] -], - -"meterChanges": -[ -[[0,0,1],3,4] -] -} \ No newline at end of file diff --git a/examples/jimmyneutron.json b/examples/jimmyneutron.json deleted file mode 100644 index 63f7736..0000000 --- a/examples/jimmyneutron.json +++ /dev/null @@ -1,91 +0,0 @@ -{ -"version": 3, -"bpm": 110, - -"tracks": -[ -{ -"notes": -[ -[[-1,13,16],[0,1,16],60], -[[-1,7,8],[0,1,16],60], -[[-1,15,16],[0,1,16],60], -[[0,0,1],[0,1,8],63], -[[0,1,8],[0,1,16],63], -[[0,3,16],[0,3,16],63], -[[0,3,8],[0,1,8],67], -[[0,1,2],[0,1,8],65], -[[0,5,8],[0,1,16],65], -[[0,11,16],[0,3,16],65], -[[0,7,8],[0,1,8],67], -[[1,0,1],[0,13,16],64], -[[1,13,16],[0,1,16],60], -[[1,7,8],[0,1,16],60], -[[1,15,16],[0,1,16],60], -[[2,0,1],[0,1,8],63], -[[2,1,8],[0,1,16],63], -[[2,3,16],[0,3,16],63], -[[2,3,8],[0,1,8],67], -[[2,1,2],[0,1,8],65], -[[2,5,8],[0,1,16],65], -[[2,11,16],[0,3,16],65], -[[2,7,8],[0,1,8],65], -[[3,1,8],[0,3,4],62], -[[3,7,8],[0,1,8],66], -[[4,0,1],[0,1,8],67], -[[4,1,8],[0,1,16],67], -[[4,3,16],[0,3,16],67], -[[4,3,8],[0,1,8],67], -[[4,1,2],[0,1,8],65], -[[4,5,8],[0,1,16],65], -[[4,11,16],[0,5,16],65], -[[5,0,1],[0,1,8],69], -[[5,1,8],[0,1,16],69], -[[5,3,16],[0,1,8],69], -[[5,5,16],[0,1,8],69], -[[5,7,16],[0,1,8],69], -[[5,9,16],[0,1,8],67], -[[5,11,16],[0,3,16],67], -[[5,7,8],[0,1,8],67], -[[6,0,1],[0,1,4],70], -[[6,1,4],[0,1,4],69], -[[6,1,2],[0,1,4],70], -[[6,3,4],[0,1,4],70], -[[7,0,1],[0,1,2],69], -[[7,1,2],[0,3,16],65], -[[7,11,16],[0,3,16],65], -[[7,7,8],[0,1,8],64], -[[8,0,1],[0,3,16],67], -[[8,3,16],[0,13,16],60] -] -} -], - -"chords": -[ -[[0,0,1],[0,1,2],3,0,"M",[],0], -[[0,1,2],[0,1,2],5,0,"M",[],0], -[[1,0,1],[1,0,1],0,0,"M",[],0], -[[2,0,1],[0,1,2],3,0,"M",[],0], -[[2,1,2],[0,1,2],5,0,"M",[],0], -[[3,1,8],[0,7,8],2,0,"M",[],0], -[[4,0,1],[0,1,2],3,0,"M",[],0], -[[4,1,2],[0,1,2],10,0,"M",[],0], -[[5,0,1],[0,1,2],5,0,"M",[],0], -[[5,1,2],[0,1,2],0,0,"M",[],0], -[[6,0,1],[1,0,1],3,0,"M",[],0], -[[7,0,1],[1,0,1],5,0,"M",[],0], -[[8,0,1],[1,0,1],0,0,"M",[],0] -], - -"keyChanges": -[ -[[-1,3,4],0,0,[0,2,4,5,7,9,11]] -], - -"meterChanges": -[ -[[-1,3,4],4,4], -[[0,0,1],4,4] -] -} \ No newline at end of file diff --git a/examples/letitgo.json b/examples/letitgo.json deleted file mode 100644 index c03ded6..0000000 --- a/examples/letitgo.json +++ /dev/null @@ -1,67 +0,0 @@ -{ -"version": 3, -"bpm": 120, - -"tracks": -[ -{ -"notes": -[ -[[-1,5,8],[0,1,8],66], -[[-1,3,4],[0,1,8],68], -[[-1,7,8],[0,11,16],69], -[[0,5,8],[0,1,8],64], -[[0,3,4],[0,1,8],64], -[[0,7,8],[0,7,8],71], -[[1,3,4],[0,1,8],69], -[[1,7,8],[0,1,8],68], -[[2,0,1],[0,1,8],66], -[[2,1,8],[0,1,8],66], -[[2,1,4],[0,15,64],66], -[[2,1,2],[0,1,8],66], -[[2,5,8],[0,15,64],68], -[[2,7,8],[0,3,4],69], -[[3,5,8],[0,1,8],66], -[[3,3,4],[0,1,8],68], -[[3,7,8],[0,3,4],69], -[[4,5,8],[0,1,8],64], -[[4,3,4],[0,1,8],64], -[[4,7,8],[0,1,4],73], -[[5,1,8],[0,1,2],71], -[[5,5,8],[0,1,8],69], -[[5,3,4],[0,1,8],71], -[[5,7,8],[0,1,4],73], -[[6,1,8],[0,1,4],73], -[[6,3,8],[0,1,8],74], -[[6,1,2],[0,3,8],73], -[[6,7,8],[0,1,16],71], -[[6,15,16],[0,1,16],69], -[[7,0,1],[0,1,16],71], -[[7,1,16],[0,15,16],69] -] -} -], - -"chords": -[ -[[0,0,1],[1,0,1],9,0,"M",[],0], -[[1,0,1],[1,0,1],4,0,"M",[],0], -[[2,0,1],[1,0,1],6,0,"m",[],0], -[[3,0,1],[1,0,1],2,0,"M",[],0], -[[4,0,1],[1,0,1],9,0,"M",[],0], -[[5,0,1],[1,0,1],4,0,"M",[],0], -[[6,0,1],[1,0,1],6,0,"m",[],0], -[[7,0,1],[1,0,1],2,0,"M",[],0] -], - -"keyChanges": -[ -[[-1,5,8],9,0,[0,2,4,5,7,9,11]] -], - -"meterChanges": -[ -[[-1,5,8],4,4], -[[0,0,1],4,4] -] -} \ No newline at end of file diff --git a/examples/mozartk453.json b/examples/mozartk453.json deleted file mode 100644 index e490839..0000000 --- a/examples/mozartk453.json +++ /dev/null @@ -1,276 +0,0 @@ -{ -"version": 3, -"bpm": 120, - -"tracks": -[ -{ -"notes": -[ -[[0,0,1],[0,1,8],57], -[[0,1,8],[0,1,8],57], -[[0,1,4],[0,1,8],59], -[[0,1,4],[0,1,8],57], -[[0,3,8],[0,1,8],61], -[[0,3,8],[0,1,8],55], -[[0,1,2],[0,1,8],62], -[[0,1,2],[0,1,8],59], -[[0,1,2],[0,3,8],57], -[[0,1,2],[0,1,8],54], -[[0,5,8],[0,1,8],64], -[[0,5,8],[0,1,8],61], -[[0,5,8],[0,1,8],55], -[[0,3,4],[0,1,8],66], -[[0,3,4],[0,1,8],62], -[[0,3,4],[0,1,8],54], -[[0,7,8],[0,1,8],67], -[[0,7,8],[0,1,8],64], -[[0,7,8],[0,1,8],55], -[[0,7,8],[0,1,8],52], -[[1,0,1],[0,3,8],81], -[[1,0,1],[0,1,4],69], -[[1,0,1],[0,1,4],66], -[[1,0,1],[0,1,4],54], -[[1,0,1],[0,1,4],50], -[[1,1,8],[0,1,8],62], -[[1,1,4],[0,1,8],66], -[[1,3,8],[0,1,8],78], -[[1,3,8],[0,1,8],69], -[[1,1,2],[0,3,8],83], -[[1,5,8],[0,1,8],63], -[[1,3,4],[0,1,8],66], -[[1,7,8],[0,1,8],78], -[[1,7,8],[0,1,8],71], -[[2,0,1],[0,1,16],79], -[[2,0,1],[0,1,16],64], -[[2,1,8],[0,1,16],76], -[[2,1,8],[0,1,16],67], -[[2,1,4],[0,1,4],81], -[[2,1,4],[0,1,4],61], -[[2,5,8],[0,1,32],76], -[[2,21,32],[0,1,32],78], -[[2,11,16],[0,1,32],76], -[[2,23,32],[0,1,32],74], -[[2,3,4],[0,1,32],76], -[[2,3,4],[0,1,4],62], -[[2,3,4],[0,1,4],60], -[[2,25,32],[0,7,64],78], -[[2,57,64],[0,7,64],74], -[[3,0,1],[0,1,16],79], -[[3,0,1],[0,1,4],59], -[[3,0,1],[0,1,4],62], -[[3,1,8],[0,1,64],81], -[[3,9,64],[0,3,64],79], -[[3,13,64],[0,3,64],78], -[[3,1,4],[0,1,8],79], -[[3,3,8],[0,1,16],81], -[[3,1,2],[0,1,16],83], -[[3,5,8],[0,1,8],71], -[[3,3,4],[0,1,8],78], -[[3,3,4],[0,1,4],59], -[[3,3,4],[0,1,4],56], -[[3,7,8],[0,1,8],76], -[[4,0,1],[0,1,4],74], -[[4,0,1],[0,1,4],57], -[[4,0,1],[0,1,2],64], -[[4,1,4],[0,1,32],73], -[[4,1,4],[0,1,4],55], -[[4,9,32],[0,1,32],74], -[[4,5,16],[0,1,32],73], -[[4,11,32],[0,1,32],74], -[[4,3,8],[0,1,16],71], -[[4,7,16],[0,1,16],73], -[[4,1,2],[0,1,4],74], -[[4,1,2],[0,1,4],57], -[[4,1,2],[0,1,4],54], -[[4,3,4],[0,1,4],76], -[[4,3,4],[0,1,4],57], -[[4,3,4],[0,1,4],64], -[[5,0,1],[0,1,8],78], -[[5,0,1],[0,1,4],66], -[[5,0,1],[0,1,4],62], -[[5,1,8],[0,1,8],81], -[[5,1,4],[0,1,8],79], -[[5,1,4],[0,1,4],64], -[[5,1,4],[0,1,4],57], -[[5,3,8],[0,1,8],76], -[[5,1,2],[0,1,4],74], -[[5,1,2],[0,1,4],62], -[[5,1,2],[0,1,4],54], -[[5,3,4],[0,1,4],76], -[[5,3,4],[0,1,4],64], -[[5,3,4],[0,1,4],57], -[[6,0,1],[0,1,8],78], -[[6,0,1],[0,1,4],62], -[[6,0,1],[0,1,4],66], -[[6,1,8],[0,1,8],81], -[[6,1,4],[0,1,8],79], -[[6,1,4],[0,1,4],64], -[[6,1,4],[0,1,4],57], -[[6,3,8],[0,1,8],76], -[[6,1,2],[0,1,4],74], -[[6,1,2],[0,1,4],62], -[[6,1,2],[0,1,4],54], -[[6,3,4],[0,1,4],76], -[[6,3,4],[0,1,4],64], -[[6,3,4],[0,1,4],57], -[[7,0,1],[0,1,32],78], -[[7,0,1],[0,1,4],66], -[[7,0,1],[0,1,4],62], -[[7,5,64],[0,3,64],79], -[[7,1,6],[0,1,32],81], -[[7,1,4],[0,1,32],83], -[[7,21,64],[0,3,64],84], -[[7,5,12],[0,1,32],86], -[[7,1,2],[0,1,32],74], -[[7,1,2],[0,1,4],67], -[[7,1,2],[0,1,4],62], -[[7,1,2],[0,1,4],59], -[[7,37,64],[0,3,64],76], -[[7,2,3],[0,1,32],78], -[[7,3,4],[0,1,32],79], -[[7,53,64],[0,3,64],81], -[[7,11,12],[0,1,32],83], -[[8,0,1],[0,3,8],78], -[[8,0,1],[0,1,2],62], -[[8,0,1],[0,1,2],57], -[[8,3,8],[0,1,16],79], -[[8,7,16],[0,1,16],78], -[[8,1,2],[0,1,8],76], -[[8,1,2],[0,1,4],61], -[[8,1,2],[0,1,4],57], -[[8,5,8],[0,1,16],78], -[[8,3,4],[0,1,16],79], -[[8,7,8],[0,1,16],80], -[[9,0,1],[0,1,16],81], -[[9,0,1],[0,1,4],69], -[[9,0,1],[0,1,4],66], -[[9,0,1],[0,1,4],50], -[[9,0,1],[0,1,8],62], -[[9,1,8],[0,1,8],62], -[[9,1,8],[0,1,4],81], -[[9,1,4],[0,1,8],66], -[[9,3,8],[0,1,8],78], -[[9,3,8],[0,1,8],69], -[[9,1,2],[0,1,16],83], -[[9,1,2],[0,1,4],71], -[[9,1,2],[0,1,4],66], -[[9,1,2],[0,1,4],63], -[[9,1,2],[0,1,4],47], -[[9,5,8],[0,1,8],62], -[[9,5,8],[0,1,4],83], -[[9,3,4],[0,1,8],66], -[[9,7,8],[0,1,8],71], -[[9,7,8],[0,1,8],78], -[[10,0,1],[0,1,16],79], -[[10,0,1],[0,1,4],64], -[[10,0,1],[0,1,4],59], -[[10,0,1],[0,1,4],52], -[[10,0,1],[0,1,8],67], -[[10,1,8],[0,1,8],76], -[[10,1,8],[0,1,8],67], -[[10,1,4],[0,1,4],81], -[[10,1,4],[0,1,8],61], -[[10,1,4],[0,1,4],69], -[[10,1,4],[0,1,4],64], -[[10,1,4],[0,1,4],57], -[[10,1,4],[0,1,4],49], -[[10,5,8],[0,1,32],76], -[[10,21,32],[0,1,32],78], -[[10,11,16],[0,1,32],76], -[[10,23,32],[0,1,32],74], -[[10,3,4],[0,1,32],76], -[[10,3,4],[0,1,4],60], -[[10,3,4],[0,1,4],66], -[[10,3,4],[0,1,4],62], -[[10,3,4],[0,1,4],57], -[[10,3,4],[0,1,4],48], -[[10,25,32],[0,1,32],78], -[[10,7,8],[0,1,8],74], -[[11,0,1],[0,1,16],79], -[[11,0,1],[0,1,4],67], -[[11,0,1],[0,1,4],62], -[[11,0,1],[0,1,4],59], -[[11,0,1],[0,1,4],47], -[[11,1,8],[0,1,32],81], -[[11,5,32],[0,1,32],79], -[[11,3,16],[0,1,16],78], -[[11,1,4],[0,1,8],79], -[[11,3,8],[0,1,16],81], -[[11,1,2],[0,1,16],83], -[[11,5,8],[0,1,8],71], -[[11,3,4],[0,1,8],78], -[[11,3,4],[0,1,4],71], -[[11,3,4],[0,1,4],59], -[[11,3,4],[0,1,4],56], -[[11,7,8],[0,1,8],76], -[[12,0,1],[0,1,4],74], -[[12,0,1],[0,1,2],69], -[[12,0,1],[0,1,2],64], -[[12,0,1],[0,1,4],57], -[[12,1,4],[0,1,4],55], -[[12,1,4],[0,1,32],73], -[[12,9,32],[0,1,32],74], -[[12,5,16],[0,1,32],73], -[[12,11,32],[0,1,32],74], -[[12,11,32],[0,3,32],73], -[[12,3,8],[0,1,32],71], -[[12,7,16],[0,1,16],73], -[[12,1,2],[0,1,4],57], -[[12,1,2],[0,1,4],74], -[[12,1,2],[0,1,4],69], -[[12,1,2],[0,1,4],54], -[[12,1,2],[0,1,4],62] -] -} -], - -"chords": -[ -[[1,0,1],[0,1,2],2,0,"M",[],0], -[[1,1,2],[0,1,2],11,0,"M",[],0], -[[2,0,1],[0,1,4],4,0,"m",[],0], -[[2,1,4],[0,1,4],9,0,"M",[],0], -[[2,3,4],[0,1,4],2,0,"7",[],0], -[[3,0,1],[0,1,4],7,0,"M",[],0], -[[3,1,2],[0,1,4],4,0,"m",[],0], -[[3,3,4],[0,1,4],4,0,"7",[],0], -[[4,0,1],[0,1,4],9,0,"M",[],0], -[[4,1,4],[0,1,4],1,0,"o",[],0], -[[4,1,2],[0,1,4],2,0,"M",[],0], -[[4,3,4],[0,1,4],9,0,"M",[],0], -[[5,0,1],[0,1,4],2,0,"M",[],0], -[[5,1,4],[0,1,4],9,0,"M",[],0], -[[5,1,2],[0,1,4],2,0,"M",[],0], -[[5,3,4],[0,1,4],9,0,"M",[],0], -[[6,0,1],[0,1,4],2,0,"M",[],0], -[[6,1,4],[0,1,4],9,0,"M",[],0], -[[6,1,2],[0,1,4],2,0,"M",[],0], -[[6,3,4],[0,1,4],9,0,"M",[],0], -[[7,0,1],[0,1,4],2,0,"M",[],0], -[[7,1,2],[0,1,4],7,0,"M",[],0], -[[8,0,1],[0,1,2],2,0,"M",[],0], -[[8,1,2],[0,1,2],9,0,"M",[],0], -[[9,0,1],[0,1,2],2,0,"M",[],0], -[[9,1,2],[0,1,2],11,0,"M",[],0], -[[10,0,1],[0,1,4],4,0,"m",[],0], -[[10,1,4],[0,1,4],9,0,"M",[],0], -[[10,3,4],[0,1,4],2,0,"7",[],0], -[[11,0,1],[0,1,4],7,0,"M",[],0], -[[11,1,2],[0,1,4],4,0,"m",[],0], -[[11,3,4],[0,1,4],4,0,"7",[],0], -[[12,0,1],[0,1,4],9,0,"M",[],0], -[[12,1,4],[0,1,4],1,0,"o",[],0], -[[12,1,2],[0,1,4],2,0,"M",[],0] -], - -"keyChanges": -[ -[[0,0,1],2,0,[0,2,4,5,7,9,11]] -], - -"meterChanges": -[ -[[0,0,1],4,4] -] -} \ No newline at end of file diff --git a/examples/rollercoaster.json b/examples/rollercoaster.json deleted file mode 100644 index 4cf1c5b..0000000 --- a/examples/rollercoaster.json +++ /dev/null @@ -1,255 +0,0 @@ -{ -"version": 3, -"bpm": 180, - -"tracks": -[ -{ -"notes": -[ -[[0,0,1],[0,1,2],64], -[[0,3,4],[0,1,4],64], -[[1,0,1],[0,1,4],66], -[[1,1,4],[0,1,4],68], -[[1,1,2],[0,1,2],66], -[[2,1,4],[0,1,4],66], -[[2,1,2],[0,1,4],64], -[[2,3,4],[0,1,4],63], -[[3,0,1],[0,1,2],64], -[[3,3,4],[0,3,8],64], -[[4,1,8],[0,1,8],63], -[[4,1,4],[0,1,4],61], -[[4,1,2],[0,1,2],60], -[[5,0,1],[0,1,4],61], -[[5,1,4],[0,3,8],63], -[[5,5,8],[0,1,8],61], -[[5,3,4],[0,1,4],60], -[[6,0,1],[0,1,2],66], -[[6,3,4],[0,1,4],66], -[[7,0,1],[0,1,4],68], -[[7,1,4],[0,1,4],69], -[[7,1,2],[0,1,2],68], -[[8,1,4],[0,1,4],73], -[[8,1,2],[0,1,4],75], -[[8,3,4],[0,1,4],76], -[[9,0,1],[0,1,2],75], -[[9,3,4],[0,1,4],75], -[[10,0,1],[0,1,4],73], -[[10,1,4],[0,1,4],72], -[[10,1,2],[0,3,4],75], -[[11,1,4],[0,3,4],68], -[[12,0,1],[0,1,8],60], -[[12,1,16],[0,1,8],61], -[[12,1,8],[0,1,8],63], -[[12,3,16],[0,1,8],64], -[[12,1,4],[0,1,8],66], -[[12,5,16],[0,1,8],67], -[[12,3,8],[0,1,8],68], -[[12,7,16],[0,1,8],69], -[[12,1,2],[0,1,8],71], -[[12,9,16],[0,1,8],73], -[[12,5,8],[0,1,8],75], -[[12,3,4],[0,3,4],76], -[[13,1,2],[0,1,2],75], -[[14,0,1],[0,1,4],73], -[[14,1,4],[0,3,4],71], -[[15,1,4],[0,1,4],71], -[[15,1,2],[0,1,4],73], -[[15,3,4],[0,3,4],74], -[[16,1,2],[0,1,2],73], -[[17,0,1],[0,1,4],71], -[[17,1,4],[0,3,4],69], -[[18,1,4],[0,1,4],69], -[[18,1,2],[0,1,4],71], -[[18,3,4],[0,3,4],72], -[[19,1,2],[0,1,2],71], -[[20,0,1],[0,1,4],69], -[[20,1,4],[0,3,4],68], -[[21,0,1],[0,1,2],73], -[[21,1,2],[0,1,8],73], -[[21,5,8],[0,1,8],71], -[[21,3,4],[0,3,4],69], -[[22,1,2],[0,3,4],66], -[[23,1,4],[0,1,4],76], -[[23,1,2],[0,1,4],76], -[[23,3,4],[0,1,4],76], -[[24,0,1],[0,1,4],76], -[[24,1,4],[0,1,4],68], -[[24,1,2],[0,1,4],71], -[[24,3,4],[0,3,4],76], -[[25,1,2],[0,1,2],75], -[[26,0,1],[0,1,4],73], -[[26,1,4],[0,3,4],71], -[[27,1,4],[0,1,4],71], -[[27,1,2],[0,1,4],73], -[[27,3,4],[0,3,4],74], -[[28,1,2],[0,1,2],73], -[[29,0,1],[0,1,4],71], -[[29,1,4],[0,3,4],69], -[[30,1,4],[0,1,4],69], -[[30,1,2],[0,1,4],71], -[[30,3,4],[0,3,4],72], -[[31,1,2],[0,1,2],71], -[[32,0,1],[0,1,4],69], -[[32,1,4],[0,3,4],68], -[[33,0,1],[0,1,2],73], -[[33,1,2],[0,1,8],73], -[[33,5,8],[0,1,8],71], -[[33,3,4],[0,3,4],69], -[[34,1,2],[0,3,4],66], -[[35,1,4],[0,1,4],76], -[[35,1,2],[0,1,4],76], -[[35,3,4],[0,1,4],76], -[[36,0,1],[0,1,4],76], -[[36,1,4],[0,1,4],68], -[[36,1,2],[0,1,4],71], -[[36,3,4],[0,3,4],72], -[[37,0,1],[0,1,8],76], -[[37,1,8],[0,1,8],78], -[[37,1,4],[0,1,8],76], -[[37,3,8],[0,1,8],78], -[[37,1,2],[0,1,2],71], -[[37,1,2],[0,1,8],76], -[[37,5,8],[0,1,8],72], -[[37,3,4],[0,1,8],76], -[[37,7,8],[0,1,8],78], -[[38,0,1],[0,1,4],69], -[[38,0,1],[0,1,8],76], -[[38,1,8],[0,1,8],78], -[[38,1,4],[0,1,8],76], -[[38,1,4],[0,3,4],68], -[[38,3,8],[0,1,8],78], -[[38,1,2],[0,1,8],76], -[[38,5,8],[0,1,8],78], -[[38,3,4],[0,1,8],76], -[[38,7,8],[0,1,8],78], -[[39,0,1],[0,1,8],76], -[[39,1,8],[0,1,8],71], -[[39,1,4],[0,1,4],69], -[[39,1,2],[0,1,4],71], -[[39,3,4],[0,3,4],72], -[[40,0,1],[0,1,8],76], -[[40,1,8],[0,1,8],78], -[[40,1,4],[0,1,8],76], -[[40,3,8],[0,1,8],78], -[[40,1,2],[0,1,2],71], -[[40,1,2],[0,1,8],76], -[[40,5,8],[0,1,8],72], -[[40,3,4],[0,1,8],74], -[[40,7,8],[0,1,8],76], -[[41,0,1],[0,1,8],74], -[[41,0,1],[0,1,4],69], -[[41,1,8],[0,1,8],78], -[[41,1,4],[0,7,16],79], -[[41,11,16],[0,5,16],83], -[[42,1,4],[0,1,4],69], -[[42,1,2],[0,1,4],71], -[[42,3,4],[0,3,4],72], -[[43,1,2],[0,1,2],71], -[[44,0,1],[0,1,4],72], -[[44,1,4],[0,3,4],73], -[[45,0,1],[0,1,2],72], -[[45,1,2],[0,1,4],73], -[[45,3,4],[0,3,4],74], -[[46,1,2],[0,1,2],73], -[[47,0,1],[0,1,4],74], -[[47,1,4],[0,1,4],76], -[[47,1,2],[0,1,4],76], -[[47,3,4],[0,1,4],76], -[[48,0,1],[0,1,4],76], -[[48,1,4],[0,1,8],73], -[[48,3,8],[0,1,8],71], -[[48,1,2],[0,1,8],69], -[[48,5,8],[0,1,8],68], -[[48,3,4],[1,0,1],76], -[[49,3,4],[0,1,8],73], -[[49,7,8],[0,1,8],71], -[[50,0,1],[0,1,8],69], -[[50,1,8],[0,1,8],68], -[[50,1,4],[0,1,4],76], -[[50,1,2],[0,1,4],76], -[[50,3,4],[0,1,4],76], -[[51,0,1],[0,1,4],76] -] -} -], - -"chords": -[ -[[0,0,1],[1,1,2],1,0,"m",[],0], -[[1,1,2],[0,3,4],1,-1,"o",[],0], -[[2,1,4],[0,3,4],8,0,"7",[],0], -[[3,0,1],[0,3,4],11,-1,"o",[],0], -[[3,3,4],[0,3,4],8,-1,"o7",[],0], -[[4,1,2],[0,3,4],8,0,"7",[],0], -[[5,1,4],[0,3,4],8,0,"7",[],0], -[[6,0,1],[0,3,4],9,0,"o7",[],0], -[[6,3,4],[0,3,4],6,0,"o7",[],0], -[[7,1,2],[0,3,4],1,0,"m",[],0], -[[8,1,4],[0,3,4],9,0,"M",[],0], -[[9,0,1],[0,3,4],1,-1,"o",[],0], -[[9,3,4],[0,3,4],1,-1,"o",[],0], -[[10,1,2],[0,3,4],1,-1,"o",[],0], -[[11,1,4],[0,1,4],8,0,"M",[],0], -[[12,3,4],[1,1,2],4,0,"M",[],0], -[[14,1,4],[0,3,4],3,0,"o",[],0], -[[15,0,1],[0,3,4],11,0,"M",[],0], -[[15,3,4],[0,3,4],3,-1,"M",[],0], -[[16,1,2],[0,3,4],11,0,"m",[],0], -[[17,1,4],[0,3,4],6,0,"m",[],0], -[[18,0,1],[0,3,4],9,0,"M",[],0], -[[18,3,4],[0,3,4],1,-1,"M",[],0], -[[19,1,2],[0,3,4],6,0,"o",[],0], -[[20,1,4],[0,3,4],4,0,"M",[],0], -[[21,0,1],[0,3,4],1,0,"m",[],0], -[[21,3,4],[0,3,4],6,0,"m",[],0], -[[22,1,2],[0,3,4],11,0,"M",[],0], -[[23,1,4],[0,3,4],4,0,"M",[],0], -[[24,0,1],[0,3,4],4,0,"M",[],0], -[[24,3,4],[1,1,2],4,0,"M",[],0], -[[26,1,4],[0,3,4],3,0,"o",[],0], -[[27,0,1],[0,3,4],11,0,"M",[],0], -[[27,3,4],[0,3,4],3,-1,"M",[],0], -[[28,1,2],[0,3,4],11,0,"m",[],0], -[[29,1,4],[0,3,4],6,0,"m",[],0], -[[30,0,1],[0,3,4],9,0,"M",[],0], -[[30,3,4],[0,3,4],1,-1,"M",[],0], -[[31,1,2],[0,3,4],6,0,"o",[],0], -[[32,1,4],[0,3,4],4,0,"M",[],0], -[[33,0,1],[0,3,4],1,0,"m",[],0], -[[33,3,4],[0,3,4],6,0,"m",[],0], -[[34,1,2],[0,3,4],11,0,"M",[],0], -[[35,1,4],[0,3,4],4,0,"M",[],0], -[[36,0,1],[0,1,4],4,0,"M",[],0], -[[36,3,4],[0,3,4],1,-1,"M",[],0], -[[37,1,2],[0,3,4],6,0,"o",[],0], -[[38,1,4],[0,3,4],4,0,"M",[],0], -[[39,0,1],[0,3,4],4,0,"M",[],0], -[[39,3,4],[0,3,4],1,-1,"M",[],0], -[[40,1,2],[0,3,4],6,0,"o",[],0], -[[41,1,4],[0,3,4],4,0,"m",[],0], -[[42,0,1],[0,3,4],8,-1,"M",[],0], -[[42,3,4],[0,3,4],1,-1,"M",[],0], -[[43,1,2],[0,3,4],1,-1,"M",[],0], -[[44,1,4],[1,1,2],1,0,"M",[],0], -[[45,3,4],[0,3,4],3,-1,"+",[],0], -[[46,1,2],[0,3,4],3,-1,"+",[],0], -[[47,1,4],[0,3,4],4,0,"M",[],0], -[[48,0,1],[0,3,4],4,0,"M",[],0], -[[48,3,4],[0,3,4],1,-1,"M",[],0], -[[49,1,2],[0,3,4],6,-1,"M",[],0], -[[50,1,4],[0,3,4],4,0,"M",[],0], -[[51,0,1],[0,1,4],4,0,"M",[],0] -], - -"keyChanges": -[ -[[0,0,1],0,1,[0,2,3,5,7,8,10]], -[[12,3,4],4,0,[0,2,4,5,7,9,11]] -], - -"meterChanges": -[ -[[0,0,1],3,4] -] -} \ No newline at end of file diff --git a/examples/whensomebodylovedme.json b/examples/whensomebodylovedme.json deleted file mode 100644 index cd841d6..0000000 --- a/examples/whensomebodylovedme.json +++ /dev/null @@ -1,100 +0,0 @@ -{ -"version": 3, -"bpm": 80, - -"tracks": -[ -{ -"notes": -[ -[[0,0,1],[0,1,8],60], -[[0,0,1],[0,1,4],41], -[[0,0,1],[0,1,4],53], -[[0,0,1],[0,1,4],57], -[[0,1,8],[0,1,8],65], -[[0,1,4],[0,1,8],65], -[[0,1,4],[0,1,4],55], -[[0,1,4],[0,1,4],43], -[[0,1,4],[0,1,4],58], -[[0,3,8],[0,433,6930],65], -[[0,12127,27720],[0,1733,27720],64], -[[0,1,2],[0,1,8],65], -[[0,1,2],[0,1,4],45], -[[0,1,2],[0,1,4],53], -[[0,1,2],[0,1,8],60], -[[0,5,8],[0,1,8],60], -[[1,0,1],[0,1,8],62], -[[1,0,1],[0,1,4],46], -[[1,0,1],[0,1,4],53], -[[1,1,8],[0,1,8],65], -[[1,1,4],[0,1,8],65], -[[1,1,4],[0,1,4],47], -[[1,1,4],[0,1,4],55], -[[1,3,8],[0,1,8],69], -[[1,1,2],[0,433,6930],67], -[[1,1,2],[0,1,2],48], -[[1,1,2],[0,1,2],55], -[[1,1949,3465],[0,1733,27720],65], -[[1,5,8],[0,1,8],67], -[[2,0,1],[0,1,8],64], -[[2,0,1],[0,1,4],52], -[[2,0,1],[0,1,4],58], -[[2,0,1],[0,1,4],62], -[[2,1,8],[0,1,8],67], -[[2,1,4],[0,5197,27720],69], -[[2,1,4],[0,1,4],49], -[[2,1,4],[0,1,4],57], -[[2,1,4],[0,1,4],64], -[[2,12127,27720],[0,1733,27720],67], -[[2,1,2],[0,1,8],65], -[[2,1,2],[0,1,4],50], -[[2,1,2],[0,1,4],57], -[[2,1,2],[0,1,4],62], -[[2,5,8],[0,433,6930],67], -[[2,19057,27720],[0,1,8],69], -[[2,19057,27720],[0,1,4],60], -[[2,19057,27720],[0,1,4],65], -[[2,19057,27720],[0,1,4],67], -[[2,19057,27720],[0,1,4],48], -[[2,11261,13860],[0,2599,13860],72], -[[3,0,1],[0,5197,27720],62], -[[3,0,1],[0,1,8],46], -[[3,1,8],[0,1,8],53], -[[3,5197,27720],[0,1733,27720],60], -[[3,1,4],[0,1,8],62], -[[3,1,4],[0,1,4],58], -[[3,3,8],[0,1,8],65], -[[3,1,2],[0,1,4],67], -[[3,1,2],[0,1,8],60], -[[3,5,8],[0,1,8],55], -[[3,3,4],[0,1,4],48] -] -} -], - -"chords": -[ -[[0,0,1],[0,1,4],5,0,"M",[],0], -[[0,1,4],[0,1,4],7,0,"m",[],0], -[[0,1,2],[0,1,4],5,0,"M",[],0], -[[1,0,1],[0,1,4],10,0,"M",[],0], -[[1,1,4],[0,1,4],7,0,"M",[],0], -[[1,1,2],[0,1,4],0,0,"M",[],0], -[[2,0,1],[0,1,4],10,0,"M",[],0], -[[2,1,4],[0,1,4],9,0,"M",[],0], -[[2,1,2],[0,3,16],2,0,"m",[],0], -[[2,11,16],[0,5,16],5,0,"M",["add9"],0], -[[3,0,1],[0,1,2],10,0,"M",[],0], -[[3,1,2],[0,1,2],0,0,"M",[],0] -], - -"keyChanges": -[ -[[0,0,1],5,0,[0,2,4,5,7,9,11]] -], - -"meterChanges": -[ -[[0,0,1],4,4] -] -} \ No newline at end of file diff --git a/index.html b/index.html index a891ab1..ade0fac 100644 --- a/index.html +++ b/index.html @@ -1,50 +1,44 @@ -
- -