PDA

Click to See Complete Forum and Search --> : My Sound Stinks!


joey o.
Jul 5th, 2001, 07:48 PM
Hi

A while back I got a MMWave.ocx to play wavefiles after trying tons of do-it-yourself code snipets. Now this one doesn't seem to be handling the load. I'm getting "access violations" all over the place now that I'm using more API calls (I think this is the problem) for my graphics program and lots more sounds. They only show up when the program closes(over 90 generated in 5 minutes!).

I'm hoping someone out there either knows what's wrong with this no-longer-supported OCX or is very generous 'cause I'm very poor! This is what I need: An activeX that can play more than two sounds at the same time loaded on the fly fired by separate actions in separate modules at any time. The sounds must play without interfering with active processing and drawing on the screen too. Does this exist?

Thank You
Joey O

MidgetsBro
Jul 6th, 2001, 02:31 AM
I'm not a game programmer, but I would think you might want to look into DirectX, more specifically, DirectSound. In games that use directX, there are more than one sound playing at the same time, so you can do it too.

kedaman
Jul 6th, 2001, 04:33 PM
It's called audiopaths:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dx8_c/hh/dx8_c/audio_using_8shb.asp

denniswrenn
Jul 6th, 2001, 04:42 PM
You might want to look into DirectMusic as well, it lets you play background music that is stored as MIDI's, it also lets you create dynamic music.... *wow*

kedaman
Jul 7th, 2001, 09:50 AM
Yeah that's one cool thing, you could write your own mod tracker ;)