Results 1 to 3 of 3

Thread: What can I use with PlaySound?

  1. #1
    Join Date
    Jan 2007
    Location
    Tennessee
    Posts
    642
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default What can I use with PlaySound?

    I trying to use the procedure PlaySound for something I'm working on.
    This is one that works-
    SCAR Code:
    PlaySound('C:\WINDOWS\Media\tada.wav');
    But I need to make it play a song rather than a noise.
    I tried just putting it in like this-
    SCAR Code:
    'C:\Documents and Settings\Desktop\song.mp3'
    But I think it has to be a .wav instead of .mp3.
    So I converted it to-
    SCAR Code:
    'C:\Documents and Settings\Desktop\song.wav'
    And still doesn't work.
    When I right click on the file and look at its properties it is recognized as a .wav.
    But maybe it has to be a real .wav? And not an mp3 turned into one?

  2. #2
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It does have to be a real .wav. Download a file converter and that should fix your problem.

  3. #3
    Join Date
    Jan 2007
    Location
    Tennessee
    Posts
    642
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Cool it works, I totally forgot I have a file converter already.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help with PlaySound.
    By Jason2gs in forum OSR Help
    Replies: 3
    Last Post: 03-09-2007, 11:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •