Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.7%) to scientific vocabulary
Repository
A tool for batch file processing, focusing on audio
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 4
- Open Issues: 7
- Releases: 0
Metadata Files
README.md
aud
v0.8.6
- Support for Python 3.8, 3.7, & 3.6
- Support for Windows & Ubuntu
- Requires ffmpeg is already installed and updated
Installing FFMPEG:
```
On Linux: apt-get install ffmpeg libavcodec-extra
On Mac: brew install ffmpeg --with-libvorbis --with-sdl2 --with-theora
On Windows: visit https://www.ffmpeg.org/download.html download and install the appropriate package ensure it is added to your PATH and you can call it from cmd ```
To start contributing:
```
git clone https://github.com/zdhoward/aud.git cd aud virtualenv venv source venv/bin/activate python3 -m pip install -r requirements.txt python3 aud/. --test ```
Quickstart:
``` a = aud.Dir("folder", ['wav', 'mp3'], logfile="main.log")
a.log("Backing up") a.backup("backups/todays_date/")
a.log("Changing filenames to all uppercase") a.name_upper()
a.log("Creating exports for Amuse") a.export_for("amuse", "exports/amuse")
a.log("add initials to all files") a.nameappend("ZH")
a.log("Zip files up") a.zip("my_files.zip")
```
Repository Overview
This repository provides aud, a Python library for bulk audio file management. The project ships a Dir class that organizes collections of files and performs operations such as backups, renaming, audio effects, and conversions. The repository also includes a GUI prototype and a thorough test suite.
aud/
├── aud/ # main package (Dir class, exceptions, tests)
├── gui/ # PySimpleGUI-based prototype
├── mock_assets/ # sample audio for tests
├── API.md, README.md # documentation and quickstart
├── main.py # small example script
└── setup.py # packaging info
Key Components
Documentation and Quick Start
- The README shows how to install FFMPEG and illustrates a short workflow using the
Dirclass. Lines 23‑50 provide a setup guide and a quick usage demo. API.mdlists the major methods—core operations, configuration, renaming, audio effects, conversions, and exports. Lines 5‑38 present a concise API overview.
- The README shows how to install FFMPEG and illustrates a short workflow using the
audPackageaud/aud.pydefines theDirclass. It tracks a working directory, manages allow/deny lists, and exposes numerous methods for manipulating files:- General actions (
backup,move,copy,zip) - Configuration (
config_set_log_file,config_set_extensions, etc.) - Naming tools (
name_upper,name_lower,name_prepend, etc.) - Audio effects (
afx_normalize,afx_fade,afx_pad, and others) - Conversion helpers (to WAV, MP3, FLAC, RAW, etc.)
- Export presets via
export_for - Utility functions at the bottom (e.g.,
bit_depth_level,checkdir,split_filename).
- General actions (
aud/exceptions.pydefines custom exception classes used throughout the package.aud/__main__.pyallows running tests viapython -m aud --test.
Testing
aud/test_aud.pyexercises nearly every feature. It sets up a temporary directory with sample WAV files and verifies backup, copy, move, renaming, conversions, and exports.
GUI Prototype
- The
gui/directory contains early PySimpleGUI scripts (aud-gui.py,gui.py,layouts.py). These files lay out window components and event handling to interact with theDirclass. They are experiments toward a user-friendly interface but not yet production ready.
- The
Packaging
setup.pyandsetup.cfgdefine package metadata. Dependencies includepydub(for audio processing) andcolorama(for colored logs).
Tips for New Contributors
- Understand the
Dirclass: Most functionality lives here, so browsingaud/aud.pygives a clear view of available operations and how they interact with the filesystem. - Explore the tests:
aud/test_aud.pydemonstrates typical usage patterns and helps verify that your environment is set up correctly. - Look into the GUI: If you’re interested in providing a graphical interface, the scripts in
gui/show initial attempts with PySimpleGUI. Extending or refactoring them could be an interesting project. - Audio knowledge: The code leverages FFMPEG via
pydub. Familiarity with audio formats, sampling rates, and bit depths helps when working on conversion or FX routines. - Next Steps:
- Dive deeper into
pydubto understand advanced audio manipulations. - Enhance error handling and logging for production use.
- Consider packaging the command-line entry point or improving the GUI for non‑technical users.
- Dive deeper into
Overall, aud is a utility-driven project aimed at simplifying large-scale audio file operations. Reviewing the Dir class methods and the accompanying tests will give you a solid grasp of how to use and extend the package.
Owner
- Name: Zach Howard
- Login: zdhoward
- Kind: user
- Location: Canada
- Repositories: 4
- Profile: https://github.com/zdhoward
GitHub Events
Total
- Issues event: 1
- Issue comment event: 2
- Push event: 12
- Pull request event: 10
- Create event: 2
Last Year
- Issues event: 1
- Issue comment event: 2
- Push event: 12
- Pull request event: 10
- Create event: 2
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| 0x01 | z****d@g****m | 79 |
| Zach Howard | o****2@g****m | 34 |
| ICTman1076 | i****t@s****k | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 31
- Total pull requests: 2
- Average time to close issues: 2 months
- Average time to close pull requests: about 1 hour
- Total issue authors: 3
- Total pull request authors: 2
- Average comments per issue: 0.9
- Average comments per pull request: 1.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- zdhoward (29)
- AndyMaq (1)
- Andrej730 (1)
Pull Request Authors
- zdhoward (7)
- Andrej730 (1)
- ICTman1076 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 94 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 12
- Total maintainers: 1
pypi.org: aud
aud is a python package that aims to make bulk file edits easy enough for anyone with minimal scripting or python knowledge
- Homepage: https://github.com/zdhoward/aud
- Documentation: https://aud.readthedocs.io/
- License: MIT
-
Latest release: 0.8.6
published almost 6 years ago
Rankings
Maintainers (1)
Dependencies
- colorama *
- m2r *
- pydub ==0.23.0
- pytest *
- pydub *