Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby sound playback

Tags:

ruby

audio

This is 2009, back in 2001 or so, there used to be no good bindings for sound playback in ruby.

Has there been a change? I am looking for something to control playback of either raw sound or mp3, ogg and flac. My Googling has turned up dry.

Edit: Linux, OSX and if possible Windows.

like image 700
Adam Luter Avatar asked Apr 16 '09 12:04

Adam Luter


1 Answers

You don't mention a platform. This page describes the win32-sound library, which seems to support at least WAV playback.

For a more platform-neutral way, Ruby/SDL provides bindings for the ever-popular SDL library.

like image 59
unwind Avatar answered Nov 09 '22 23:11

unwind