This web site uses cookies. By using the site you accept the cookie policy.This message is for compliance with the UK ICO law.

<< Previous | 1 | Next >>
Controlling the Wave Device VolumeControlling the Wave Device Volume
The wave device volume determines how loudly sounds are played, either for the current application or for the entire operating system. This volume can be adjusted for the left and right channels independently using Windows API functions.
Basic Volume ControlBasic Volume Control
Microsoft Windows allows the system audio volume to be changed or muted with on-screen controls. This software control can be exploited in .NET applications to increase or decrease the volume or to mute the computer's sound altogether.
Speech RecognitionSpeech Recognition
The later versions of Microsoft Windows include a speech recognition engine called "Windows Desktop Speech". This engine is made available to .NET framework developers using the types defined in the System.Speech.Recognition namespace.
Playing WAV FilesPlaying WAV Files
A commonly used standard for high quality sound reproduction is the Waveform Audio File Format, with sound data usually stored in WAV files. The .NET framework provides the SoundPlayer class to allow simple playback of such files.
Using the Console SpeakerUsing the Console Speaker
Some .NET software, particularly console applications, are executed on computers that do not have sound cards. To provide feedback accompanied by sounds on such machines requires the use of the internal system speaker, or console speaker.
Simple Speech SynthesisSimple Speech Synthesis
When writing software that will be used by the visually impaired or for systems that have only an audio interface, it can be important to synthesise speech. The .NET framework includes standard classes that make this task simple to achieve.
Playing Windows System Sounds in .NET 2.0Playing Windows System Sounds in .NET 2.0
User feedback can often be enhanced with the use of audio. Microsoft Windows provides several sounds to indicate errors, questions and other information with the sounds configured to the user's preference. These can be played using .NET 2.0 classes.
<< Previous | 1 | Next >>