Skip to content
#software testing Open access

py-tuner for Android

Nov 2026 · Zenodo (CERN European Organization for Nuclear Research)
Music Technology and Sound Studies Music and Audio Processing

Abstract

py-tuner for Android An accurate tuner for guitar, bass, double bass and violin, with a chromatic mode for anything else. It shows a needle and a real strobe, the history of the deviation over the last seconds and, if asked, the spectrum with its clearest peaks named. It is the Android version of py-tuner, with the same analysis written again in Kotlin, and the same settings. On a steady string, a single analysis frame is within a few hundredths of a cent of the true pitch, as in py-tuner: the fundamental is found from all the harmonics of the string, with their inharmonicity, so it works even when the phone's small microphone hardly picks up the fundamental of a low string, and it tells the right note from its octave, its twelfth and the noise of a pluck. Installing It needs Android 10 or later, and a microphone; it asks for nothing else (it does not use the internet). The signed APK of each version is in the releases, on GitHub and Codeberg. [](https://apps.obtainium.imranr.dev/redirect?r=obtainium://app/%7B%22id%22%3A%22io.github.nivaca.pytuner%22%2C%22url%22%3A%22https%3A%2F%2Fgithub.com%2Fnivaca%2Fpy-tuner-android%22%2C%22author%22%3A%22nivaca%22%2C%22name%22%3A%22py-tuner%22%7D) With Obtainium the phone installs the newest release and then each new one over the old. The badge adds the app to Obtainium in one touch, if Obtainium is installed (the link passes through Obtainium's own redirect page, which has analytics); without it, add the app in Obtainium by hand, with the address https://github.com/nivaca/py-tuner-android. It is also in my own F-Droid repository, with the same signed APKs, so each one updates the other: in F-Droid (or Droid-ify, Neo Store), add the repository https://nivaca.codeberg.page/fdroid/repo, whose key has the fingerprint E930B855E234BD2DE4F083D454DA0195549005D91A89309F9A3E5510D71E2E46; the page https://nivaca.codeberg.page/fdroid/ adds it in one touch. What it does Guitar, bass, double bass and violin, with their usual tunings and others (Drop D, DADGAD and the open tunings; the five- and six-string bass; the solo tuning and the low B and C of the double bass; two scordature of the violin), and a chromatic mode, the default. Your own tunings can be added (menu > My tunings). The string compared against is the nearest one, or the one you lock with its button (a second touch unlocks it). The reference A, from 380 to 480 Hz, in tenths of a hertz: − and + move it by 0.1 Hz (held, by 1 Hz), and a touch on its value gives the usual ones (415, 432, 440, 442, 443 Hz...) or any other. A needle with the in-tune zone in green, a real strobe, or both. Each band of the strobe follows the phase of a partial of the string: in vernier mode the clearest partial at one, two and four times the speed, in harmonics mode partials 1, 2 and 3, each where the string's own inharmonicity puts it. The history of the deviation over the last ten seconds, and the spectrum with its clearest peaks named. The needle on a linear scale or a fine one, where the last few cents spread out. A steady response for the double bass, whose pitch moves as it sounds: the attack of each pluck left out, a longer average and a slower needle. Sounds that don't stand 10 dB over the room's noise, learned while nothing plays, are ignored. Offsets of a few cents for any note (menu > Note offsets), the names transposed for a transposing instrument, a capo, and a reference tone (the button Tone: the locked string, or the note shown, or A4). Note names in English, Latin (Do Re Mi) or German (with H and B), with sharps, flats or both (F♯/G♭). The sound is taken unprocessed where the phone allows it, without the gain control and noise suppression that phones apply to the voice. The settings are those of py-tuner, with the same names and values: Settings > Copy as py-tuner settings puts them on the clipboard as the settings.json of py-tuner, and Import from py-tuner reads that file pasted in. In English and Spanish, as the phone is set (or as chosen in Settings, on Android 13 and later). What py-tuner has and this version doesn't: the terminal interface, the command line, the reading of WAV recordings, and the choice of a sound card and its channel (the phone has its microphone). Building It needs a JDK (17 or newer) and the Android SDK with platform 36; there is no native code. Write the path of the SDK in local.properties (sdk.dir=/home/me/Android/Sdk), or set ANDROID_HOME. With the phone connected and USB debugging on:./gradlew installDebug adb shell am start -n io.github.nivaca.pytuner/.MainActivity tools/test.sh runs all the tests at once: those of the Kotlin code, on the JVM (the analysis measured against synthetic strings of known pitch, as in py-tuner), and those of the release tools, in Python. Releases and signing./gradlew assembleRelease makes the release APK, shrunk with R8, and copies it to dist/py-tuner-android-VERSION.apk, replacing the older ones there. It is signed only if the file keystore.properties exists in the root of the project, with the keys storeFile, storePassword, keyAlias and keyPassword; the key and that file are not in git. Without them, the release APK comes out unsigned, as on F-Droid's build server. The copy in dist/ is also signed with OpenPGP, as dist/py-tuner-android-VERSION.apk.asc, when gpg has the secret key of the project (the same as py-tuner's; its public half is GPG-KEY-py-tuner-android.asc). The variable PY_TUNER_GPG_KEY names another key; without the key, the build says so and leaves only the Android signature. To check a release: gpg --import GPG-KEY-py-tuner-android.asc gpg --verify py-tuner-android-VERSION.apk.asc py-tuner-android-VERSION.apk gpg --verify SHA256SUMS.asc SHA256SUMS && sha256sum -c SHA256SUMS apksigner verify --print-certs py-tuner-android-VERSION.apk The Android certificate's SHA-256 is b47f1f0ba9b3ce683542e176a417b2819d94270f39c71f2f2c5938e713144120. A new version is published with one command, after writing what is new under ## Unreleased in CHANGELOG.md and ## Sin publicar in CHANGELOG_es.md: python3 tools/release.py [--version X.Y] [--dry-run] [--yes] It runs all the tests first, and stops if one fails. It raises versionCode and versionName (1.0 to 1.1, unless --version says otherwise; the first time, it releases the version written in app/build.gradle.kts), gives those two sections the version and today's date, puts the version in docs/, and writes the notes for the stores. It commits (vX.Y), signs the tag, and builds the signed APK from the tag, as F-Droid needs; if the build fails, it undoes the commit and the tag. It writes dist/SHA256SUMS and its signature SHA256SUMS.asc, and checks every signature, and the tag's, as a user would, with only the public key; if one fails, nothing is published. Then it pushes main and the tag to origin (GitHub and Codeberg), makes the release on each forge with the APK, SHA256SUMS, their .asc and the public key, with notes taken from the changelog, puts the APK in my F-Droid repository, and publishes the source of the tag on Zenodo. It asks before changing anything, and --dry-run only says what it would do. It needs gh, tea, gpg with the key of the project, a clean main and keystore.properties. If it stops after tagging, running it again publishes what is missing. F-Droid The description, the icon and the notes of each version for F-Droid are in fastlane/metadata/android/ (in English and Spanish). The build recipe for F-Droid's own repository is fdroid/io.github.nivaca.pytuner.yml: it builds the tag vVERSION from the folder app, and finds new versions by their tags. tools/check_reproducible.py [VERSION] checks, as F-Droid would, that the tag builds again into the APK of the release, apart from the signature. Documentation How it was made: docs/DESCRIPTION.md (in Spanish, docs/DESCRIPCIÓN_es.md). The open-source software it uses, and what it learnt from other free tuners: docs/THIRD-PARTY.md. The changes of each version: CHANGELOG.md. How to use the tuner: the manual of py-tuner, MANUAL_en.pdf, tells the same displays and settings. License py-tuner for Android is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version (GPL-3.0-or-later; see LICENSE). The APK also carries the Kotlin standard library 2.2.10, © JetBrains and contributors, under the Apache License 2.0. The full texts of both licences are in LICENSES/, and in the app itself (menu > Licences). Nicolas Vaughan, nicolasvaughan@proton.me

