Giter Site home page Giter Site logo

guitar-tabs-to-midi's Introduction

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

guitar-tabs-to-midi's People

Contributors

sarath18 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.