audio

AVAudioPlayer - playing multiple audio files, in sequence

I want to play multiple MP3 files, in sequence (one after the other) , using AVAudioPlayer. I tried it, and it stops after playing the first MP3. However, if I go into debugger, it works fine.. any ideas? I read somewhere AVAudioPlayer plays audio in the background.. how do I prevent it from doing this? Vas ...

Running music as SDL_Mixer chunks

Currently, SDL_Mixer has two types of sound resources: chunks and music. Apart from the API and supported formats limitations, are there any reasons not to load and play music as a SDL_Chunk and channel? (memory, speed, etc.) ...

Native iPhone audio format

I've currently got my output audio on the iPhone setup as this : AudioStreamBasicDescription audioFormat; audioFormat.mSampleRate = 48000; audioFormat.mFormatID = kAudioFormatLinearPCM; audioFormat.mFormatFlags = kAudioFormatFlagIsSignedInteger | kAudioFormatFlagIsPacked; audioFormat.mFramesPerPacket = 1; audioFormat.mChannelsP...

WASAPI prevents Windows automatic suspend?

First time poster, be gentle ;-) I'm writing an audio app (in C++) which runs as a Windows service, uses WASAPI to take samples from the line in jack, and does some processing on it. Something I've noticed is that when my app is "recording", Windows won't automatically suspend or hibernate. I've registered for power event notificatio...

Strange error returned from mciSendString - Can anyone help ?

Hello A few months ago I added audio recording to a MFC app that I'm working on. This turned out to be easy enough and after an hour or two the code was working on my PC and on a couple of the customers test machines (one running XP the other Vista). Recently however one of their test machines was upgraded and now the recording feature ...

Using Sound Effects in a java game

Basically I am trying to use this SoundEffect class in a simple java game I'm working on for my assignment. import java.io.*; import java.net.URL; import javax.sound.sampled.*; /** * This enum encapsulates all the sound effects of a game, so as to separate the sound playing * codes from the game codes. * 1. Define all your sound eff...

Audio(mp3) codecs for embedded application

Hi, I'm looking for software based codec library to be used in embedded application (c/c++). I'm interested in both commercial and free codec libraries as well. Any suggestion will be welcomed. In additional if somebody have any experience with OpenSL ES and know which software/hardware solutions are compatible i will be glad to hea...

Changing volume in Java when using JLayer.

I'm using JLayer to play an inputstream of mp3 data from the internet. How do i change the volume of the output? I'm using this code to play it: URL u = new URL(s); URLConnection conn = u.openConnection(); conn.setConnectTimeout(Searcher.timeoutms); conn.setReadTimeout(Searcher.timeoutms); bitstream = new Bitstream(conn.getInputSt...

Is there a way to get the name of the track Windows Media Player is currently playing?

I'd like to query Windows Media player from an external app to find out what track (album and artist) it's currently playing. Is that information exposed anywhere? ...

Setting the record level for the default waveIn device

I am trying to use the mixerGetLineInfo and mixerGetLineControls functions to get access to the the volume control for the default recording device opened with waveIn. I have written C# interop code that can successfully enumerate through all the sources destinations and controls in the system, but working out which is the control associ...

Recording Audio via the Web for an Intranet Solution

What is the best (cheapest, most open) way to record audio via a web page. Then keep that recording as MP3 format and make it available via a unique ID / URL. I guess Flash-based plug-in would be best. I'm thinking of something that works like Odeo, but this would be for Intranet-only usage. I can't rely and public URLs or Services. I'...

How to let my visitors to listen to different online radios using flash player?

Hi, After I've found out that WMP is not best idea for Firefox users as they need to install additional plugin, I wanted to try out JW player and I googled all I could about audio streaming and flash players. I got something like www.onlineradio.com/32.asx -> it's not on my server, it's different server, but I can't seem to find a solu...

Join two wav files from java ?

What's the simplest way to concatenate two wav files in java 1.6 ? (Equal frequency and all, nothing fancy) (This is probably sooo simple, but my google-fu seems weak on this subject today) ...

How to detect BPM of the song by programming

In my application, i have to detect all the songs and BPM of those songs. Detect the songs are finished now I have to detect BPM of songs. Does anyone tell me that how can I detect BPM of each song by programming in Cocoa. Thanks, Haresh. ...

How do I record sound and send it to a server from a web application?

I'm developing a web application. It will allow people to link written phrases with spoken phrases. In order for this application to be useful, random users must be able to record their own voices and send the sounds to the server. If I just have an "upload wav" form, no one will use it. If I have a "record" button that streams or pa...

Is it worth starting a new open source project or joining in?

There are a few various open source projects that I'm not particularly happy with, for example, I feel that various aspects of sound on Linux is simply appalling when compared to Windows. I know this is because sound card manufacturers make their hardware for Windows, and it's probably their fault that support is so bad. But I'm sure we ...

Can anyone provide a working example of AudioFileStreamSeek for the iPhone?

I find Apple's documentation quite limited on AudioFileStreamSeek and I cannot find any examples of actual usage anywhere. I have a working streaming audio player, but I just can't seem to get AudioFileStreamSeek to work as advertised... Any help tips or a little example would be greatly appreciated! ...

How to get the final length on a Sound object that is still loading?

I'm creating a basic MP3 player in ActionScript 3. I have a basic progress bar that indicates how much of the song has played. The progress is calculated as a decimal percentage normalized between 0 and 1 as such: var progress:Number = channel.position / sound.length; The problem is, if the audio is still loading/buffering the sound...

File comparison in C#

Is there any in-built class/method for comparing content of two audio/ video files? Or is there any in-built class/method for converting a audio/video file to bit stream? ...

Handling interruptions with Audio queue

Hi I am developing an audio streamer and have declared an interruption listener to save state of a song when an interruption occurs - like an incoming call or an sms. Here is the relevant code In my AppDelegate, I have this AudioSessionInitialize (NULL, NULL, interruptionListenerCallback, self); AudioSessionSetActive(YES); This is ...