tuxguitar icon indicating copy to clipboard operation
tuxguitar copied to clipboard

String skipping in chords when importing MIDI files.

Open belfie13 opened this issue 8 months ago • 2 comments

when a MIDI file is imported, notes are assigned strings according to guitar tuning and pitch. this produces string skips in some chords that would typically be played at a higher position on the fretboard.

in general, chords would be played on sequential strings so this should be the desired output where possible. for chords, the import should start from the lowest note and process notes sequentially ascending in pitch. this way each note would be placed on the next available string above the last note, instead of the string it would be played on if it were not in a chord.

Importing MIDI files currently produces the result shown in the first bar but should look like the second bar?

(1)         (2)
|-----------|-----------|
|-----2--1--|-----------|
|--3--1--0--|--3--6--5--|
|--3--------|--3--6--5--|
|--1--4--3--|--1--4--3--|
|-----------|-----------|

belfie13 avatar Jun 08 '24 21:06 belfie13