View source

Similar papers

#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#computer vision Review Mar 2008

Agile methods in European embedded software development organisations: a survey on the actual use and usefulness of Extreme Programming and Scrum

The results show that the embedded industry has been able to apply agile methods in its development processes and that the appreciation of the agile methods and their individual practices appears to increase once adopted and applied in practice.

O. Salo, P. Abrahamsson · 238 citations · ⚡9
#computer vision Open access Jul 2017

What happens when software developers are (un)happy

Consequences of happiness and unhappiness that are beneficial and detrimental for developers' mental well-being, the software development process, and the produced artifacts are found.

D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al. · 236 citations · ⚡13
#computer vision Open access Oct 2004

Mobile-D: an agile approach for mobile application development

The Mobile-D approach is briefly outlined here and the experiences gained from four case studies are discussed, which helped develop an agile development approach for mobile application development.

P. Abrahamsson, Antti Hanhineva, H. Hulkko et al. · 225 citations · ⚡18

Related blog posts

Microsoft Research Blog Nov 12, 2026

Microsoft Research Focus – Edition #98

What's new in research at Microsoft? Host Anson Ho explores the latest, including AI-powered universal translation, a breakthrough in a 31-year-old mathematics challenge, and advances making AI coding agents faster and more efficient.  The post Microsoft Research Focus – Edition #98 appeared first on Microsoft Research.

Microsoft Research Blog Nov 5, 2026

Formally verifying agent-written full-stack web apps with PDD Kit

AI agents can generate code at a scale that’s hard for humans to review line-by-line. PDD Kit helps ensure the code is doing what the developer intended by creating formal specifications and testing against them. It converts developer intent into a Verus specification, proves AI-generated code meets it for every input, and uses tests where proofs aren't practical. Developers review intent, not every line. The post Formally verifying agent-written full-stack web apps with PDD Kit appeared first o…

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.