🧶 CatFlac
CatFlac is a simple tool for splitting large audio files. It's currently in its initial stage - functional, but probably needs some improvements.
Current Skills
- CUE Support: Handles basic external and embedded CUE sheets.
-
Experimental AI: A curious attempt at track identification (requires
AI_API_KEY).
🐾 Getting Started
First of all you need to install ffmpeg on your system.
sudo apt install ffmpegThen install the gem:
gem install CatFlacOr add this to your application's Gemfile:
gem 'CatFlac'Then run:
bundle installAnd if you use rbenv:
rbenv rehashUsage
Using CatFlac is pretty straightforward.
Command Line Interface
Just point CatFlac to a folder containing your audio files:
catflac cat /path/to/your/music_folderRuby API
Integrating CatFlac into your project:
require 'CatFlac'
CatFlac.cat!('/path/to/your/music_folder')Experimental AI Mode
If you don't have a CUE sheet, you can try letting CatFlac guess the tracks. To do so, set perplexity api key as an environment variable:
export AI_API_KEY='api_key_here'
catflac cat /path/to/mysterious_albumContributing
Bug reports and pull requests are welcome on GitHub at https://github.com/lxndr128/CatFlac
License
This gem is available as open source under the terms of the MIT License.
