???
There *should* be an application that turns songsterr tabs into PDF/MuseScore/Whatever.
It's just fucking JSON.

(And the respective github projects don't work anymore)

#guitar

I'm tempted to clone #TuxGuitar and write an importer, saves me the trouble of figuring out the GuitarPro format
...
But it's written in Java...

#guitar

GuitarPro be like (I added __repr__ methods to the classes...)

```
>>> [m.voices[0].beats for m in s.tracks[0].measures]
<<<
[[Beat(voice=Voice(measure=Measure(track=Track(song=Song(title=, #tracks=1), number=1, name=Spur 1, #measures=5, #strings=6), #voices=2), #beats=8), #notes=1, duration=Duration(value=8, isDotted=False, tuplet=Tuplet(enters=1, times=1)), start=960),
Beat(voice=Voice(measure=Measure(track=Track(song=Song(title=, #tracks=1), number=1, name=Spur 1, #measures=5, #strings=6), #voices=2), #beats=8), #notes=1, duration=Duration(value=8, isDotted=False, tuplet=Tuplet(enters=1, times=1)), start=1440),
Beat(voice=Voice(measure=Measure(track=Track(song=Song(title=, #tracks=1), number=1, name=Spur 1, #measures=5, #strings=6), #voices=2), #beats=8), #notes=1, duration=Duration(value=8, isDotted=False, tuplet=Tuplet(enters=1, times=1)), start=1920),
...

>>> >>> [n for m in s.tracks[0].measures for b in m.voices[0].beats for n in b.notes]
<<<
[Note(value=2, velocity=95, string=5, effect=<guitarpro.models.NoteEffect object at 0x7ffa4ac99510>, durationPercent=1.0, swapAccidentals=False, type=<NoteType.normal: 1>),
Note(value=4, velocity=95, string=4, effect=<guitarpro.models.NoteEffect object at 0x7ffa4ac99750>, durationPercent=1.0, swapAccidentals=False, type=<NoteType.normal: 1>),
Note(value=0, velocity=95, string=3, effect=<guitarpro.models.NoteEffect object at 0x7ffa4ac999d0>, durationPercent=1.0, swapAccidentals=False, type=<NoteType.normal: 1>),
...
```

Aaaaaanyway.
Here you go: https://git.uvok.de/tuxguitar-songsterr-import/

Extremely quick & Dirty attempt to get started with Maven inside Visual Studio Code, because why the fuck would I download a 1 GB IDE???? (And BlueJ is too minimal, and DrJava is ancient and apparently can't use newer JDKs)

#tuxguitar #songsterr #java

tuxguitar-songsterr-import - Attempt to write a TuxGuitar plugin for Songsterr

???
TuxGuitar doesn't seem to recognize/load the plugin, although I put it in the shared directory...???

What's the difference between TGSongReaderPlugin and TGSongImporterPlugin ?
The latter doesn't seem to be used at all?

#tuxguitar

...
Fuck the VScode Java Debug extension...
???
IntelliJ is better. But still can't figure out why my plugin file is not recognized...
...
...
...
WTF.
Why the heck is a
src/main/resources/META-INF/services/...
file required? What kind of black magic is this???
#java
So, I got this far.
Now I need some fresh air.