Guitar Tap — Desktop edition
Tap-tone analysis for luthiers — capture a tap, run an FFT, and reveal a guitar's resonant modes and a tonewood's stiffness.
Download ·
Website ·
User Manual
Guitar Tap captures the brief ring-out after you tap a guitar, a tonewood plate, or a
brace, runs a high-resolution FFT, and reveals the resonant peaks and material properties
that matter to guitar builders. Use the results to guide your bracing, mass distribution,
and plate thickness.
It implements the tap-tone methodology from Contemporary Acoustic Guitar Design and Build
by Trevor Gore in collaboration with Gerard Gilet — built to improve reproducibility in
guitar building.
This is the desktop edition of Guitar Tap: free and open source, written in Python 3 with
PySide6, for Windows, macOS, and Linux. The Apple edition for iPhone, iPad, and Mac is on the
App Store, and the web edition runs in any
modern browser — all three are open source (see Related projects).
Features
- Guitar mode — identify the key body resonances (Air/Helmholtz, Top, Back, and more),
each labeled with frequency, pitch, and Q factor, plus the tap-tone ratio.
- Plate mode — measure a tonewood blank: Young’s modulus along and across the grain,
speed of sound, specific modulus, radiation ratio, a quality grade, and a Gore target
thickness.
- Brace mode — a fast single-tap measurement of a brace strip’s stiffness, speed of
sound, specific modulus, and quality.
- Real-time spectrum that freezes automatically the instant a tap is detected.
- Multi-tap averaging and side-by-side comparison of saved measurements.
- Save measurements and export spectra, images, and PDF reports.
- Microphone calibration support for measurement mics.
Running from Installer
Prebuilt installers for macOS 15 or later (Apple Silicon), Windows and Linux (a .deb, an .rpm and an AppImage) are on the
releases page, with their SHA256SUMS; how to install each is in
the User Manual’s §2.1. An installed app needs nothing else on any platform: Python, Qt and PortAudio are inside it.
The macOS installer runs on systems newer than Big Sur (11.0), due to the end of life of the earlier systems; the Linux
ones on Linux as old as Ubuntu 22.04.
Setting up on a new machine
All commands run in bash: Terminal on macOS, a shell on Linux, Cygwin bash (or Git Bash) on Windows. Every
repo has its own Python environment, .venv, made from its own requirements files; nothing uses another repo’s
Python or the system’s. The repo’s scripts find .venv themselves (.venv/bin, or .venv/Scripts on Windows) and
stop if it is missing; PYTHON=… names another interpreter. On Windows, write .venv/Scripts/ where these
commands say .venv/bin/.
1. Prerequisites
- Python 3.14 or later from https://www.python.org/, and git.
- System packages, to run from source:
- macOS: none — the
sounddevice package carries its own PortAudio.
- Linux (Debian/Ubuntu):
sudo apt update && sudo apt install libportaudio2 libxcb-cursor0 — the Linux
sounddevice package carries no PortAudio and uses the system’s; Qt needs libxcb-cursor0 to open a window
under X11.
- Windows: none — as macOS.
- For the Quick Start Guide (testing and installers only): a native Pango library — macOS
brew install pango,
Linux sudo apt install libpango-1.0-0 libpangoft2-1.0-0, Windows the GTK runtime (see
packaging/generate_guide.py). For the release-notes PDF (macOS installer): brew install pandoc and
brew install --cask basictex (xelatex).
2. Clone and create the environment
git clone https://github.com/dwsdolce/guitar_tap
cd guitar_tap
python3.14 -m venv .venv
3. Install — one of three, by what you are doing
Each file includes requirements.txt, the application’s own list; packages for one platform only (pyobjc on
macOS, comtypes on Windows) install there automatically.
| To |
Install |
| Run from source |
.venv/bin/pip install -r requirements.txt |
| Test and develop |
.venv/bin/pip install -r requirements-dev.txt |
| Build installers |
.venv/bin/pip install -r requirements-packaging.txt |
Then, for any of them: .venv/bin/pip install -e . --no-deps (the app’s own package, from src/).
4. Run it
.venv/bin/python -m guitar_tap
- VS Code: open the folder and select
.venv as the Python interpreter.
- Check a test setup works:
Tooling/test-fast.sh.
Fast test run
Tooling/test-fast.sh runs the whole pytest suite except the two tests that replay every recording —
the playback regression (tests/test_file_playback_regression.py) and the self-regression
(tests/test_self_regression.py), which are most of the suite’s time — for use while working.
Run the full suite (pytest) before a commit. The same split: web npm run test:fast, Swift
Tooling/test-fast.sh.
Soak / stress testing
Tooling/soak.sh is an on-demand dev tool (not CI) that loops the fast pytest
suite many times to surface nondeterministic teardown/GC races (e.g. QObject
finalisation) that a single run hides:
./Tooling/soak.sh 200 # 200 runs; exits non-zero on any failure or hang
It runs under bash on macOS, Linux, and Windows (Cygwin / Git-Bash), with this repo’s .venv
(.venv/bin, or .venv/Scripts on Windows).
A green soak is confidence, not proof — use a few hundred to ~1000 runs.
Building installers
Set up for building installers (requirements-packaging.txt, see Setting up on a new machine).
Then run the platform script from the repository root:
- Linux: ./packaging/build_linux (the AppImage, .deb and .rpm; build_linux help for one of them, or app
for the built app alone)
- macOS: ./packaging/build_mac
- Windows: ./packaging/build_win (Cygwin bash)
Linux (AppImage, .deb, .rpm), Windows (installer) and macOS (.dmg): a release’s files are built by GitHub
Actions (.github/workflows/release.yml, run by hand for the tag: Actions → Release → Run workflow) and attached to
its draft release with their SHA256SUMS — the Linux ones on Ubuntu 22.04, the oldest supported LTS, since the
built app starts only on Linux as new as the machine it was built on; the macOS .dmg signed and notarised with
the owner’s Developer ID, kept in the repository’s macos-signing environment, which asks the owner’s approval
before a run may use it. Run for a branch or commit, it keeps them as the run’s artifacts, or puts them on
a test draft (release-test-<n>) to delete. To build one locally, build_linux invokes the current appimagetool, whose
runtime needs no libfuse2 on the user’s system:
- wget -O ~/bin/appimagetool https://github.com/AppImage/appimagetool/releases/download/1.9.1/appimagetool-x86_64.AppImage
- chmod +x ~/bin/appimagetool
- If appimagetool is elsewhere, set APPIMAGETOOL=/path/to/appimagetool before running build_linux.
- sudo apt install libportaudio2 libxcb-cursor0: the build bundles both, so the app needs neither on the user’s
system; build_linux stops if either is missing.
- sudo apt install dpkg-dev rpm for the .deb and .rpm (packaging/make_linux_package, unsigned); without
them build_linux says so and skips that package.
Windows: the installer step uses Inno Setup 6 — install it in its default folder (C:\Program Files (x86)\Inno Setup 6), where build_win runs ISCC.exe. The Windows build is not code-signed.
macOS: code signing and notarization require an Apple Developer ID. build_mac reads the identity and the
notarytool profile from ~/.config/macsign.env (CODESIGN_IDENTITY, NOTARY_PROFILE), outside the repository;
without it the build is unsigned.
Parity
Behaviour is pinned to the canonical Swift app, not to this code:
- Numeric outputs match to 2–3 decimal places; categorical outputs match exactly;
.guitartap
files round-trip across all three editions.
- The contract is the oracle (
tests/parity-oracle.json), which is committed to this repository —
so the test suite is self-contained and needs nothing else to run. It is a vendored copy of the
shared oracle, generated in the Swift app; Tooling/sync-oracle.sh refreshes it, and the suite
(tests/test_gated_fft_parity.py, tests/test_file_playback_regression.py, …) checks every DSP
result against it.
- Each mirrored module carries a
@parity slug the maintainer uses to keep the Swift, Python, and web
implementations in step.
When an algorithm changes, it is designed once and applied to Swift, Python, and web together, with the
oracle regenerated.
Documentation
The full User Manual covers every
measurement mode, the settings and controls reference, troubleshooting, and a glossary.
Design and cross-platform project docs (specs, parity map, roadmap) live in the project’s own
repository, which is private.
Update check
On startup Guitar Tap checks this repository’s public
releases for a newer version and shows a
dismissible banner when one is available. The request reads GitHub’s public release list and
sends no personal data, no audio, and no measurements. It runs at most once a day, and you can
turn it off in Settings → About & Help → Check for updates at startup. See the
privacy policy for details.
Contributing
Issues and pull requests are welcome. Before opening a PR, please run the full test suite
(.venv/bin/python -m pytest). Because this is a parity port, changes to DSP or behaviour must preserve
the oracle contract. If you’re proposing an intentional behaviour change, please open an issue first so it
can be coordinated across all three editions and the oracle is regenerated by the maintainer.
License
Copyright © 2026 Dolce Sfogato (David Smith).
Licensed under the GNU General Public License v3.0 — see LICENSE.
评论