FMOD - for Ruby??

R

Richard Lyman

I am going to write an MP3 player 'in' Ruby, so...

I _really_, _really_ would love FMOD for Ruby (I'm assuming that's
what I want)... but here's the problem:

I have no knowledge of C or C++ (yet)...
-and-
I'd want it 'precompiled' for the one-click installer - win32 platform.

Is there anyone who already has this, or who could provide it?

Python has pyFMOD on Sourceforge (http://sourceforge.net/projects/uncassist/).
Maybe that'd make it easier for those who know Python as well...

Jamis - maybe you'd be willing to walk me through how to do this on my
own if there aren't any takers...

-Rich
 
B

Brian Palmer

Richard,

If you're not worried about cross-platform support, I've written a
simple wrapper around DirectShow, which will allow your ruby script to
play any audio (or video!) file that Windows Media Player can play with
1 line of code. I haven't released it because it was written purely for
another project of mine and as of yet there's no error-checking or
anything. If you (or anyone else) is interested in seeing this
finished, let me know, I could polish it up and put it on Rubyforge
pretty quick. Cheers.

- Brian Palmer
 
J

Jamis Buck

Richard said:
I am going to write an MP3 player 'in' Ruby, so...

I _really_, _really_ would love FMOD for Ruby (I'm assuming that's
what I want)... but here's the problem:

I have no knowledge of C or C++ (yet)...
-and-
I'd want it 'precompiled' for the one-click installer - win32 platform.

Is there anyone who already has this, or who could provide it?

Python has pyFMOD on Sourceforge (http://sourceforge.net/projects/uncassist/).
Maybe that'd make it easier for those who know Python as well...

Jamis - maybe you'd be willing to walk me through how to do this on my
own if there aren't any takers...

Well, I'm not very familiar with FMOD, but I have done C extensions for
Ruby. And since we're in the same Ruby Users Group here in Provo, I'd
certainly be the most conveniently-situated tutor for you. :) I'd be
happy to help.

Perhaps we could even turn it into a tutorial session for other
interested RUG members...

- Jamis

--
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis

"I use octal until I get to 8, and then I switch to decimal."
 
B

Brian Palmer

I retract my offer on the DirectShow extension--no way am I helping a
bunch of pansy BYU students. Go U of U!

-- Brian Palmer
(but seriously, the offer still stands. I'm just jealous we don't have
a Ruby User's Group up here in Salt Lake yet.)
 
C

Carl Youngblood

I'm not so sure that you want to use FMOD for your app. I looked into
it a while back for an audio editor that I was writing. From what its
creator told me at the time, FMOD doesn't have a way of buffering
audio files. It tries to read the whole file into memory, which is
fine for short loops used for video games or even for short songs, but
not for the long multi-gigabyte audio files I was working with.
Things may have changed since then, though.
 
J

Jamis Buck

Brian said:
I retract my offer on the DirectShow extension--no way am I helping a
bunch of pansy BYU students. Go U of U!

-- Brian Palmer
(but seriously, the offer still stands. I'm just jealous we don't have
a Ruby User's Group up here in Salt Lake yet.)

;) Just to show you that we here in Happy Valley are bigger than that
and above such petty intercollegiate hostilities, as Grand Poobah of the
BYU Ruby Users Group I hereby officially invite any and all U of U
Rubyists to attend our meetings... as soon as we start holding regular
meetings again... (summer kind of messed up our schedule)

:-D

- Jamis


--
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis

"I use octal until I get to 8, and then I switch to decimal."
 
R

Richard Lyman

That's good to know. I probably don't want it then... any suggestions
on replacements?

(I've heard of mpg123 and mpg321 - are they what I'm looking for?)

-Rich
 
M

Mikael Brockman

Richard Lyman said:
That's good to know. I probably don't want it then... any suggestions
on replacements?

(I've heard of mpg123 and mpg321 - are they what I'm looking for?)

Look at GStreamer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,408
Latest member
AlenaRay88

Latest Threads

Top