Pangram verdict · v3.3
We believe that this entire text is AI.
AI likelihood · overall
AIArticle text · 1,742 words · 14 segments analyzed
18 Nov, 2026 TuxGuitar 17EDO is a fork of TuxGuitar 2.1.0 for guitars with 17 equal divisions of the octave. Stock TuxGuitar assumes 12 notes per octave in the tab, the staff, the fretboard and the synth. The fork changes all four to 17-EDO and has no 12-EDO mode. This page describes the changes in enough detail that a coding agent can reapply them to a stock checkout without the fork's source. e |-----0------| B |-----0.1----| G |-----0------| D |-----0.3----| A |-----3------| E |------------| That is C major (C E G C E). The raw frets stored in the file are 0, 1, 0, 3, 4. ModelNothing in the song model or any file format changes. A note is still an integer fret and a string is still an integer value. The fork reinterprets both as 17-EDO steps: The MIDI key played is string value + fret, as in stock. Key k sounds at 440 * 2^((k - 69) / 17) Hz. Key 69 is A4, key 56 is C4, 17 keys are one octave. A file saved by the fork opens in stock TuxGuitar and shows plain integer frets. Do not touch the readers or writers for this. Files from stock TuxGuitar or Guitar Pro are not converted on open. Their numbers are read as steps and sound wrong. This is deliberate. The EDO is a constant, 17. An earlier version had an EDO setting, enable flags and a configurable reference key. All were removed. Do not add them. Fret labelsEvery place that prints a fret number prints a dot-relative label instead. A fret that carries a fretboard dot is labelled with the number that dot has on a 12-EDO neck. Frets past a dot are <dot>.<k>, with k the steps past it. The nut acts as a dot named 0. Default dots: for each 12-EDO dot c in 3, 5, 7, 9, 12, 15, 17, 19, 21, 24, the dot sits on fret round(c * 17 / 12) and is named c: 4:3, 7:5, 10:7, 13:9, 17:12, 21:15, 24:17, 27:19, 30:21, 34:24 Formatting a fret f: f < 0: the plain integer. f == 0: 0. Otherwise take the last dot with dot.fret <= f (the nut if none), k = f - dot.fret. Return the dot name if k == 0, else name.k. Fret 0 1 2 3 4 5 6 7 8 9 10 13 16 17 19 34 40 Label 0 0.1 0.2 0.3 3 3.1 3.2 5 5.1 5.2 7 9 9.3 12 12.2 24 24.6 The dot list is the only setting. It is the config key edo.labels.dots, default empty, edited in Tools > Settings on a new page titled "Fret labels" with a text field, a "Reset to default" button and a live preview of the labels for frets 0 to 19. Format: fret:name pairs separated by commas, semicolons or whitespace. Names are free text. A blank string means the default dots. Entries with no colon, an empty side, a non-numeric fret or a fret <= 0 are skipped with a warning on stderr. The list is sorted by fret. When two entries share a fret the first one wins, with a warning. On save, store the normalized list, or the empty string if the field was blank. Saving goes through the existing settings reload, so open tabs repaint at once. With dots 5:A, 2:B, fret 3 is B.1 and fret 35 is A.30. Where the label is used: Place Note Tab staff, text renderer The label replaces the integer. Tied notes stay L, dead notes X, ghost notes get parentheses around the label. Tab staff, vector digit renderer Digits use the existing glyphs. A dot is a filled square of side 0.18 * size on the baseline, with the same 0.1 * size gap as between digits. Chord diagram first-fret number Widen the reserved space to max(configured spacing, text width + spacing / 4) and discard the cached diagram image when the label or the width changes. Chord editor dialog Same label. Its fret limit rises from 24 to 99. Print, PDF, PNG/JPG, SVG, ASCII tab Same label. Caret Next to the caret box, when a note is selected, draw <raw> = <label> on a background-coloured rectangle, for example 19 = 12.2. The raw number is what the user types. The layout style object carries the formatter and defaults to the default dots. The desktop builds it from config in one function, and that function also publishes the formatter on the application context. The SVG writer, the ASCII writer and the headless PDF styles have no config access and read it from the context, falling back to the default. Without this, exports ignore a custom dot list.
Width.
Stock spacing ignores the width of the fret text, so sixteenth notes labelled 24.4 overlap. No painter exists while measure widths are computed, so the width is estimated: each character is 0.9 * note font height * font scale, a .
is half that.
The note asks for extra room of max(0, estimate + 6 * scale - duration width) through the hook bends already use for extra width, combined with the bend width by max.
Ghost notes add 6 * scale.
Tied and dead notes ask for nothing, and nothing is asked when the tab staff is hidden.
At 0.8 the labels touched.
The per-track max fret spinner in Track > Properties goes to 99, up from 39. Typing frets is unchanged: two digits within a second combine, clamped to the track's max fret. Note names and the staffPitches are named in Superpyth notation, the chain of fifths. A whole tone is 3 steps, E-F and B-C are 1 step, and a sharp or flat is 2 steps.
C# is one step above Db.
Pitch class is floorMod(key - 56, 17): pc 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Name C Db C# D Eb D# E F Gb F# G Ab G# A Bb A# B Naturals sit on pitch classes 0, 3, 6, 7, 10, 13, 16. Octave is floorDiv(key - 56, 17) + 4. A staff position and octave map back to 56 + 17 * (octave - 4) + natural step. Valid keys are 0 to 127.
Key 0 is G#0.
Four pitch classes have a second name. Key signatures use TuxGuitar's encoding: 0 is none, 1 to 7 are sharps, 8 to 14 are 1 to 7 flats. pc Default Second name Second name is in the key signature for 1 Db B# 7 5 D# Fb 14 8 Gb E# 6, 7 15 A# Cb 13, 14 A note uses its second name when exactly one of these holds: the key signature contains it, or the note's "alternative enharmonic" flag is set. The flag does nothing on the other 13 pitch classes. B# belongs to the octave below the computed one and Cb to the octave above. An accidental is drawn when the note's alteration differs from what the key signature gives its staff position. All of this replaces the internals of the one utility class that names notes, with its public method signatures kept, so the score renderer, fretboard, matrix editor, print header and tuning dialogs follow without edits. Its sharp-name and flat-name functions return the same name, since sharps and flats are different pitches. Other staff changes: Clicking the staff to enter a note adds or subtracts 2 steps for a sharp or flat, where stock used 1. Tools > Transpose offers -17 to +17 and is labelled in steps. ASCII export names the strings with the same namer. Guessing a key signature from a scale keeps private 12-EDO tables. Scales are still 12-EDO data. PlaybackNote numbers are left alone and the synth is retuned. At the end of every channel update the player: Sends a MIDI Tuning Standard bulk tuning dump for all 128 keys. On every non-percussion channel, sends RPN 0,3 (tuning program select) with data entry MSB 0, then reselects RPN 0,0 so later data entry still means pitch bend range. The dump is 408 bytes: F0 7E 7F 08 01 00 <16-byte name> 128 x (xx yy zz) <checksum> F7 Name: 17-EDO padded with spaces. Per key: target pitch in 12-EDO semitones is p = 69 + (k - 69) * 12 / 17. xx = floor(p), and yy zz is round((p - xx) * 16384) as 14 bits, high 7 first. If the fraction rounds to 16384, carry into xx. Checksum: XOR of every byte after F0 up to the last key byte, masked to 7 bits. Key 69 encodes as 45 00 00. Key 70 is semitone 69 with fraction 11565. Key 52 is exactly semitone 57, so 220 Hz. Key 35 is 110 Hz. Stock has no sysex path. Add a sendSysex(byte[]) method with a no-op default to the synthesizer and receiver interfaces and implement it in three ports: Port How Java Sound (Gervill) Wrap the bytes in a SysexMessage and send to a receiver. TuxGuitar Synth, Gervill processor Same, forwarded to every channel's processor. FluidSynth New JNI call to fluid_synth_sysex, passing the payload without the leading F0 and trailing F7. The Java Sound plugin has two port classes. The one for Synthesizer devices drives the synth through the MidiChannel API, which cannot carry sysex. It has to fetch Synthesizer.getReceiver() and send there. Cache the receiver and drop it on error. The Gervill port is this class, so patching only the external-device port leaves the default synth in 12-EDO. ALSA, JACK, WinMM, AudioUnit and other external ports keep the no-op. Android shares the library, so it shows 17-EDO labels and names but plays untuned. TuningsConverting a 12-EDO MIDI note to a step value rounds relative to A4, so every A string is exact: step = 69 + round((note - 69) * 17 / 12) clamped to 0..127 Tuning 12-EDO Steps Between strings E standard, low to high 40 45 50 55 59 64 28 35 42 49 55 62 7-7-7-6-7 D standard 38 43 48 53 57 62 25 32 39 46 52 59 7-7-7-6-7 4-string bass 28 33 38 43 11 18 25 32 7-7-7 A fresh track still starts from the stock 12-EDO defaults and is then converted: each string to its step value, max fret to at least 34. Run that conversion after exactly these events, on non-percussion tracks only: File > New.
Loading a template.