# Sounds in ruby

**URL:** <https://www.ruby-forum.com/t/sounds-in-ruby/70645>\
**Category:** Ruby\
**Created:** [December 17, 2005, 6:08am UTC](https://www.ruby-forum.com/t/sounds-in-ruby/70645 "2005-12-17T06:08:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![soxinbox](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e56c9b/32.png) [@soxinbox](https://www.ruby-forum.com/u/soxinbox)\
**Post date:** [December 17, 2005, 6:08am UTC](https://www.ruby-forum.com/t/sounds-in-ruby/70645/1 "2005-12-17T06:08:32Z")

</div>

I’ve done a cursory search, but could find little support for sounds in  
ruby. Is there some sound generating library that I have somehow missed.  
Has  
anyone started work on this?  
I would like to add the ability to play some type of sound file from a  
ruby  
program. It would be cool to be platform independent, or at least run on  
mac/linux/win32.  
Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![soxinbox](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e56c9b/32.png) [@soxinbox](https://www.ruby-forum.com/u/soxinbox)\
**Post date:** [December 17, 2005, 6:23am UTC](https://www.ruby-forum.com/t/sounds-in-ruby/70645/2 "2005-12-17T06:23:33Z")

</div>

Hi.

Here you can find windows library for playing sounds  
[http://rubyforge.org/projects/win32utils/](http://rubyforge.org/projects/win32utils/) see win32-sound

---

<div class="post-metadata">

**Author:** ![soxinbox](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e56c9b/32.png) [@soxinbox](https://www.ruby-forum.com/u/soxinbox)\
**Post date:** [December 17, 2005, 6:26am UTC](https://www.ruby-forum.com/t/sounds-in-ruby/70645/3 "2005-12-17T06:26:34Z")

</div>

The SDL (Simple Direct Layer) libraries might be useful, especially if  
you want cross-platform support. There are a couple different bindings,  
one is here:

> **[RUDL, Ruby and SDL](https://sourceforge.net/projects/rudl/)**
>
> Download RUDL, Ruby and SDL for free. RUDL interfaces the Simple Directmedia Library to the Ruby language, giving it high speed graphics, sound, and input capabilities. Its model focuses on looking like other Ruby libraries, instead of directly...

-Justin
