Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.5 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.5 KB

Guitar Tabs to MIDI

A program that converts Guitar Tabs into MIDI files.



Working

  • Reads the file from the location specified by the user
  • Preprocesses the file
    • Removes unwanted characters
    • Maps the notes in the tabs to MIDI pitch information
  • Converts the preprocessed output into .mid file
    • Sets the tempo and instrument for the track
    • Places the notes into the MIDI file
  • Plays the .mid file

Mapping

The initial note of each string (open string notes) are mapped to the MIDI pitch as shown in fig. The subsequent notes on the fretboard is the shift from the intial note on that string. note pitch = inital pitch of string + fret number


Mapping of the fretboard and MIDI pitch

Requirements

  • Python3
  • MIDIUtil
  • Timidity

Installation

Install the required files to run on your local system:

  • Cloning the repository

    git clone https://github.com/Sarath18/guitar-tabs-to-MIDI
    
  • MIDIUtil

    pip3 install MIDIUtil
    
  • Timidity

    sudo apt-get install timidity
    

How to use

Run the program by typing the following in terminal:

python3 main.py