Page 2 of 2 FirstFirst 12
Results 41 to 48 of 48

Thread: [RESOLVED] Is there something that acts and loops like sndPlaySOund, but can play .mp3 files?

  1. #41

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2009
    Location
    Missouri
    Posts
    770

    Re: Is there something that acts and loops like sndPlaySOund, but can play .mp3 files

    Hum...... It works with your sound, but not with my .mp3 music. =(
    Rate my post if i helped you!


    Button Configuration Control For VB6 GetAsyncKeyState
    I'm the 7th best high school programmer in the nation!(according to SkillsUSA Nationals)(Used C#.Net)

  2. #42
    PowerPoster
    Join Date
    Jun 2001
    Location
    Trafalgar, IN
    Posts
    4,141

    Re: Is there something that acts and loops like sndPlaySOund, but can play .mp3 files

    Do you want to post a copy of the file?

  3. #43

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2009
    Location
    Missouri
    Posts
    770

    Re: Is there something that acts and loops like sndPlaySOund, but can play .mp3 files

    werid... because when i attached them, it worked with Right, and Chr....
    Rate my post if i helped you!


    Button Configuration Control For VB6 GetAsyncKeyState
    I'm the 7th best high school programmer in the nation!(according to SkillsUSA Nationals)(Used C#.Net)

  4. #44

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2009
    Location
    Missouri
    Posts
    770

    Re: Is there something that acts and loops like sndPlaySOund, but can play .mp3 files

    oh. nvm. got it to work. xD now i just have to try it with my game.
    Rate my post if i helped you!


    Button Configuration Control For VB6 GetAsyncKeyState
    I'm the 7th best high school programmer in the nation!(according to SkillsUSA Nationals)(Used C#.Net)

  5. #45

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2009
    Location
    Missouri
    Posts
    770

    Re: Is there something that acts and loops like sndPlaySOund, but can play .mp3 files

    what does
    If InStr(MpegAudio, " ") > 0 Then
    MpegAudio = Chr(34) & MpegAudio & Chr(34)
    End If
    do? does it clip spaces on the end of the actual .mp3 file? or just the name?
    Rate my post if i helped you!


    Button Configuration Control For VB6 GetAsyncKeyState
    I'm the 7th best high school programmer in the nation!(according to SkillsUSA Nationals)(Used C#.Net)

  6. #46
    PowerPoster
    Join Date
    Jun 2001
    Location
    Trafalgar, IN
    Posts
    4,141

    Re: Is there something that acts and loops like sndPlaySOund, but can play .mp3 files

    That wraps the filename in double quotes if the filename contains spaces. It doesn't do any trimming.

  7. #47

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2009
    Location
    Missouri
    Posts
    770

    Re: Is there something that acts and loops like sndPlaySOund, but can play .mp3 files

    Okay. just making sure. =)
    Rate my post if i helped you!


    Button Configuration Control For VB6 GetAsyncKeyState
    I'm the 7th best high school programmer in the nation!(according to SkillsUSA Nationals)(Used C#.Net)

  8. #48

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2009
    Location
    Missouri
    Posts
    770

    Re: Is there something that acts and loops like sndPlaySOund, but can play .mp3 files

    WOW! It works! I am surprised! I looked at some of my music files with Audacity again, and it looks like there was some things at the end that were silent. And, what i was trying to do before was play it, then check if it was done playing, then play it again. XD I didn't know there was a repeat function. Thanks MarkT! You were a real help. =)
    Rate my post if i helped you!


    Button Configuration Control For VB6 GetAsyncKeyState
    I'm the 7th best high school programmer in the nation!(according to SkillsUSA Nationals)(Used C#.Net)

Page 2 of 2 FirstFirst 12

Posting Permissions

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



Click Here to Expand Forum to Full Width