What is the most efficient way ...

F

furytrader

Does anyone know an efficient way to generate sound tones in Visual
Basic 2005/2008 so that I can specify:

- Pitch
- Duration
- Volume

.... which uses the computer's soundcard (not the motherboard
speaker).?

From what I've seen, DirectX may be the only solution but even that
seems extremely cumbersome. I'm amazed that Visual Basic doesn't have
an easy way to do this. It was a lot easier on my Apple //c!

Thanks for any suggestions.
 
K

kimiraikkonen

Does anyone know an efficient way to generate sound tones in Visual
Basic 2005/2008 so that I can specify:

- Pitch
- Duration
- Volume

... which uses the computer's soundcard (not the motherboard
speaker).?

From what I've seen, DirectX may be the only solution but even that
seems extremely cumbersome. I'm amazed that Visual Basic doesn't have
an easy way to do this. It was a lot easier on my Apple //c!

Thanks for any suggestions.

You can use Windows Media Player SDK, can be used by adding ActiveX
control to your toolbox from COM tab(wmp.dll). It allows you to see
media duration and volume adjustment.

Onur
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top