mirror of
https://github.com/metafy-social/python-scripts.git
synced 2025-02-17 13:58:10 +00:00
add readme file
This commit is contained in:
parent
180cf67672
commit
2e2ecefe9e
28
scripts/AudioConverter/README.md
Normal file
28
scripts/AudioConverter/README.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Audio Converter
|
||||||
|
|
||||||
|
CLI tool to convert an audio file from one extension to another (e.g. mp3 to wav)
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
- [FFmpeg](https://ffmpeg.org/)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
### Convert all audio files in a specific directory
|
||||||
|
```bash
|
||||||
|
python3 audio-converter.py -p <YOUR-PATH-WAS-HERE> -e <THE-DESIRED-EXTENSION>
|
||||||
|
```
|
||||||
|
|
||||||
|
e.g.
|
||||||
|
```bash
|
||||||
|
python3 audio-converter.py -p /home/username/Music -e .wav
|
||||||
|
```
|
||||||
|
|
||||||
|
### Convert specific audio file
|
||||||
|
```bash
|
||||||
|
python3 audio-converter.py -p <YOUR-PATH-WAS-HERE> -e <THE-DESIRED-EXTENSION>
|
||||||
|
```
|
||||||
|
|
||||||
|
e.g.
|
||||||
|
```bash
|
||||||
|
python3 audio-converter.py -p /home/username/Music/test.mp3 -e .wav
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user