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
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
Richard Lyman wrote:
···
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
Richard Lyman wrote:
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
jgb3@email.byu.edu
http://www.jamisbuck.org/jamis
"I use octal until I get to 8, and then I switch to decimal."
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.
···
On Sun, 29 Aug 2004 05:50:58 +0900, Richard Lyman <lymans@gmail.com> wrote:
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
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.)
Jamis Buck wrote:
···
Richard Lyman wrote:
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
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
···
On Sun, 29 Aug 2004 07:04:36 +0900, Carl Youngblood <carl.youngblood@gmail.com> wrote:
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.
Brian Palmer wrote:
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)

- Jamis
···
Jamis Buck wrote:
Richard Lyman wrote:
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
jgb3@email.byu.edu
http://www.jamisbuck.org/jamis
"I use octal until I get to 8, and then I switch to decimal."
Richard Lyman <lymans@gmail.com> writes:
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.