audio

How to stream semi-live audio over internet

I want to write something like Skype, i.e. I have a constant audio stream on one computer and then recompress it in a format that's suitable for a latent internet connection, receive it on the other end and play it. Let's also assume that the internet connection is fairly modern and fast, i.e. DSL or alike, no slow connections over phon...

Play WMA Files in CF.NET 2.0

I'm using this code from Microsoft to play audio notifications for my application. It's working fine when the user chooses a wav file, but it doesn't play when they choose a wma file. Is there any way I can support wma files? A lot of the built-in alarm and ringtones seem to be wma. ...

How to check if a microphone and a speaker are from the same sound card?

Hello, Happy new year! My question is how to check if a microphone and a speaker are from the same sound card on Windows platform. If they are from different cards, then the logic to handling timing will be different. I'm using both DSound and WMME API. Thanks in advance. regards, Yun ...

Java for Audio Processing is it Practical?

Is Java a suitable alternative to C / C++ for realtime audio processing? I am considering an app with ~100 (at max) tracks of audio with delay lines (30s @ 48khz), filtering (512 point FIR?), and other DSP type operations occurring on each track simultaneously. The operations would be converted and performed in floating point. The sys...

How to monitor microphone for noise sound?

I’m trying to find an algorithm to detect when the user blows into the microphone (like Ninentdo DS or iPhone) on a WM6 device with C#. I was thinking to use Waveform to read from the mic in real time into a small buffer, but I'm a bit lost on how to recognize the blowing sound, I guess it sounds like white noise. Anyone has an idea on ...

How to programatically launch Microphone Volume control panel in Windows Vista?

I want to let the user adjust the Mic volume. Rather than reinventing the wheel, we (in XP) would just launch the Volume control panel (by running sndvol32.exe). You can bring up the Speaker Volume control in Win Vista by shelling out to : SndVol.exe In XP you could specify a command line parameter -R to show Microphone volume. Any...

How do I write a method to open, start playing, then return the duration of an audio file using a MediaPlayer in WPF?

It is obvious what I am trying to do below, but I get the following exception: Unable to return a TimeSpan property value for a Duration value of 'Automatic'. I was discouraged to read that NaturalDuration cannot be determined until after MediaOpened has occurred. (link) Does this mean that I have to come up with a contrived ...

Need a basic audio & video player library in Java

I need to display a series of images (perhaps BufferedImages) with variable frame rates as a video, synchronized with uncompressed audio. I also need the basic media controls of play, pause, seek, audio volume, etc. Since I don't need to encode, decode, read or write video files, I would prefer to avoid large libraries such as JMF or FM...

Firefox 3.1 Beta 2 <audio> tag not working in RHEL 5

Has anyone been playing with the Firefox 3.1 Beta 2 audio tag? The developer site says they added support for it but I can't get it to work in RHEL 5. I've tried it with both .wav and .ogg and all I get is the error message I put between the tags rather than it playing the audio file. Thanks. ...

How can I speed up or slow down a background music track with iPhone SDK?

Is there an easy way to control the playback speed/tempo of a sound file loop played using Audio Queue Services? For example, if a game is playing background music, I want to make the BGM speed up as time runs out, but without changing the pitch of the music. Thx! ...

web (non?)streaming audio solutions?

I want to embed multiple audio to my site. I want the file to load but not play until the user hits the button. I also want the ablity to jump to places not yet loaded like youtube does. It would be great if i can play ogg, aac, mp4, etc but i dont expect that would be possible so I wouldnt mind having another version converted by ffmpeg...

Quick and acceptable MP3 streaming solution

Hi, I have to do a job overnight to enable a very simple interface for users listening to a radio channel over the internet. I am wondering what is the best soluition for streaming. I thought of QuickTime, but it requires users to have it installed and I am not quite sure Quicktime is as spread as flash. So I tend to implement something ...

Why would SDL_Mixer not play music for certain mp3s?

Why would SDL_Mixer not play music for certain mp3s? I am utilizing SDL_Mixer for music playback in an application I am creating. On certain songs (entire albums actually), the music will simply not play without returning any errors. The music data loads successfully using Mix_LoadMUS and when executing Mix_PlayMusic with that data, it ...

What is the easiest way to convert a compressed wav file to an uncompressed wav file in C# or C++?

What is the easiest way to programatically convert a compressed wav file (MPEG codec for example, but could be any installed codec) to an uncompressed wav file (16 bit PCM)? I've heard that using direct show and writing the code in native C++ would do it, but I've not had much experience with direct show. Is there an easier way to do ...

C# Audio Library

I am looking to develop an audio player in C#, but was wondering what libraries are available for playback. I am looking for a free library that allows for an extensive list of audio formats to be played (for example mp3, wma, wav, ogg, etc.) Thats pretty much the basic functionality I would need. But if I could get picky, a library that...

WAV compression help

How do you programmatically compress a WAV file to another format (PCM, 11,025 KHz sampling rate, etc.)? ...

embedding audio in html - ie and firefox using php...

I'm trying to create an audio captcha system for the visually impaired. I have a system that will glue several wave files together, but I'm having trouble embedding them in ie and firefox. <script type="text/javascript"> function EvalSound(soundobj) { var thissound=document.getElementById(soundobj); thissound.Play(); } </script> <embe...

Playing Audio with J2ME

What is the best way to play audio utilzing the J2ME Media libary? For example, should I make use of the MMAPI or should I just use the Midlet's platformRequest(String s) method? ...

beep in WinCE , it posible ?

hi is it posible to make beep in WinCE ? i try and i get an error ...

iPhone Mic volume.

Is there any way to poll the mic input volume with AVFoundation? I have seen the CoreAudio examples like SpeakHere but I really only need the current value. Is CA my only option? ...