Results 1 to 5 of 5

Thread: WAV Files.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2005
    Posts
    124

    Arrow WAV Files.

    Long time I haven't been in this place. Anyway, now I need some help.

    My problem is that I would like to play multiple WAV files at once. How would I be able to do this? Any help appreciated
    I never know what to put in this section...



    So sue me... ... ... I'm just kidding...


    www.fat-pie.com Flash Movies... You gotta see 'em to believe 'em!

  2. #2
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: WAV Files.

    You could either use the API's in the WAVEMIX32 dll, or DirectSound. Which do you want to use and I'll provide code. You're gonna have to convert the VB6 code to .NET for the WAVEMIX32 stuff, but it should be easy. DirectSound I have a link.

  3. #3
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: WAV Files.

    Here's the DirectX9c SDK, which contains many code samples in 3 different programming languages. They even have many DirectSound examples that should help
    get you going.

    http://www.microsoft.com/downloads/d...DisplayLang=en

    And here's a WAVEMIX32 example I done a very long time ago. It needs to be converted to .NET though, but can be done with no trouble. Wavemix32.dll is included. Be sure to put that in your Windows/System32 directory.
    Attached Files Attached Files

  4. #4
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: WAV Files.

    Depends what language you are using, if its VB6 then you can use the API to play several asynchronous sounds.

    .Net 2.0 has built-in sound support.
    I don't live here any more.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Mar 2005
    Posts
    124

    Re: WAV Files.

    I am working in VB.NET (I wouldn't think it would be that hard to realise... /me points at the picture in his sig :P) Unfortunately, since this is a project, I can't use files like that WaveMix DLL since I can't place it into a WINDOWS directory (Security issues at school). I'm kind of thinking about using DirectSound, but I don't want to download that SDK (Unnecessary stress which I don't need).

    What I want to do is really have a MIDI playing in the background, while up to two other WAVs can be played on top of that. Thanks for the attempts though.
    I never know what to put in this section...



    So sue me... ... ... I'm just kidding...


    www.fat-pie.com Flash Movies... You gotta see 'em to believe 'em!

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