Skip to content

Sarath18/guitar-tabs-to-MIDI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages