audio

audio (tag?) info via cmd line or .NET?

I know formats such as mp3, ogg and flac have tags such as artist, album etc. I would like to extract that information if available. Right now i am using ffmpeg to conv the audio so a way to do it within ffmpeg is convenient but not required. My website is writing in C# ASP.NET. I dont mind parsing cmd line output or using a lib call. W...

Sampling audio levels with OpenAL

Is it possible to sample the audio playback volume in real-time with OpenAL? Specifically, I'm using OpenAL in the iPhone SDK. ...

Sound recording in .NET with some specific requirements

There are a ton of tutorials and blogs about recording sound from .NET. I have read and understand fundamentally the various options, but am not sure which approach will be the simplest while still meeting my requirements: Minimal Start and stop of recording controlled by a .NET program Record from default microphone to file Minimiz...

How to set default audio device programmaticaly on windows vista using C#

I want to select the default audio device on windows vista programmatically. I have a code which is working perfectly on windows XP, here is the registray entry.. HKCU/Software/Microsoft/Multimedia/Sound Mapper and under that key two entries are there PlayBack and Record when I set these registry entries on Windows XP, they wo...

Making a real-time audio application with software synthesizers

I'm looking into making some software that makes the keyboard function like a piano (e.g., the user presses the 'W' key and the speakers play a D note). I'll probably be using OpenAL. I understand the basics of digital audio, but playing real-time audio in response to key presses poses some problems I'm having trouble solving. Here is t...

Playing multiple audio streams (mux) in silverlight

Is it possible to play a multiple audio streams (mux) in silverlight (at best simultaneous)? I need to implement a player that can load and play multiple tracks from the server together. The user can mute then any tracks to hear them selectively. Do you know some existing commercial or free solutions? ...

Merge two Audio files in android

Hi Everyone, I am developing an application in which i need to merge and split audio recording. Can anyone give me a hint how to get it done in android? Does it require any external jar? Please help ...

OpenAL Real Time Audio Processing from Microphone

Hello. I would like to write a cross-platform application that can process and play back microphone data in real time. Imagine as a proof of concept a chat room where people can talk to each other and apply filters to their voices. Is OpenAL appropriate for this? If not, can someone provide an alternative? Additionally, if anyone ca...

flex how to control the audio volume of a video

i have something like this private var video:Video; ... private function init():void { ... nc = new NetConnection(); nc.connect(null); ns = new NetStream(nc); ns.play("my flv url"); ns.client = nsClient; video = new Video(); video.attac...

how can i use captcha and audio for human validation?

I need to validate human user by using captcha in PHP. Also the critical characters generated by captcha will be pronounced by an audio voice. Is it possible? If possible then how? ...

How to set the system loudness programmatically (on OSX and Windows)

Hi All, I want to manipulate the system loudness (the global volume, or whatever it is called) from within my program. This might seem ridiculous, but I need to do some measurements, so I am interested in not only attenuating the sound via an internal loudness, but also amplify it, which is only possible using the system loudness. Since...

Windows 7: Decoupling game sound and midi volume?

I am maintaining an OpenGL port of a computer game classic (Descent). It controls sound via SDL_mixer. On Windows 7 the following problem has appeared: Whenever the midi volume is changed, the overall sound volume changes as well. This was not the case on Windows XP. Is there a way to decouple the sound volume from the midi volume, be it...

Building better positional audio [AudioQueue manipulation]

Hey folks, I'm building an app that has a requirement for really accurate positional audio, down to the level of modelling inter-aural time difference (ITD), the slight delay difference between stereo channels that varies with a sound's position relative to a listener. Unfortunately, the iPhone's implementation of OpenAL doesn't have th...

Displaying left/right stereo activity while capturing audio from microphone (JAVA)?

I am trying to analyze the microphone input through Java so you can graphically display where the sound is coming from around the computer. I have audio capture code working well (from: http://www.developer.com/java/other/article.php/1565671#Complete%20Program%20Listings) and have tried to implement: (FloatControl) targetDataLine.getCon...

Push Notifications - sound not working?

I've got an iPhone app that I'm working on that uses Push Notifications. In the payload I'm specifying a few things: message body sound action-loc-key because I don't want the user to be able to launch the app from the notification The notification is getting to my iPhone just fine. It shows a message without buttons. So body and ...

iPhone- Can 2-channel audio podcast files output to mono bluetooth earpiece?

iPhone 3G using OS 3.1. Can iPhone be enabled to play audio podcasts via a one-ear bluetooth headset (terminology issue- headsets mean both one-ear and two-ear units.) VoiceMemo audio files can output to a one-ear bluetooth headset (as can phone calls of course.) But audio podcasts files cannot. Is there a setting change that can ac...

"Per Application" Audio Mixer in Windows XP

I need to mute and unmute sounds from other processes in Windows XP. I am looking for the best strategy. It is possible to write a Kernel Mode mixer that will filter the inputs to the output device? My other approach would be set Hooks for the various API's to intercept their Win32 calls. I would strongly prefer the less invasive approa...

iPhone: CPU power to do DSP/Fourier transform/frequency domain?

I want to analyze MIC audio on an ongoing basis (not just a snipper or prerecorded sample), and display frequency graph and filter out certain aspects of the audio. Is the iPhone powerful enough for that? I suspect the answer is a yes, given the Google and iPhone voice recognition, Shazaam and other music recognition apps, and guitar t...

XAudio2 and variable bitrate audio

How do I go about correctly playing audio files which may have a variable bitrate (and even a variable number of channels in some cases), such as ogg/vorbis? XAudio expects this information in a WAVEFORMATEX structure on creation of the source voice, and doesn't seem to provide a means to change it for each buffer thats submitted... ...

Get the full audio device name from Windows

Is there a way to get the full audio device name in Windows XP and later? I can use MIXERCAPS but the szPname member will limit to 32 characters (including NULL). For an audio device name of "Microphone (High Definition Audio Device)", I only get back "Microphone (High Definition Aud". This is due to MAXPNAMELEN being defined to 32. I h...