Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Audio   (RSS)
There's an MSDN sample of how to turn on HDCP or SCMS in a playback app. The sample is loosely based on a test app I wrote, but there are still some rough edges. For example, the CMFAttributeImpl<T> template is not part of the SDK or the DDK. Also, Read More...
Last time I talked about how to calculate a sine sweep mathematically. There's a closed-form solution which is quite elegant but, alas, useless in a practical computer implementation due to the very bug numbers that are being fed to the sin(...) function. A computer implementation will care only about the discrete samples that need to be generated. The integral in the previous post turns out to be counterproductive - we're much more interested in the infinite sequence of φi, and more particularly in their residue mod 2π. Read More...
Suppose you want to generate a continuous sine-sweep from time tstart to time tend. You want the starting frequency to be ωstart, and the ending frequency to be ωend; you want the sweep to be logarithmic, so that octaves are swept out in equal times. Read More...
I describe the Windows 7 hdaudio.sys mixed capture presence detection bug. Read More...
In a recent post I sung the praises of square waves as a way to get a heckuva lot of power (3 dB more power than a sine wave) into a sample-range-limited signal. It's time to take them down a notch now. A problem with square waves is they're impossible Read More...
A full-scale sine wave has an intensity of -3 dB FS. Read More...
Sample WASAPI exclusive-mode event-driven playback app, including the HD Audio alignment dance and a version of the ac3.wav test tone with a "fact" chunk Read More...
Sample app that records what you hear using WASAPI loopback capture. Read More...
WASAPI event-driven (pull-mode) sample for rendering silence Read More...
When it comes to your default audio device, sometimes the Sound control panel wants to go back... /to the future!/ Read More...
Windows has a customizable soundtrack - but if the "Exit Windows" sound is too long, it won't play. How long is too long? Read More...
vbBretty on the audio forums asked how to tell if a given audio output and a given audio input were on the same physical audio card. Read More...
I found a simple but nasty bug the other day in this implementation of the IMFOutputSchema interface. The symptoms: running this code outside of a debugger caused the app to crash. Running it under a debugger (to catch the crash) caused the app to run clean. Read More...
In a previous post I posed several mathematical problems... I'd like to go back and give some answers to them. To reiterate, we take a sine wave period and wrap it around a cylinder... Read More...
Do the first exercise above - print out the original image, cut it out along the lines, and make a cylinder by connecting the short ends together. Rotate the cylinder through various orientations, paying particular attention to the location of the sine wave at all times. Read More...
More Posts Next page »
 
Page view tracker