Welcome to the MP3 Loop repository! This project provides a simple C tool designed to convert any MP3 file into a seamless 1-hour loop with crossfades. Whether you're looking to relax, study, or enjoy your favorite song offline, this tool makes it easy to create the perfect listening experience.
- Seamless Looping: Transform any MP3 into a smooth 1-hour loop.
- Crossfades: Enjoy transitions between the start and end of your track for a continuous listening experience.
- Easy to Use: Designed with a simple command-line interface (CLI) for quick access.
- C Language: Built in C for efficiency and performance.
- Open Source: Free to use and modify as per your needs.
To get started, you need to download the latest release of MP3 Loop. You can find it here. Look for the appropriate file to download and execute it on your system.
Make sure you have the following installed:
- LAME: A high-quality MP3 encoder.
- MPG123: A command-line MP3 player.
You can install these tools using your package manager. For example, on Ubuntu, run:
sudo apt-get install lame mpg123
If you prefer to build the tool from source, follow these steps:
-
Clone the repository:
git clone https://github.com/LjubeC-dev/mp3-loop.git
-
Navigate to the directory:
cd mp3-loop
-
Compile the code:
make
-
After building, you can find the executable in the
bin
directory.
Once you have installed MP3 Loop, you can start creating loops. The basic command structure is as follows:
mp3-loop <input_file.mp3> <output_file.mp3>
To create a 1-hour loop from my_song.mp3
and save it as my_song_loop.mp3
, run:
mp3-loop my_song.mp3 my_song_loop.mp3
This command will process the input file and generate a seamless loop.
-h
,--help
: Display help information.-v
,--version
: Show the version of the tool.
We welcome contributions! If you want to improve MP3 Loop, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes.
- Commit your changes with a clear message.
- Push to your forked repository.
- Create a pull request.
Your contributions help make this tool better for everyone.
MP3 Loop is licensed under the MIT License. See the LICENSE file for more details.
- Thanks to the creators of LAME and MPG123 for their incredible tools that make this project possible.
- Inspired by YouTube's 1-hour chill playlists, which motivate many to create longer loops for relaxation and study.
For more information and updates, please visit the Releases section.
We hope you enjoy using MP3 Loop! If you have any questions or feedback, feel free to reach out. Happy looping!