Sha256: a5534fe2d3f94dbfff34447d4a3d3a1d335f159e075ea82c3d97d16fbe234264

Contents?: true

Size: 1014 Bytes

Versions: 1

Compression:

Stored size: 1014 Bytes

Contents

Mpg321
===========

[![Build Status](https://travis-ci.org/RichardVickerstaff/mpg321.svg)](https://travis-ci.org/RichardVickerstaff/mpg321)
[![Gem Version](https://badge.fury.io/rb/mpg321.svg)](http://badge.fury.io/rb/mpg321)

A simple ruby wrapper around mpg321
-----------------------------------

Mpg321 is a wrapper for the [mpg321][mpg321] library in "Remote control" mode, which
allows to you play, pause, stop and control the volume of mp3 files from Ruby.

Installation
------------
Either:
  - Add `gem "mpg321"` to your Gemfile and run bundle install.

or

  - Run `gem install mpg321`

Usage
-----
Here's how you can easily play an mp3:

```ruby
require 'mpg321'

Mpg321.new.play('/some_path/song.mp3')
```

Play mutiple mp3 files:

```ruby
require 'mpg321'

Mpg321.new.play(['/some_path/song1.mp3', '/some_path/song2.mp3'])
```
Contributing
------------
  1. Make a fork
  2. Make your changes
  3. Push your changes to your fork
  4. Create a Pull Request

[mpg321]: http://linux.die.net/man/1/mpg321

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mpg321-0.0.3 README.md