natecdr / tuttut

Converts a midi file to guitar tabs (or any fretted string instrument)
MIT License
64 stars 4 forks source link

Weird formatting of output tabs #17

Closed Lucas-MFS closed 2 hours ago

Lucas-MFS commented 3 hours ago

After having just a bit of trouble installing tuttut and then installing eel and fixing it; The program was executing with success, I tweaked the settings to be a bass tab, the only problem was the formatting of the tab that is incoherent. I could go and fix it manually but I don't know where to begin with this:

G ||-------3-|-----------3--|------------------|-----------6--|-------------------|-----------3--|--------5----------|-----------6--|----------2-8--6--3-|2-1--------------||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| D ||---------|--------------|------------------|--------------|---1----1------1-3-|--------------|-------------------|--------------|--1----1------------|-----------------||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| A ||6--------|1-------------|1-3----3--------3-|4-------------|4------------------|1-------------|1--3-------------3-|4---4---------|4-------------------|-----------------||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| E ||---------|--------------|-------------3----|--------------|-------------------|--------------|-------------------|--------------|--------------------|-----------------|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

The next image is when I open the .txt:

image

Lucas-MFS commented 2 hours ago

Actually it was pretty easy to manually edit it out, the issue is the numerous '|' bars between each string (GDAE), remove them and divide each string into one line; then it should look like this:

image