Skip to content

Troubleshooting

Outcome: the failures this guide actually met, plus the classics — each with the check that identifies it and the fix that closes it.

Playback moves, but there is no sound

The highlight marches, the machine stays silent. Work down the chain — every link was seen in the lab:

  1. Check the destination. Tools > Settings > Sound should read MIDI Sequencer: TuxGuitar Sequencer and MIDI Port: TuxGuitar Synthesizer (screenshot: sound-settings.png). An empty or external port selection sends the music nowhere you can hear.
  2. Check the soundfont exists. The synthesizer speaks through the FluidR3 GM soundfont. On Debian/Ubuntu it lives at /usr/share/sounds/sf2/FluidR3_GM.sf2 and arrives with the fluid-soundfont-gm package (a TuxGuitar dependency — if it's missing, reinstalling is the fix). When the lab's copy of that path vanished, the program's log said so in so many words: java.io.FileNotFoundException: /usr/share/sounds/sf2/FluidR3_GM.sf2 (No such file or directory).
  3. Check the machine has a sound device at all. The lab machine had none — no speakers, no sound card, nothing — and its log carried the definitive line, kept verbatim because you may meet its twin:

text org.herac.tuxguitar.util.TGException: No line matching interface SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian is supported.

Translation: Java asked the system for an output line that plays CD-format audio and the system has none to give. On a real desktop this means the OS sound stack (ALSA/PipeWire on Linux) isn't offering Java a device — check the machine's own sound with any other program first; if the whole machine is mute, TuxGuitar is a symptom, not the cause.

A .tg file will not open: "unsupported format"

Almost certainly a version wall, not corruption. Files saved by TuxGuitar 2.x use the new format 1.5.6 cannot read (chapter 2). Ask the sender to export it again choosing one of the TuxGuitar 1.x formats from the export menu, or open it in a 2.x install. The reverse journey needs nothing: 2.x reads 1.x files happily.

A Guitar Pro file will not open

Check the ending. .gp is Guitar Pro 7/8's format and is beyond 1.5.6 entirely (chapter 11) — ask for a .gp5 save-down from anyone with Guitar Pro. .gpx, .gp5, .gp4, .gp3 and .gtp should all open; if one doesn't, the file itself is the suspect — try it in a second program before blaming the reader.

My PDF only shows one track

You met chapter 8's trap: the PDF (and SVG) options dialogs leave All Tracks unticked by default, exporting just the track you were editing. Re-export with the box ticked.

My exported WAV reports the wrong length

Known quirk, measured in chapter 8: the audio export writes a header claiming about twice the audio's true length (the lab's declared 15.36 s against 8.01 s actually present). The music is complete; players that trust the header may misbehave. Run the file through ffmpeg once (ffmpeg -i in.wav out.wav) to rewrite an honest header.

Notes landed on the wrong string while writing

The staff is a fine target and clicks stray (the lab's own track 2 started life a string too high — chapter 5). Defences: turn on View > Show Fretboard and watch the marked note as you type; prefer click-then-arrow-keys over re-clicking for each note; and verify finished parts by exporting the MIDI and reading the pitches, which cannot lie about what was entered.

An export produced an empty file

Export again to a fresh file name rather than overwriting the old one. Overwriting in place goes through a confirmation step, and an interrupted export leaves the truncated husk behind; a new name sidesteps the whole path. Then delete the empty file so nothing mistakes it for the real one later.