Skip to content

verkaro/flamp3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

flamp3

Convert FLAC files to MP3 in batch, with adjustable LAME quality
A companion Go utility using a shell pipeline (flac -c -d | lame).


Features

  • Selective: only processes .flac files
  • Recursive mode (-recursive) preserves directory structure
  • Skip existing MP3s to avoid re-encoding
  • Adjustable LAME VBR quality (-quality, 0=best → 9=worst)

Requirements


Installation

git clone https://github.com/verkaro/flamp3.git
cd flamp3
go build -o flamp3 main.go

Usage

# Single FLAC to MP3 at default quality (6)
./flamp3 -out mp3s album.flac

# Convert entire folder to high quality MP3s
./flamp3 -out mp3s -recursive -quality 2 ~/music_library

Flags:

  • -out — Output root directory (creates it if needed)
  • -recursive — Recurse into input directories
  • -quality — LAME VBR level (0=best, 9=worst; default 6)

Contributing

Please open issues for feature requests or bugs. PRs should include tests and follow Go style.


License

MIT License


Credits

  • Utility designed and iteratively refined with support from ChatGPT.
  • Audio conversion powered by flac and lame.

About

Simple flac to mp3 converter that generates files only if they didn't previously exist.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages