#This is the instruction of how to use this code (romanNumeral.js) to play different chord progression with a virtual MIDI synthesizer.
Dependencies:
-
Tonal (npm package): You can install tonal by running "npm install tonal" in your shell command.
-
Easymidi (npm package): You can install easymidi by running "npm install easymidi" in your shell command.
Instruction:
-
Setup your MIDI environment , a virtual sythesizer (i.e. Surge XT), and a virtual MIDI instrument (i.e. vmpk). You may need a host a host (i.e. Host AU)
-
Load Konductiva (line 8 to 11) and start the musical environment scheduler (line 17 to 18).
-
Load all the necessary functions, classes, and gloabal variables (line 12~16).
-
Load easymidi (line 21 to 29).
-
update MIDI output list (line 52) and define necessary arguments for music synthesizer session (line 35 to 49). This step may be skipped depending on the device you are using.
-
Assign a music synthesizer session (line 59).
-
Load line 61 to start playing the chord progression, line 63 to stop.
-
You can change the chord progression by changing line 35, load line 37 to 49, and reasign the music synthesizer session.