audio

What is the leanest format for AVAudioRecorder?

I would like to record voice using AVAudioRecorder, and it really doesn't have to be high quality at all as long as it is coherent. What is the leanest settings I should use to attain the smallest file sizes? Right now, I use the following, but am not even sure if some of them are relevant to my using .aif files (IMA4). NSDict...

How can I add multiple sources to an HTML5 audio tag, programmatically?

A lot of examples demonstrate multiple source tags nested in the audio tag, as a method to overcome codec compatibility across different browsers. Something like this - <audio controls="controls"> <source src="song.ogg" type="audio/ogg" /> <source src="song.mp3" type="audio/mpeg" /> Your browser does not support the audio element....

you can use AudioQueue and AudioUnit concurrently.

I do a test recording to a file using avrecorder , which is audioqueue and recording to memory (audiounit), both places got recorded at the same time. So, seem like you can use AudioQUeue and AudioUnit together. Is that all, any other audio device in iphone besides those two? just want to make sure. ...

Streaming audio from iPhone

Does anybody know of a way to stream audio from a file being played back in an app over the internet in a standardized streaming audio format? That is server up an Audio stream from the iPhone. ...

How can I compare two captures to see which one is louder?

Given two byte arrays of data captured from a microphone, how can I determine which one has more spikes in noise? I would assume there is an algorithm I can apply to the data, but I have no idea where to start. Getting down to it, I need to be able to determine when a baby is crying vs ambient noise in the room. If it helps, I am using...

How to trigger a function only once in case of a mouseEvent ...

I am trying to make a simple mp3 player using flash. The songs are loaded using an XML file which contains the song list. I have "play" button with the instance name "PlayBtn". I have an actionscript file named "playctrl", the content of which are listed below: package classes { import flash.media.Sound; import flash.media.Sound...

Incrementing a global variable in a function which is called multiple times ...

I am trying to make a simple mp3 player using flash. The songs are loaded using an XML file which contains the song list. The following code is inserted into a new keyframe. import flash.media.Sound; import flash.media.SoundChannel; import flash.events.*; import flash.events.MouseEvent; import flash.net.URLRequest; import flash.xml.*;...

Can the Android API be leveraged to modify the caller's voice during the call?

I can't seem to find any documentation saying this is possible, but Google turned up a few apps that claim to be able to accomplish it. I'd like to, ideally, be able to play an audio track and have it sent as the caller's voice. ...