mpai-audio-analyser
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.8%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: matteospanio
- License: gpl-3.0
- Language: Python
- Default Branch: main
- Homepage: https://matteospanio.gitlab.io/mpai-audio-analyser/
- Size: 6.37 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
Eq-Detection
Installation
The package uses poetry as a dependency manager, so you need to install it first. You can find the installation instructions here.
Then install the package dependencies and executables using make:
bash
make install
Note that project dependencies are splitted in
docs,dev,notebooksand the required ones for the package to work, by defaultmake installwill install everithing except thenotebooksdependencies, if you want to install all in once you can usepoetry install.
Docker
To avoid any issue with setup and installations a docker container is provided launch the command to create a local container called mpai:
bash
docker build -t mpai .
Usage
The package come with three executables:
noise-extractor: Extracts noise from audio files and saves it in a foldernoise-classifier: Classifies noise files using a pre-trained model and generates a report in form of Irregularity filesaudio-analyser: executes the whole audio analysis pipeline, extracting noise, classifying it and generating the irregularity files
To run the commands from the container use the command:
bash
docker run -it mpai /bin/bash
and then you can run the commands as described below.
Since the container main use is to execute CLI commands the scripts folder contains some wrapper scripts to execute the CLI commands from outside the container, to execute the noise-extractor command type the command:
bash
./scripts/docker-noise-extractor.py -h
noise-extractor
Once installed you can run the package using the command from the poetry shell[^1]
```bash
noise-extractor -h
or poetry run noise-extractor -h if you are not in the poetry shell
This will output the help message:
bash
usage: noise-extractor [-h] -i INPUT -d DESTINATIONDIR -l MINSILENCE_LEN [-q]
A tool to extract noise from sound files
options: -h, --help show this help message and exit -i INPUT, --input INPUT Specify a single file or a folder containing audio files as input -d DESTINATIONDIR, --destination-dir DESTINATIONDIR Where to put file chunks -l SILENCELEN, --silence-len SILENCELEN The duration in milliseconds of silence to detect -q, --quiet Display less output (errors only) ```
noise-classifier
```bash noise-classifier -h
or poetry run noise-classifier -h if you are not in the poetry shell
```
audio-analyser
```bash audio-analyser -h
or poetry run audio-analyser -h if you are not in the poetry shell
```
Docs
A more detailed documentation can be found in the docs folder. This docs can be rendered to HTML or PDF using sphinx. To read the docs in HTML format type the command make docs from the root folder, it will open the system browser on the generated documentation, while make docs-pdf will do the same as make docs but generates a pdf otput. Otherwise you can run the Makefile in the docs folder and type make html or make latexpdf to generate the documentation in PDF format (make help will output a list of all possible formats), the generated files will be in the docs/build folder.
The first time you run the make docs command it will take a while to generate the documentation, because it generates the images and code examples by executing some python scripts, but after the first rendering it will be much faster.
Notebooks
To execute the notebooks you can open them in your favourite way (using conda or similar environments) or install the notebooks dependencies and run them using jupyter from the poetry virtual environment. To install the notebooks dependencies type the command:
bash
make install-notebooks
Then you can run the notebooks using the command:
bash
poetry run jupyter notebook ./notebooks
[^1]: If you are not familiar with poetry, you can find more information here.
Owner
- Name: Matteo
- Login: matteospanio
- Kind: user
- Location: Padua, Italy
- Company: CSC @ Unipd
- Website: matteospanio.github.io
- Repositories: 62
- Profile: https://github.com/matteospanio
Ph.D. student @CSCPadova. I'm a linux and python lover. I also have a conservatory degree in clarinet.
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
date-released: 2023-11-22
authors:
- family-names: "Spanio"
given-names: "Matteo"
title: "mpai-audio-analyser"
version: v0.1.1
url: "https://github.com/matteospanio/mpai-audio-analyser"
preferred-citation:
type: unpublished
title: "A study on Equalization Curve Detection in Audio Tape Digitization process using Artificial Intelligence"
year: 2023
month: 3
doi: 10.13140/RG.2.2.36838.50247
url: https://doi.org/10.13140/rg.2.2.36838.50247
authors:
- family-names: "Spanio"
given-names: "Matteo"
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 4 days
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 1
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
Pull Request Authors
- imgbot[bot] (1)