Skip to content

Commit

Permalink
feat: add binary build
Browse files Browse the repository at this point in the history
  • Loading branch information
joanroig committed May 1, 2023
1 parent facfaa4 commit 1ba346f
Show file tree
Hide file tree
Showing 9 changed files with 2,218 additions and 64 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,21 @@ Go to the `examples` folder to see a converted midi file like this one:
<i>Converted chord set loaded in Scaler 2</i>
</p>

## How to use
## Run binaries

- [Download](https://github.com/joanroig/midi-to-scaler-chord-sets/releases) the latest release for your platform (Windows or MacOS) and unzip it.
- Group your .mid or .midi files in folders and add them to the `midis` folder. Each folder will be converted to a set.
- Open a terminal and navigate to the unzipped folder, for example: `cd C:\Users\YOUR_USER\Downloads\midi-to-scaler-chord-sets_1.0.0_windows`
- Run the tool by typing the executable in the terminal:
- Windows: `midi-to-scaler-chord-sets.exe`
- MacOS: `./midi-to-scaler-chord-sets`
- The converted files should be in the `sets` folder, copy each folder set to the custom sets folder and start using them:
- Windows path: `C:/Users/Public/Documents/Plugin Boutique/Scaler2/Sets`
- MacOS path: `/Users/Shared/Plugin Boutique/Scaler2/Sets`

**⚠️Warning:** Running the tool by double clicking the executable may not work because it will look for the configuration file in the home directory.

## Run from source

Be sure to have [Node.js](https://nodejs.org/en/download/) installed, then:

Expand Down
4 changes: 2 additions & 2 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"threshold": 20,
"inFolderPath": "./midis",
"outFolderPath": "./sets"
"inFolderPath": "midis",
"outFolderPath": "sets"
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<CHORDSET version="2" uuid="6568d58f-955e-4237-9c2a-63e415ff79f4">
<CHORDSET version="2" uuid="6ff1b622-4b8d-ef84-bf4a-33c0bf03c17d">
<CHORD>
<NOTE MIDI="41"/>
<NOTE MIDI="53"/>
Expand Down
Loading

0 comments on commit 1ba346f

Please sign in to comment.