Digital Audio in Windows Vista

by Sandra Rouane.

Share
|
Homepage | Submit your article | Contact | TOS
More articles on windows  

You are here: Categories » Computers and technology » Windows

The reputation Windows has as an audio playback and editing platform has been, not to put too fine a point on it, abysmal. There have been some improvements over the years. For example, the early audio infrastructure (often called the audio stack) seen in Windows 3.1 (16-bit) and Windows 95 (32-bit) supported only one audio stream at a time, but Windows 98 enabled multiple playback streams using the Windows Driver Model architecture. However, Windows audio has always suffered from three major problems:

  • A poor interface for controlling audio and for troubleshooting audio problems. Tools such as Volume Control, the Sound Recorder, and the Control Panel Sounds and Audio Devices icon had difficult interfaces and limited functionality, and clearly weren't geared for the day-to-day audio tasks that users face.

  • Poor quality playback and recording. The Windows audio stack has always been merely "good enough." That is, audio in Windowsparticularly playbackwas constructed to give the average user a reasonable level of quality. However, the default Windows audio had nowhere near the fidelity audiophiles and professional audio users require, so these users spent much of their time working around inherent audio limitations (or giving up on Windows altogether and moving to the Mac).

  • Poor reliability, to the point that audio glitches are one of main causes of system instability. The problem here has been that much of the audio stack code runs in the sensitive Windows kernel mode, where a buggy driver or process can bring down the entire system.

To address these problems, the Vista audio team completely rewrote the audio stack from the ground up. That's good news for both regular users and audiophiles because it means the Vista audio experience should be the best yet. Completely revamping the audio infrastructure was a big risk, but the aim was to solve the three previous problems. We'll have to wait and see if Microsoft accomplished this ambitious goal (not all the new audio features were available as I wrote this), but on paper, things look promising:

  • New tools for controlling the volume, recording sounds, and setting sound and audio device properties (discussed in the next three sections) offer a much improved user interface geared toward common user tasks and troubleshooting audio problems.

  • The new audio stack offers much higher sound quality.

  • Most audio code has been moved from kernel mode to user mode, which should greatly reduce audio-induced system instabilities.

Per-Application Volume Control

The Volume Control tool in previous versions of Windows is a good example of poor audio system design. When you opened Volume Control, you were presented with a series of volume sliders labeled Master, Wave, Line In, CD Player, Synthesizer, Aux, and more. For the average user, most of these labels were, at best, meaningless and, at worst, intimidating. What on earth does the Aux slider control? What's the deal with Line In? Most people ignored all the sliders except Master and just used that slider to control playback volume. However, that Master slider had problems of its own.

For example, suppose you're waiting for an important email message, so you set up Windows Mail to play a sound when an email message comes in. Suppose further that you're also using Windows Media Player to play music in the background. If you get a phone call, you want to turn down or mute the music. In previous versions of Windows, muting the music playback also meant muting other system sounds, including your email program's audio alerts. So while you're on the phone, there's a good chance that you'll miss that important message you've been waiting for.

The Windows Vista solution to this kind of program is called per-application volume control. This means that Vista gives you a volume control slider for every running program and process that is a dedicated sound application (such as Windows Media Player or Media Center) or is currently producing audio output. In our example, you'd have separate volume controls for Windows Media Player and Windows Mail. So when that phone call comes in, you can turn down or mute Windows Media Player while leaving the Windows Mail volume as is, so there's much less chance that you'll miss that incoming message.

Note

When a program stops its audio output, the Volume Control tool removes the program's slider from the application mixer. However, Volume Control waits for a short time before removing the program. Early versions of the application mixer kept icons onscreen for about a minute, which gave you enough time to set the level for programs that produce only occasional sounds (such as Windows Mail). However, more recent versions remove these icons after just a few seconds, which isn't very useful.


In the old Volume Control tool, when you adjusted the Master slider, the other volume sliders remained the same. In the Vista Volume Control tool, when you move the speaker volume slider, the program sliders move along with it. That's a nice touch, but what's even nicer is that the speaker volume slider preserves the relative volume levels of each program. So if you adjust the speaker volume to about half its current level, the sliders in the application mixer also adjust to about half of their current level.

Volume Control also remembers application settings between sessions. So if you mute Solitaire, for example, it will remain muted the next time you start the program.

The new volume control also supports metering, in which the current audio output is displayed graphically on each slider. This metering appears as a green wedge that grows taller and wider the louder the sound signal is. This is very useful for troubleshooting audio problems because it tells you whether a particular program is actually producing audio output. If you have no sound from a program, but you see the metering in program's volume slider, the problem lies outside of the program (for example, your speakers are turned down or unplugged).

Note

