What is Sound programming ?
A sound programming is the area of the programming in which we deals with the sounds of the system.
Why we need sound programming ?
-In many application we need to put our sound at certain points to showing something to user.
-Sounds programming are almost use in every gaming programming. When we build a game then we want to put some sound in out game then sound programmig help us.
Is C language supports sound programming?
-Yes, C language also have that feature to deals with sound programming.
Which Header file we require to do this ?
-We require < dos.h> header file to do this,
-< dos.h> provides some functions that create and destroy the sound.
Which function we require to do that ?
Basically we require only three function to create sound, hold the sound,and destroy the sound.
: To create a sound
: To Hold the sound
: To destroy the sound
Is use of nosound() is mandetory ?
-If we do not use nosound() function then program do not give any kind of compiler and run time error.
-But if we do not use this function, then after program termination, sound wouldn't be off, it means it continue ON in the system until you shut down your computer.
using of nosound() function is a good idea.