making sounds in vb express  
Author Message
vb_newby





PostPosted: Visual Basic Express Edition, making sounds in vb express Top


making custom sounds

I'd like to make simple custom sounds and generate them within the program -- similar to the old "play /frequency/duration" in dos basic.

All of the references that I find talk about playing various external sounds -- I'm afraid that these would be too slow and uncontrolled.

Thanks!




Visual Studio Express Editions36  
 
 
ReneeC





PostPosted: Visual Basic Express Edition, making sounds in vb express Top

Try

Console.Beep(frequency, duration)

where frequency and duration are integers.