Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gnai/Audio-Chunking-Tool
An audio tool using pydubs library with python to chunk your audio content into your desired length, and parameters to tune.
https://github.com/gnai/Audio-Chunking-Tool
Last synced: 3 months ago
JSON representation
An audio tool using pydubs library with python to chunk your audio content into your desired length, and parameters to tune.
- Host: GitHub
- URL: https://github.com/gnai/Audio-Chunking-Tool
- Owner: gnai
- License: mit
- Created: 2020-05-14T08:24:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-23T15:08:03.000Z (over 3 years ago)
- Last Synced: 2024-06-28T07:32:03.698Z (5 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.md
Awesome Lists containing this project
README
# Audio Chunking Tool
An audio tool using pydubs library with python to chunk your audio content into your desired length, with more flags to add.Example:
`python3 mp3_chunk.py --path --boc-path --chunk-length-sec --flat-folders --discard-chunks`
`--path` flag points out the directory where your audio files are, if they are structured in a way or another in subdirectories the script will keep the same structure of subdirs with the chunks of each track name in it.
`--boc-path` target destination of chunks.
`--chunk-length-sec` an integer representing the desired chunk length in seconds.
`--flat folders` setting this value in the flags would dump all the chunks in one folder without the need to restructure the target dir as it is coming from the source dir, if not needed leave blank.
Example:
`python3 mp3_chunk.py --path --boc-path --chunk-length-sec --discard-chunks`
`--discard-chunks` fkag will discard all the files that are smaller than the specified chunk length, if not needed leave blank.
Example:
`python3 mp3_chunk.py --path --boc-path --chunk-length-sec `