Mp3 files ubuntu

Discussion in 'Ruby' started by Martin A., Nov 13, 2010.

  1. Martin A.

    Martin A. Guest

    I am new to ruby, and i want to write a small text based games with some
    sound effects. i have read about the win32-sound gem, but I have Ubuntu
    (10.10) is there any way to play mp3/midi files in ubuntu without
    starting a external player as vlc or such?

    --
    Posted via http://www.ruby-forum.com/.
    Martin A., Nov 13, 2010
    #1
    1. Advertising

  2. On Sat, Nov 13, 2010 at 12:52 PM, Martin A. <> wrote:
    > I am new to ruby, and i want to write a small text based games with some
    > sound effects. i have read about the win32-sound gem, but I have Ubuntu
    > (10.10) is there any way to play mp3/midi files in ubuntu without
    > starting a external player as vlc or such?


    IIRC, GNOME uses GStreamer for Audio/Video, so take a look here:
    http://savannah.nongnu.org/projects/ruby-gst/

    Note that this will work only for systems where GStreamer is installed
    (in true Linux fashion, pretty every window manager reinvents the
    wheel from (almost) scratch, alas).

    Another option, a bit less WM dependent is SDL. So take a look at
    http://www.kmc.gr.jp/~ohai/rubysdl.en.html

    --
    Phillip Gawlowski

    Though the folk I have met,
    (Ah, how soon!) they forget
    When I've moved on to some other place,
    There may be one or two,
    When I've played and passed through,
    Who'll remember my song or my face.
    Phillip Gawlowski, Nov 13, 2010
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Richard Brookes

    Using httpHandlers to allows access to mp3 files

    Richard Brookes, Jul 9, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    393
    Richard Brookes
    Jul 9, 2003
  2. Daniel Dyer
    Replies:
    6
    Views:
    19,813
    Knute Johnson
    Jan 22, 2006
  3. Asle Frantzen

    Mp3-player - how to play an mp3?

    Asle Frantzen, Jul 8, 2003, in forum: C++
    Replies:
    5
    Views:
    659
    Kelsey Bjarnason
    Jul 22, 2003
  4. SPE - Stani's Python Editor
    Replies:
    1
    Views:
    441
    SPE - Stani's Python Editor
    Apr 29, 2008
  5. HY Tech
    Replies:
    0
    Views:
    608
    HY Tech
    Sep 7, 2003
Loading...

Share This Page