FMODAudioPlayer

FMODAudioPlayer is a simple audio player based on FMOD.

Installation

Add this line to your application's Gemfile:

gem 'fmod_audioplayer'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fmod_audioplayer

Usage

require 'fmod_audioplayer'
sound = FMODAudioPlayer::SoundPlayer.new
sound.play('example.mp3')
sound.toggle
sound.toggle
sound.song_length
sound.position
sound.stop
sound.play('http://example.com/example.mp3')

Contributing

  1. Fork it ( https://github.com/[my-github-username]/fmod_audioplayer/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request