AudioMorpher is a command-line tool written in Rust for converting audio files in m4a format to mp3 format. It supports specifying input and output directories and provides a progress bar to show the conversion progress. After the conversion is completed, the program will prompt the user to check the files in the output directory.
- Ensure that your system has the Rust compiler installed. If not, visit Rust official website and download and install the Rust toolchain according to your operating system.
- Clone the AudioMorpher project locally and enter the project directory.
- In the command line, run
cargo build --releaseto compile the project. After successful compilation, an executable file namedaudiomorpherwill be generated in thetarget\releasedirectory.
- Batch conversion of files: If you need to convert all m4a files in a directory, you can enter in the command line:
audiomorpher input directory. AudioMorpher will automatically scan all m4a files in the specified directory and convert them to mp3 format. The output directory defaults to theoutputfolder in the current directory. - View help: If you need to view help information, you can enter in the command line:
audiomorpher -h, which will display the help information of the tool, including usage, options, and descriptions. - Example:
(base) ~/ audiomorpher "~/folder"
[00:00:10] [########################################] 21/21 (100%)
Conversion completed. Please open /Users/output to view the converted files.Welcome to contribute code or provide feedback. If you have any questions or suggestions, please submit an Issue on the GitHub project page or contact me by email. Welcome to contribute! Please follow these steps:
- Fork this project
- Create your feature branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/YourFeature) - Create a new Pull Request
This project is licensed under the MIT license.
Copyright (c) 2024 All rights reserved.