Skip to main content

Command-line audio reconstruction powered by the Audioreconstruction ONNX model

Project description

audioreconstructor

audioreconstructor is the command-line release of Audioreconstruction's ONNX audio enhancer. It installs a small Python launcher; the ONNX model and the native runtime are downloaded only when you explicitly run setup.

Install

pip install audioreconstructor
audioreconstructor setup

setup downloads the native executable, model.onnx, and config.json from the GitHub Release matching the installed package version. It verifies SHA-256 hashes before making them available locally.

The current release supports 64-bit Linux and 64-bit Windows.

Use

Enhance a single file:

audioreconstructor enhance --input song.mp3 --output song_enhanced.flac

Enhance a whole folder (recurses into subfolders):

audioreconstructor enhance --folder ./songs

Reconstructed files are written to a mirrored tree under <folder>/enhanced/, e.g. songs/rock/track.mp3songs/enhanced/rock/track.flac.

Choose the ONNX execution provider when needed:

audioreconstructor enhance --input song.mp3 --output song_enhanced.flac --provider cpu

auto is the default. Windows first tries DirectML and falls back to CPU; Linux uses CPU. The native executable reads supported audio through libsndfile and always writes FLAC output.

Note: v1.0.0 used top-level flags (audioreconstructor --setup, audioreconstructor --input ... --output ...). These are now setup, doctor, and enhance subcommands. Run audioreconstructor --help for the full command list.

Verify installation

audioreconstructor doctor

Doctor verifies all cached release assets and runs an actual synthetic-audio ONNX inference test. A healthy installation exits with status 0.

Cache locations

Setup prints the exact locations it uses. By default they are:

  • Linux: $XDG_CACHE_HOME/audioreconstructor/<version> or ~/.cache/audioreconstructor/<version>
  • Windows: %LOCALAPPDATA%\\audioreconstructor\\Cache\\<version>

Running setup for an upgraded package version removes older cached versions after the new version has been fully verified.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audioreconstructor-1.1.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

audioreconstructor-1.1.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file audioreconstructor-1.1.0.tar.gz.

File metadata

  • Download URL: audioreconstructor-1.1.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for audioreconstructor-1.1.0.tar.gz
Algorithm Hash digest
SHA256 6f2dd0a61f3d08b67da99e57a25e8433ddabad46a879650b29b6516ce5e2bdbb
MD5 c140aa847db2ac8d3d485af9c23a6168
BLAKE2b-256 35faedf2bdbc064bf9d7bad0d92daf232a499ebbdf94f6930f51437be31ef3c5

See more details on using hashes here.

File details

Details for the file audioreconstructor-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: audioreconstructor-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for audioreconstructor-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51e1efa04ed47bff82bb690f6e20cdebea0d02ceb7eb666637bf24adb83b4527
MD5 a056ed7c08aa09d41ba8976b1b57c132
BLAKE2b-256 5257ece1b7566bc4ee94de888a2b6490afec98906b20104faea7879faac2477f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page