On 12/12/2010 02:30 AM, Terry Michaels wrote:
> I want to play around with writing Ruby scripts that generate electronic
> music. That is, my program generates tones, waves, beats, et cetera, and
> sends them to the sound device.
>
> I've played around for an hour or two on my Linux box, generating 8-bit
> waves and shunting them to /dev/dsp. This is fun, but is there a Ruby
> project that already has the notes and effects and so forth? My google
> searches didn't turn up anything.
>
> Only Linux compatibility is required. ALSA is my main audio system, with
> the OSS compatibility device available.
>
>    
You could try bloopsaphone: https://github.com/mental/bloopsaphone

A quick search on github might find related/better stuff.

-Justin