How to load/play an audio file?

HI Folks,

I’ve been trying to decipher the Java-to-Jruby for playing a sound file.
Yes, I’ve read CallingJavaFromJRuby · jruby/jruby Wiki · GitHub
I’m also looking at

Could one of you “in the know” show me how to use SourceDataLine/Clip
JMF to load and play a sound file?

Peter F.
(847) 859-9550
Email: [email protected]
IM GTalk: peter.fitzgibbons
IM AOL: [email protected]

Here’s an example from Peter C.'s JRuby port of Markus Persson’s
“Prelude of the Chambered”:

Does that help? Maybe it’s worth a wiki page somewhere…

  • Charlie

On Tue, Feb 14, 2012 at 4:01 AM, Peter F.

Is how I do it.