Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.15 KB

README.md

File metadata and controls

25 lines (13 loc) · 1.15 KB

#This is the instruction of how to use this code (romanNumeral.js) to play different chord progression with a virtual MIDI synthesizer.

Dependencies:

  1. Tonal (npm package): You can install tonal by running "npm install tonal" in your shell command.

  2. Easymidi (npm package): You can install easymidi by running "npm install easymidi" in your shell command.

Instruction:

  1. 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)

  2. Load Konductiva (line 8 to 11) and start the musical environment scheduler (line 17 to 18).

  3. Load all the necessary functions, classes, and gloabal variables (line 12~16).

  4. Load easymidi (line 21 to 29).

  5. 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.

  6. Assign a music synthesizer session (line 59).

  7. Load line 61 to start playing the chord progression, line 63 to stop.

  8. You can change the chord progression by changing line 35, load line 37 to 49, and reasign the music synthesizer session.