Many notebook computers come with volume controls that enable you to physically turn the computer's speaker volume up or down. Microsoft has talked about tying this physical volume control into the Volume Control program so that if you turn down the sound physically, the speaker volume slider would adjust accordingly. This extremely useful feature was not implemented as I write this, but hopefully it will appear in a later build of Windows Vista.

Sound Recorder

The Sound Recorder accessory first appeared in Windows 95 and has remained a part of Windows ever since. Unfortunately, the Sound Recorder in Windows XP is essentially the same program as the original version, which means the program's annoying limitations haven't changed, either:

  • You can save your recording only using the WAV file format.

  • You can record only up to 1 minute of sound.

Windows Vista comes with a completely new version of Sound Recorder that does away with these limitations. For example, you can save your recording using the Windows Media Audio (WMA) format, and there is no limit (other than available hard disk space) to the length of the recording.

Having no recording limit might sound dangerous, but the new Sound Recorder captures WMA audio at a bit rate of 96Kbps, or about 700KB for a 1-minute recording. Compare this to a 1-minute CD-quality recording using the old Sound Recorder, which could easily result in a 10MB file!

Click Start Recording to begin your recording; click Stop Recording when you're done. Sound Recorder displays the Save As dialog box so that you can choose the file location, name, and format.

Audio Devices and Sound Themes

The Windows Vista replacement for the Control Panel Sound and Audio Devices icon is Audio Devices and Sound Themes (in the Control Panel, select Hardware and Sound, Audio Devices and Sound Themes).

The Audio Devices tab shows the playback and recording devices on your system. The first thing to notice is that you now have a visual reminder of the default devices for playback and recording in the form of a green checkmark icon. The checkmark means that the device is the default for all uses. However, you can also designate a device as the default for specific uses. If you right-click a device and then click Set as Default For, you get a list that includes All Uses, General Usage, Music and Movies, and Speech and Communications. (Here, "General Usage" means any use that doesn't involve movies, music, speech, and communications.)

Windows Vista also implements a more extensive collection of properties for each device. Double-clicking a device displays a property sheet. The properties you see depend on the device. Here's a summary of the tabs you see when you open the default playback device (although note that not all audio playback devices support all of these tabs):

  • General Change the name and icon for the device.

  • Configuration Specify your speaker setup (Stereo, Quadraphonic, 5.1, and so on), and then test and balance your speakers.

  • Tone Set the bass and treble balances.

  • Other Configure the device for digital output only.

  • Mixer Set the volume levels.

  • Format Set the default playback format and latency.

Leave a comment or ask a question
Total comments: 0

Windows Disclaimer

  • The e-articles directory is not responsible for any and all copyright infringements by writers and authors. If you suspect the information contained by this page for any copyright infringements, please contact us to investigate the issue
Windows7 Action Center - Windows Action Center is an improved version of Vista's Security Center. The action center alerts you to problems with your PC and lets you know how you can resolve them. Notifications are delivere (more...)
Enhance SATA Disk Performance in Windows7 - You can improve the performance of your SATA hard drive by enhancing write caching. If you are not sure whether or not you have an SATA drive in your computer, please check with your manufa (more...)
Speed up Your External Hard Drives in Windows7 - The default setting in Windows 7 disables write caching for external drives. This is done so that you can remove an external drive at any time without data loss. If you are willing to eject your dr (more...)
Use Windows7 ReadyBoost to Speed up Programs - Using Windows ReadyBoost is a great way to improve the performance of your computer when doing your day-to-day tasks. What is ReadyBoost? ReadyBoost uses a USB thu (more...)
Make Windows7 Shut Down Faster - As you install programs on your computer, it slows down-we all know that. However, what you may not know is that the programs install services. Windows is "kind" enough to patiently wait for these (more...)
Activate Hidden Regional Themes in Windows7 - Windows 7 is a worldwide operating system and Microsoft made a really good move by adding regional wallpapers into the operating system. When you choose your region settings, the appropriate theme (more...)
Windows7 :: Save Your Settings as a Theme - When you are satisfied with the appearance of your windows desktop, you can save the settings as a theme. A theme incorporates the following settings: • Color and appea (more...)
Windows 7 Set Views for all Folders - Windows 7 does a pretty good job at analyzing the content of a folder to determine how it should display the files. 98% of the time I want to see the details of the files and I don't care for thumb (more...)
Customize Folder Icons in Windows 7 - In this tutorial, you'll learn how to customize your folder icons in Windows 7. To change your folder icons: 1. Right click on the folder you want to customize the i (more...)
Windows 7 :: Sync System Clock with Internet Time - Just as in Vista, you can synchronize your clock with an internet-based server in Windows 7. This will ensure that your computer date and time is always correct. Having the correct time is essentia (more...)

 
free content
    Copyright © 2006 - 2012 e-articles.info.
The texts, articles and tutorials in the directory are property of their respective owners and authors.