Skip to content

dmichael/ruby-fmod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FMOD for Ruby

ruby-fmod wraps the excellent FMOD C/C++ libraries using the equally excellent FFI.

It is far from finished, but all the basic techniques for interfacing Ruby with the FMOD library are outlined. If you want to contribute to this project, please get in touch.

FMOD?

"FMOD is a programming library and toolkit for the creation and playback of interactive audio. It supports all leading operating systems and game platforms." And now Ruby too. FMOD supports all sorts of audio file playback, surround sound and multichannel, as well as effects, VST plugins, 3D sound, and wavetable synthesis.

FMOD is not free, nor is it open source, but it does have a very liberal license. While commercial use is quite expensive, it is free to use in your non-commercial projects.

Installation

To use this Ruby library, you must have the FMOD on you machine. Go get it. At the moment, only Mac OS X is supported, but adding Linux or Windows is likely as easy as pointing to the library locations.

That being said:

gem install ruby-fmod

Usage

FMOD.init sound = FMOD::Sound.new(file) sound.play

About

Ruby wrappers for FMOD using FFI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages