windows sound

Discussion in 'Ruby' started by Ernest Ellingson, Aug 6, 2005.

  1. I'm stuggling a little bit with playing a large .wav file. It's a
    message from my VOIP provider. I received it through an email. It
    plays fine with Windows Media Player, but will not play with
    win32-sound. I've also tried using dl and both sndPlaySound and
    PlaySound in the winmm.dll. They don't play it either. All of the calls
    to win32-sound,sndPlaySound and PlaySound play simple wav files like
    tada.wav.

    Do you know of an interface to the Media Player? Or how Sound can be
    coerced to play a large file?

    Thanks in Advance

    Ernie
     
    Ernest Ellingson, Aug 6, 2005
    #1
    1. Advertising

  2. Ernest Ellingson

    Chris Pine Guest

    > Do you know of an interface to the Media Player? Or how Sound can be
    > coerced to play a large file?


    I'm not sure what you're ultimately trying to do, but when I want to
    control media playback from Ruby on windows, I usually use mplayer.=20
    It's easy, and mplayer has a ton of commandline options.

    But, like I said, I'm not really sure what you're trying to do...
     
    Chris Pine, Aug 8, 2005
    #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. YeeCN

    How to beep or play any sound?

    YeeCN, May 10, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    545
    Guest
    May 13, 2004
  2. Luc The Perverse

    Sound Quality In Sound API

    Luc The Perverse, Oct 30, 2005, in forum: Java
    Replies:
    4
    Views:
    1,489
    Andrew Thompson
    Oct 31, 2005
  3. Replies:
    0
    Views:
    507
  4. Askari
    Replies:
    1
    Views:
    357
    Peter Hansen
    Feb 9, 2004
  5. =?ISO-8859-1?Q?Jorg_R=F8dsj=F8?=

    recording sound from mic in Windows?

    =?ISO-8859-1?Q?Jorg_R=F8dsj=F8?=, Apr 10, 2004, in forum: Python
    Replies:
    1
    Views:
    534
    Doug Holton
    Apr 10, 2004
Loading...

Share This Page