What is the most efficient way ...

  • Thread starter Thread starter furytrader
  • Start date Start date
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.
 
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
 
Back
Top