Project

r2mp3

0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
Some audio files format to mp3
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
>= 0
 Project Readme

R2mp3

Simple audio files to mp3 library using ffmpeg and getting mp3 information.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add r2mp3

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install r2mp3

Usage

require "r2mp3"

converter = R2mp3::Converter.new(input_file: "./in.wav", output_file: "./out.mp3", bitrate: 320)
converter.run!

mp3 = R2mp3::Inspector.new(file: "out.mp3")
puts mp3.info

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/zdk/r2mp3. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the R2mp3 project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.