Methodology
Principle
Nothing on this site was typed by hand. A program reads the original selectorconve.xls
workbook and produces the data files the calculators use; the same tools check that the
site’s calculation engine returns the original’s results. The file and its code are not
published: the data, the rules and the evidence are.
Extraction
- Catalogue. The sheet
diam_monoholds the plain-string series (gauge in %mm and reference) and the five wound-string families (linear weight and reference). The columns are read as they are, quirks included: one linear weight with two references (BFA482 and BFA484), or series that end in “NO”. - Formulas. The workbook’s formulas are stored as defined names in Excel’s binary format (tokens in reverse Polish notation). A purpose-built decoder evaluates them directly on those bytes, without transcription; this recovers the coefficients (150, 156.9767, 162.6506, 170, 155), the tier thresholds (100 and 150) and the PUL constant 24500.
- Tunings and instrument rules. The 31 instrument sheets provide notes, positions and frequencies; the base tunings at A 415 of the lute, vihuela, viols and baroque guitar were embedded as lists in the macros and are extracted from there. Which strings each instrument computes as plain and which as wound is a fixed rule of the program, transcribed as data and flagged as such in the report.
- Routines. Part of the calculation lived not in formulas but in Visual Basic macros. Those routines were re-expressed preserving their semantics: 32-bit variables for nylon and gut, tension read as text with two decimals, a fixed KF coefficient in the instrument sheets. Every quirk is noted in the extraction report shown below.
Families and starting values
The grouping into families (guitar, lute, viol, bowed, historical, harp) that orders the
instrument <select> is a presentation grouping of ours: the .xls is 31 separate instrument
sheets, in the workbook’s own order, with no field that groups them. The baroque guitar lived
under “historical” until 2026-09-08; that day, after seeing the calculator, the owner asked for
it to move to “lute” — the romantic guitar stays where it was, only the baroque one was asked to
move.
The original didn’t bring a starting vibrating length or tension either, though the two columns aren’t blank to the same degree. The tension one is blank outright: of the 31 instrument sheets, 30 bring no value at all — four don’t even have that column — and the only one that brings anything is LUTREN. In the length column it is 28 sheets that bring nothing — five of them without the column — plus PETIHARP33, whose 26 cells hold a zero: holes nobody filled in, not measurements of zero centimetres. That leaves two sheets with actual lengths, and they are the two exceptions told below. The 60 cm and 3 kg every string starts from are a decision of ours, not a figure from the file.
The first exception is LUTREN (the Renaissance lute), for a specific reason: it’s the only
sheet someone filled in and left saved — length “60,5” written with a comma decimal separator,
tension 3.0, the same across its nineteen strings. That isn’t a value Savarez published: it’s
what’s left over from the session of whoever used that sheet to calculate, the same session
whose nineteen resolved gauges Excel also left stored and that this site uses as ground truth
(see Verification, below — golden.json/excelObserved). Same file, same sheet, same gesture:
someone typed a length and a tension, hit calculate, and both things — what they typed and what
Excel returned — stayed saved ever since.
The second is PETIHARP36: it’s the only harp sheet that documents a length per string instead of a single one for the whole instrument — 29 distinct values, from 10.2 to 91.0 cm. Those 29 measurements are used as they are, string by string, instead of the 60 cm starting point.
Verification
The calculators’ JavaScript engine is compared against two things. First, a Python reference model that evaluates the original formulas over a grid of frequencies, lengths and tensions. Second — and this is what proves fidelity — cells that Excel itself computed at the time and left stored in the Renaissance lute sheet: nineteen gauge and PUL values reproduced bit for bit. All of this is part of an automated test battery that runs before every release, together with the accessibility audit and the per-page weight budget.
Millimetres on screen, %mm in the data
The original stores and calculates gauges in %mm (hundredths of a millimetre): that’s how the
diam_mono sheet, the 31 instrument sheets and the catalogue reference names are — KF60 is 60 %mm,
BFA642 is 642 PUL. The site still calculates and stores in that same unit: the calculation engine
and the extracted data don’t change. What changes is the screen: since 2026-09-08, by the owner’s
decision, gauges are shown in millimetres (60.6 %mm reads “0.606”), dividing by a hundred and keeping
three decimals — two are no longer enough to tell apart catalogue gauges that were distinct in %mm.
It’s a presentation conversion, not a change to the calculation or the catalogue.
Where it applies, exactly: the calculator’s results table, the harp tables, the Catalogue and the text the calculator exports to the clipboard. Those are the four places where the site shows a diameter as a result, and all four read in millimetres, so the same figure doesn’t read two different ways depending on where you look.
There is a fifth place that does not convert, and it isn’t an oversight: the worked example on How it works. What that page shows is the original’s formula, and that formula yields %mm; changing the unit of its result would stop it being the original’s formula, which is precisely what the page documents. So the example keeps the original’s unit and gives the millimetre equivalent beside it, on the same line: “106.7 %mm (1.067 mm)”. It is the same figure the table shows as 1.067.
Catalogue reference names aren’t touched: they still encode %mm, because they belong to Savarez’s catalogue. The %mm unit itself — what a hundredth of a millimetre is — stays explained wherever the original is documented, here and in Concepts: there, it’s fidelity, not interface.
The Catalogue: indexed by value
Until 2026-09-08, the Catalogue page showed eight collapsible tables, one per series — gut, nylon and KF for plain strings; the five wound-string families — each with its own reference as a row. Seeing which materials a given gauge existed in meant opening three of them and comparing rows by hand. Now there are two tables indexed by value: the plain-string one has one row per diameter (82) with Gut · Nylon · KF columns; the wound one has one row per PUL (78) with the five families in columns. Each cell carries that material’s reference at that value, or ”—” if the catalogue has no such combination.
The gaps are a fact of the catalogue, not a shortcoming of this table. The 118 plain-string references (38 gut, 43 KF, 37 nylon) fall into only 82 distinct diameters: only 5 exist in all three materials at once, and 51 in just one, so barely 48 % of the 246 possible cells (82 diameters × 3 materials) are filled. Wound strings are similar: 144 references in only 78 PUL values, with only 3 — 170, 210 and 300 — shared by all five families at once.
There is also a real collision, which is the opposite of a gap: in the silver-wound gut family
(GUT_AG, boyau filé argent), two references share PUL 480 — BFA482 and BFA484 — and that
cell carries both. It is the only collision among the eight original series.
Of the 312 codes the catalogue assigns to its 118 plain-string references, the table prints 118
— each reference’s own — and leaves out 194: 62 %, two in three. They are not lost for it:
a paragraph above the table explains them and the search box finds every one. The rule that
derives them has no exceptions across the 118: the harp code prepends HP and drops the second
letter (KF30 → HPK30, NN40 → HPN40, BRH38 → HPBH38); gut’s code also swaps that
letter for V (BRH38 → BRV38, with its own harp code HPBV38). A KF or nylon reference
therefore carries two codes — its own and the harp one — and a gut one carries four; the three
in four that go unprinted, a figure this paragraph gave for a while for the whole catalogue, only
holds for those 38 gut references. The sum is 118 own + 118 harp + 38 alternates + 38
alternate-harp codes — only gut has a variant — and all 312 are findable in the catalogue’s
search box even though only 118 are printed. Compacting the table did not shrink the catalogue:
if a code had stopped being findable, that would have.
Reorganising the eight tables into two broke the search box entirely — it kept pointing at the
collapsible tables that no longer existed, and announced “0 references” on load — and no test
caught it: the tests exercised its pure functions (which row matches which query) in isolation,
never whether that code was actually wired to the page’s real DOM. The repository’s tests have
no DOM environment — vitest runs in Node, without jsdom — so the only thing able to cover that
wiring is the browser flows in scripts/a11y.mjs. The catalogue now has seven of them: one
loads the page and checks it announces the real 262 references; another searches for an unprinted
derived code (hpbv38) and waits for its row to appear; and another watches the only figure with
more than one hit — searching “kf” announces 43 — which is where the count had gone wrong: the
status region was adding up every reference in the visible rows, not the matching ones, and said
70.
Deliberate divergences
The rule behind the calculator is to preserve Savarez’s calculations and concepts, not the limitations of a 1998 file. There are three points where the site knowingly departs from the original, and in all three the criterion is flagged as ours, not part of the replica.
The KF coefficient, tiered
The original contradicts itself: the monofilament sheet applies the KF coefficient in tiers, keyed on the resulting gauge (150 if d < 100 %mm; 156.9767 if 100 ≤ d < 150; 162.6506 if d ≥ 150), but the 31 instrument sheets always use a fixed 150, with no tiers. This calculator applies the tiers everywhere on the page, so the KF column means the same thing no matter which instrument you’re looking at.
This isn’t just a difference between two formulas: it’s a difference against a number Excel itself
computed and left stored. Of the KF gauges the Renaissance lute sheet (LUTREN) had already resolved,
one falls right on the other side of the second tier’s threshold: row 30’s string, which Excel saved
as 103.711 %mm using the fixed coefficient, comes out to 108.5 %mm with the tiers applied.
That Excel figure is never touched or updated to match the interface — it’s the proof that the file
really did calculate differently depending on the sheet. The faithful path is kept separately, in the
engine, as the instrumentGaugeAsOriginal() function, and the automated tests still check it against
the file’s exact 103.711 %mm: the evidence is never touched.
The derived plain/wound split
Thirteen instruments (five bowed, five harps, the ukulele, the ten-string guitar and the baroque guitar) had no calculation routine wired into the original’s Visual Basic: the sheet just showed ”—”. This calculator computes them like every other instrument, with the same formula, but it needs to know which strings are plain and which are wound, and that information isn’t in the file for these thirteen instruments.
When the original doesn’t fix the split, we derive it from the catalogue with a single limit, the upper one: a string is treated as plain as long as its theoretical gut diameter does not go past the thickest gauge in the gut series (225 %mm); past that, it’s treated as wound. There is no lower limit, and that is deliberate: a very thin string still comes out plain even when its gauge falls below the thinnest one in the gut series (38 %mm, the minimum of that series and not of the whole catalogue: the KF series goes down to 30 %mm), and each gauge column then answers on its own, with the one that does not go that thin reading “No exact reference in the catalogue”. It happens on all five harps with the interface’s starting values: on the concert harp, 22 of its 35 rows fall below those 38 %mm, and 20 of them are left with no reference in any of the three columns; the other two —32.2 and 36.1 %mm in gut— still find one in KF, KF30 and KF33. That is neither a flaw in the rule nor something treating them as wound would fix — the linear weight of such a string isn’t in the catalogue either: it means Savarez’s 1998–2000 catalogue did not reach that far, and saying so is more honest than recommending the nearest reference as if it fitted. This is our own criterion, not Savarez’s, and the calculator says so: choosing one of those thirteen instruments shows a notice below the table explaining it. It’s frozen the moment the instrument (or tuning) is chosen and is never recalculated while the user types, because it depends on tension and length: recalculating it on every keystroke would make a string change nature mid-edit. The interface applies the split and shows it by clearing, row by row, the material columns that don’t apply to each string — a plain string carries no wound references, and a wound string carries no gut, nylon or KF gauge — there is no longer any control to correct it by hand.
The custom instrument applies the same derived rule, but the other way round from those thirteen: it doesn’t freeze it. Every time the user changes a string’s frequency, length or tension, its split is recalculated against the catalogue for that string — that makes sense, because the custom instrument is built string by string and a jump from plain to wound is information, not a surprise mid-edit. Until 2026-09-08 the custom instrument inherited a fixed type from its starting example (the six-string classical guitar) with no rule adjusting it, so changing the string count or the length never changed which rows were plain and which were wound; with the derived rule now applied here too, that stops being a limitation.
NFP left out of the results
The NYL_PLAS family (NFP, nylon-wound over plastic) still lives in the historical catalogue and on
the Catalogue page — the extraction stays faithful to the whole file — but it no longer appears among
the references the calculator offers for a synthetic-core wound string: an owner’s decision,
2026-09-08, made because NFP isn’t explained in any Savarez document found so far (see Concepts) and
the owner didn’t want to offer it as a buying recommendation without that certainty.
Modern extensions
These features didn’t exist in the original selectorconve.xls. They no longer carry any visual
badge in the interface next to the control that offers them (removed 2026-09-08): they’re declared
here, in this list, which covers them all:
- Tension editable string by string, with a block tension adjustment that raises or lowers all of them at once without losing their differences (see below).
- Total set tension: the sum of the tensions of the strings that have a frequency. Those the original left without one (the double bass’s 7th course, for instance) are not calculated and do not add up.
- Exporting the calculated set as text, ready to copy and paste.
- A pitch standard of its own for each instrument: choosing an instrument moves the pitch field to the one its original sheet documents — A 415 in nine of the thirty-one: the vihuela, the four viols, the baroque guitar and the three baroque bowed instruments — instead of always starting at 440. The figure is the original’s; making the switch automatic is not. A shared link overrides the instrument: if it carries a pitch standard, that one wins. Next to the field there are four shortcut pills (415, 430, 440 and 442 Hz) that fill it in with one click; this is not the combo box the owner removed on 2026-09-08 — that one competed with the field — but one more shortcut beside it, and the free field (380–480 Hz) still takes any value.
- Calculating the thirteen instruments with no routine of their own (see above), with their derived split rule — frozen once the instrument is chosen for those thirteen, but recalculated on every repaint for the custom instrument, which applies the same rule without ever freezing it (see above).
The single tension field for all strings was removed: every row now starts from the same default
base (3 kg — Savarez’s .xls had no per-string tension column, see “Families and starting values”)
and the user changes it row by row.
In its place there’s a block tension adjustment: a field that holds an offset, not a tension, with
a 0.5 kg step and a ±10 kg range, and two − / + buttons that move it. Each string’s tension is its
base plus that offset, without accumulating: pressing ”+” twice gives base + 1 kg, not a compound on
top of what was already applied. This page used to say the control had been dropped “for
compactness”; the owner reversed that decision on 2026-09-08, after seeing it on the calculator
already published at cuerdaspulsadas.com/calculator/. A transposition of the whole set in
semitones (± across every string at once) also existed, and that one really was removed: the ±
semitone buttons on the Note column, which remain, already let each string be raised or lowered on
its own.
What is not replicated
- The original’s inch-and-pound mode. It existed, with its own conversions (2.541 cm per inch; 2.20458 pounds per kilogram) and a bug in one of its formulas; it is documented, but this site’s calculators work in metric units only.
- The 1998 interface (Excel 5 dialog boxes). It is replaced by accessible web forms; the sheets are shown reconstructed in the museum-mode gallery.
- Savarez’s Visual Basic code. It is neither published nor transcribed.
Reproducibility
The project repository includes the extractor, the tests and a make check that
regenerates the data and checks that it does not change. Anyone with a copy of the original
file can redo the extraction and verify that they obtain exactly the same JSON (the file’s
SHA-256 fingerprint is shown below).
Fidelity evidence
- 19Excel cells reproduced exactly
- 293grid cases verified
- 23instrument cases verified
- 19 cells computed by Excel itself in the Renaissance lute sheet, reproduced with relative error < 10⁻¹²
- Tolerance between the JavaScript engine and the reference model: 10⁻⁹ relative
- Bit-exact values: 34.61706216083882 (KF gauge) and 117.12066107226997 (PUL)
Technical appendix file fingerprint, counts, quirks, anomalies and broken names
Source
- SHA-256
cb761067d4aa2c920494acdaf9c39273e766d2264a6dc1b0339d45d45b724601- bytes
- 2717696
- sheets · defined names
- 50 · 430
Extraction counts
| Dataset | Count |
|---|---|
| mono | GUT: 38 · KF: 43 · NYLON: 37 |
| wound | GUT_AG: 41 · GUT_CU: 35 · NYL_AG: 23 · NYL_CU: 24 · NYL_PLAS: 21 |
| instruments | 31 |
| strings | 344 |
| golden | excelObserved: 19 · instrumentFromTension: 17 · instrumentTension: 6 · monoDiameters: 79 · monoTension: 56 · transpose: 19 · woundPul: 79 · woundTension: 79 |
Quirks of the original (reproduced as is)
- Nylon/gut diameters use the tension read as text with format 0.00 and Single (VBA) arithmetic.
- The instrument sheets use KF with a fixed coefficient of 150 (no tiers) and are metric only.
- The hypotheses are floor-type LOOKUPs (largest value <= x), not 'nearest'; offsets +2/+3/+4/+5 %mm and +15..+60 PUL.
- BOYFILAG contains PUL 480 twice (BFA482 and BFA484); the exact lookup returns the first one.
- COEF_KF and DIAMETRE_KF (and DOn_440/REn_440...) are broken #REF! names in the original.
- recdipulviolb (viols) and recdipulviuhl (vihuela) write both plain gauge AND PUL into overlapping rows (14-15 / 20-23).
- Imperial mode (not replicated): 2.541 cm/inch (not 2.54), 2.20458 lb/kg (not 2.20462); DIAMETRE_KFI3 divides by L/2.541 (x6.4567); dmonoinch = diam_mono/2541 and nylon is missing NN42, NN52, NN72, NN112.
Detected anomalies
- CONCHARP · KF · FORTE · #23: 126 — gauge missing from the KF catalogue
Data provenance
- constants.coefficients.COEF_STEEL, RECDIPUL_CONSTANT and hypothesisOffsets are literals from the VBA code declared in extract_constants.py.
- tunings.instruments[].rules (showMonoBelowPosition, fromTension.plainRows/woundRows, byTuning) are rules derived from reading the VBA (*acc and recdipul* routines), not parsed data; GUITERZ is marked assumed=true.
- brokenNames includes the direct #REF! names (source.nameKinds['ref-error']) plus the transitive ones that reference them (e.g. DIAMETRE_KF), hence the difference in counts.
Broken defined names in the original
COEF_KF, DIAMETRE_KF, DO0_415, DO2_440, DO3_440, DO4_440, DO5_440, DO6_440, DO7_440, FA2_440, FA3_440, FA4_440, FA5_440, FA6_440, FA7_440, INF2, INT1, INT2, LA1_440, LA2_440, LA3_440, LA4_440, LA5_440, LA6_440, LA7_440, MI2_440, MI3_440, MI4_440, MI5_440, MI6_440, MI7_440, NOTE1, PIN1, PIN2, RE2_440, RE3_440, RE4_440, RE5_440, RE6_440, RE7_440, SI1_440, SI2_440, SI3_440, SI4_440, SI5_440, SI6_440, SI7_440, SOL1_440, SOL2_440, SOL3_440, SOL4_440, SOL5_440, SOL6_440, SOL7_440
