DFSG NEW Queue

DFSG, Licensing & New Packages Team

dettato 2.0.1-1

Package Information

DescriptionSOTA multi-instrument audio-to-MIDI transcriber

This is an audio to MIDI transcriber. You give it a recording and it writes a MIDI file, with one track for each instrument and a drum track.

This package installs the library for Python 3.

MaintainerAlex Myczko <tar@debian.org>
Changed ByAlex Myczko <tar@debian.org>
Sponsortar@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/debian/dettato.git (browse)
Closes#1155675
Trackerhttps://tracker.debian.org/pkg/dettato
Uploaded3 hours ago

New Package Report

.changes◂
Changed-ByAlex Myczko <tar@debian.org>
Architecturesource all
Distributionunstable
DateSat, 28 Nov 2026 21:13:49 +0100
Sourcedettato
Version2.0.1-1
Changelog◂
dettato (2.0.1-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1155675)
.dsc◂
Sectionpython
Priorityoptional
Componentmain
Package-Listpython3-dettato deb python optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/kobimusic/dettato
Upstream-Name: dettato
Upstream-Contact: KobiMusic

Files:
 *
Copyright:
 2026 KobiMusic
License: Apache-2.0
 Read /usr/share/common-licenses/Apache-2.0

Files:
 debian/*
Copyright:
 2026 Alex Myczko <tar@debian.org>
License: GPL-2+
 This package 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 2 of the License, or
 (at your option) any later version.
 .
 This package is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this package. If not, see <https://www.gnu.org/licenses/>.
Comment:
 On Debian systems, the complete text of the GNU General
 Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

DFSG Assistant LLM REVIEW 0 blocker, 2 important, 1 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 2 hours ago.

Report◂

DFSG NEW review for dettato version 2.0.1-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: No
  • Issues: 0 blocker, 2 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 1 found

Licensing

debian/copyright is DEP-5: Files: * is Apache-2.0, © 2026 KobiMusic, and Files: debian/* is GPL-2+ by Alex Myczko, with the GPL text and a pointer to /usr/share/common-licenses. That matches LICENSE, NOTICE, pyproject.toml (license = "Apache-2.0") and CITATION.cff, and the Files: * pattern covers every upstream file including the workflow, figures and tests. No other copyright holder or licence notice exists anywhere in src/, tests/, docs/ or the root metadata. The only non-commercial wording (README.md:162) describes training datasets of the four model checkpoints, which are downloaded from the Hugging Face Hub at run time; no weights or datasets are in the source package, so no restricted material is distributed.

Packaging

The packaging is thin and has two real defects. python3-dettato has no dependency on pretty_midi, which Debian does not ship at all, so the CLI's MIDI output (the package's whole purpose) aborts with ModuleNotFoundError; debian/README.Debian instead tells users to pip-install it with --break-system-packages. debian/rules disables the entire test suite with a stub @echo moo override, and pytest is not in Build-Depends although many of the tests exercise the code without any model weights. Separately, ffmpeg, used for the input formats soundfile cannot read, is not declared. Standards-Version 4.7.4 is current against Policy 4.7.4.1, Vcs-* and the changelog are fine, compat 13 is acceptable, and ${python3:Depends}/${misc:Depends} are present and would otherwise be generated correctly.

Issues

important packaging 1. python3-dettato has no dependency on pretty_midi, which Debian does not package, so the MIDI output fails with ModuleNotFoundError ◂
  • Files: pyproject.toml:20, src/dettato/pipeline.py:55, src/dettato/cli.py:60, debian/control:15-17, debian/README.Debian:1-2
  • Basis: checked, in the package or with a reference tool
  • Evidence: pyproject.toml: "pretty_midi>=0.2.10",; pipeline.py: import pretty_midi inside save_midi; cli.py:60 res.save_midi(base + ".mid"); README.Debian: You'll need to somehow install prett-midi. / Example: pip3 install pretty_midi --break-system-packages
  • Problem: The one output the program exists to produce is the .mid file, and it is written only through pretty_midi, imported lazily in Transcription.save_midi. dh_python3 cannot map the pretty_midi requirement to any Debian binary package (its pydist helper drops unknown names without adding a relationship), and no Debian package provides it: apt-cache show python3-pretty-midi and /usr/share/dh-python/dist both know nothing of it, and it is not in NEW either. The generated Depends therefore lacks any MIDI writer, and because cli.py calls res.save_midi() outside the per-file try/except, the first transcribed file aborts the run with ModuleNotFoundError: No module named 'pretty_midi'. Debian/README.Debian's workaround, pip3 install ... --break-system-packages, installs into the system Python and is not acceptable in a package.
  • Fix: Package pretty_midi (ITP) or replace save_midi with a packaged MIDI writer such as python3-mido, add the resulting dependency, and delete the pip/--break-system-packages advice from debian/README.Debian.
important packaging 2. The test suite is disabled by an @echo moo override and pytest is not in Build-Depends ◂
  • Files: debian/rules:9-10, debian/control:5-10, pyproject.toml:49
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/rules: override_dh_auto_test: / @echo moo; Build-Depends has no python3-pytest; pyproject.toml: [project.optional-dependencies] test = ["pytest>=7"]
  • Problem: The override replaces dh_auto_test entirely, so no test ever runs at build time. The suite is not weight-dependent everywhere: tests/test_audio.py (decoding and ffmpeg error paths), tests/test_pipeline.py (device selection), tests/test_grouper.py (vocabulary, slot assignment, retune), tests/test_drums.py (feature shape, peak picking) and tests/test_transcriber.py (decode, host-buffer streaming) run without any model download; only the @needs[...] tests skip themselves. A stub that prints moo loses that coverage for no stated reason, and using it hides the fact that pytest and soundfile (imported by tests/test_audio.py) are missing from Build-Depends.
  • Fix: Add python3-pytest and python3-soundfile to Build-Depends and delete the override_dh_auto_test target; the tests that need weights already skip themselves when the Hub is unreachable.
minor packaging 3. ffmpeg/ffprobe are used at run time but not declared as a Recommends ◂
  • Files: src/dettato/audio.py:40-57, debian/control:17-19
  • Basis: checked, in the package or with a reference tool
  • Evidence: audio.py: subprocess.run(["ffmpeg", "-v", "error", "-i", path, ...]); subprocess.run(["ffprobe", ...]); README.md:147: Formats it cannot read (m4a / aac, some mp3s) go through ffmpeg, which must then be on the PATH.
  • Problem: m4a/aac and some mp3 inputs are decoded by calling the external ffmpeg, and the sample rate is probed with ffprobe, but the binary package declares no relationship on ffmpeg, so on a default installation those common formats fail even though the package claims to accept them (see the EXTENSIONS tuple in audio.py).
  • Fix: Add Recommends: ffmpeg (or Suggests:) to python3-dettato.
Verified ◂
  • Read debian/copyright, control, rules, changelog, docs, README.Debian, source/format, source/options and upstream/metadata in full.
  • Read README.md, LICENSE, NOTICE, pyproject.toml, CITATION.cff, MANIFEST.in, .gitignore and .github/workflows/publish.yml in full; grepped all of src/, tests/, docs/ and the root metadata for Copyright/(C)/©/SPDX/Licensed under/GNU/Apache/public domain/All rights reserved/MIT/BSD/CC/non-commercial/MPL wording.
  • debian/copyright is DEP-5, Files: * Apache-2.0 © 2026 KobiMusic and Files: debian/* GPL-2+ (pointer to /usr/share/common-licenses/GPL-2); this matches LICENSE (full Apache-2.0), NOTICE (Copyright 2026 KobiMusic), pyproject.toml license = "Apache-2.0" and CITATION.cff license: Apache-2.0. No other holder or licence appears in any file.
  • README.md:162's non-commercial wording is about the datasets behind the grouper and drum checkpoints, which are fetched from the Hugging Face Hub at run time (src/dettato/hub.py); the tree contains no model weights or datasets (no .safetensors/.pt/.bin/.onnx files), so no file in the source or binary package carries those terms. debian/copyright need not, and does not, claim otherwise.
  • README.md:156 names the only external media used for the example figure (Musopen Wikimedia public-domain recordings, US Marine Band), which is consistent with the figures being Apache-2.0 plots under Files: *.
  • docs/figures/{bench_all_sets,bench_mirelo_sets,example_tracks,pipeline}.png are the four binary files the scan matched; they are benchmark/piano-roll/pipeline plots referenced by README.md and were not opened, per the instruction on images.
  • Neither the source nor the binary package vendors third-party code: all imports resolve to modules Debian ships (numpy, scipy, torch, soundfile, soxr, huggingface_hub, safetensors) except pretty_midi, which is reported separately.
  • apt-cache: python3-soundfile, python3-soxr, python3-huggingface-hub, python3-safetensors, python3-torch, python3-setuptools (84.2.0 >= 77.0.3) all exist; python3-pretty-midi and python3-prettymidi do not, in the lists, in dh-python's dist map or in the NEW queues.
  • Debian Policy is 4.7.4.1; Standards-Version 4.7.4 therefore has current first two components (Policy 12.5 read for the copyright-file requirements, including the pointer to /usr/share/common-licenses).
  • No debian/patches, no maintainer scripts, no debian/tests/control; source format 3.0 (quilt); changelog is 2.0.1-1/unstable with an Initial release and a Closes, dated before today.
  • uscan found the packaged version as the newest upstream release (upstream 2.0.1, packaged 2.0.1).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0, GPL-2).
Not confirmed ◂
  • No build or test run was possible (read-only review); in particular whether setuptools' PEP 639 license-files (LICENSE, NOTICE in pyproject.toml) land in the installed dettato-*.dist-info/licenses/ was not confirmed. If they do not, debian/docs should also ship NOTICE to meet Apache-2.0 section 4(d); a build would show it.
  • Vcs-Git/Vcs-Browser URLs were not reachable to check (no network access).
  • debian/watch looks at github.com/kobimusic/@package@, but the Source field of debian/copyright names github.com/kobimusic/dettato. Whether these are the same upstream was not checked.
  • debian/watch looks at github.com/kobimusic/@package@, but Repository in debian/upstream/metadata names github.com/kobimusic/dettato. Whether these are the same upstream was not checked.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 2 hours ago.

Back to Dashboard | View all reviews for this package