audio

Best cross-platform audio library for synchronizing audio playback.

Hi everyone, I'm writing a cross-platform program that involves scrolling a waveform along with uncompressed wav/aiff audio playback. Low latency and accuracy are pretty important. What is the best cross-platform audio library for audio playback when synchronizing to an external clock? By that I mean that I would like to be able to writ...

Unpacking 3-byte/24-bit data chunks with Ruby

I am building a pure-Ruby WAV file read/write library, learning deeper Ruby functionality as I go. It currently works well with 16-bit audio, as I am able to use String.unpack('s*') to pull individual audio samples out into an array of signed integers. I am having trouble wrapping my mind around how to go about dealing with 24-bit audio,...

Qt Phonon open raw audio data file

Hi guys, I have already asked a similar question here: http://stackoverflow.com/questions/956720/python-open-raw-audio-data-file Now I want to open, and play, raw audio files with QtPhonon. The main goal is to open the file and play a certain location in the file, for example from the 10th second to the 20th second. Is it possible usin...

Android - how to do background threading properly?

Hi all, Was wondering if anyone could help me on background threading on Android. I have a piece of code that records from the mic of the device and then plays back what it records through the ear piece(on 1.5). I am trying to run it in a thread but have been unsuccessful in getting it to run as a background thread. Currently it run...

Why wont DirectSound Buffer play under debug conditions?

My wave won't play under debug. If I hit CTRL+F5 I get a nice WAV and the Console writes out the file cursor position (buf.PlayPosition) and then the method exits when the sound is over. Under debug (when I just hit F5) there is no audio output, however the file cursor position is still increased in the console window and the method exit...

Change MP3 frequency on the fly somehow?

Does anybody know a purely PHP based way to alter the frequency of an MP3 file? I am on shared hosting with this, so installing ffmpeg or something similar is out of the question. If this requires actually altering the audio data, then I guess it is not possible nor feasible to do with PHP, but I was thinking maybe this is just a heade...

python gstreamer for windows

I want to use Python bindings for GStreamer on windows. But looking at the INSTALL file, the gstreamer does it in the unix way. (make make install) . I don't want to install cygwin or other windowsunix environments. Is there a GPL binary distribution of GStreamer available somewhere? (or a script that can just install it using python s...

Routing audio to Bluetooth Headset (non-A2DP) on Android

I have a non-A2DP single ear BT headset (Plantronics 510) and would like to use it with my Android HTC Magic to listen to low quality audio like podcasts/audio books. After much googling I found that only phone call audio can be routed to the non-A2DP BT headsets. (I would like to know if you have found a ready solution to route all kin...

DirectX AudioVideoPlayback error

Hi all, I am using the DirectX AudioVideoPlayback dll. However I get the following error when trying to initialise the Audio object System.Runtime.InteropServices.SEHException Message: External component has thrown an exception. Source: Microsoft.DirectX.AudioVideoPlayback StackTrace: at CreateWindowExW(UInt32 , UInt16* , UInt16* , UI...

intermittent looping frequency while playing mp3s in Storm 9530 v5.0.0.328

Hi.. I am developing an application which includes Custom Audio Player for playing songs from remote server...For audio streaming i am making use of BufferredPlayBackDemo shipped with JDE...The problem is that the songs stream and play well in all devices(BOLD 9000 , 9700 , Curve 8900, 8330 etc) but on Storm there is an intermittent loop...

Why are many of the Linux ALSA PCI struct and functions prefixed with azx?

I am digging deep into the ALSA HDA codec HDA source code to resolve an issue and would like to know why so many of the structures and functions are prefixed with azx. Can anybody point me any websites/docs? I would also be interested into any sites that give some background information on codecs, CORB/RIRB and BDL etc ...

Which frameworks / libraries should I take a look at when I want to play an audio livestream on the iPhone?

For example, if I wanted to play back an shoutcast web radio audio stream on the iPhone, what libs could I use for this? ...

Is it possible to extend Matt Gallagher's AudioStreamer Framework to play other formats than MP3?

What I need are at least these formats (or at least some of them): Ogg / Vorbis WMA over MMS/ASF AAC / AAC+ Matt seems to use some of the Apple frameworks for audio playback, so I wonder if it would be too hard to add support for additional formats other than only MP3? ...

Are there open source audio stream clients or frameworks?

I'm looking for how to play back audio streams in these formats: MP3 Ogg / Vorbis WMA over MMS/ASF AAC / AAC+ target is the mac and iPhone. Maybe there is an open source library that I could look at, to understand how it works, and then port it to the cocoa frameworks somehow. ...

The GUID what sent to WindowsMedia.com by WMP

I'm writing a simple audio player based on WMP ActiveX control, for MP3 and WMA, I found WMP can get the cover and album correctly, but the WMP ActiveX control can't do that, it means the ActiveX control always get the information from the local, not from WindowsMedia.com, if you play the file with WMP, then ActiveX control can get these...

Outputting audio to paired bluetooth device?

I ride an off-road motorcycle on the unsurfaced road network of ancient byways in the UK. It's great fun, but I've yet to find a good turn-by-turn application suitable for this purpose. So, I figured I'd write one :) I have a bluetooth system in my helmet. Is there any way of streaming audio to a paired bluetooth device from an iphon...

How can I record the audio output of the iPhone? (like sounds of my app)

I want to record the sound of my iPhone-App. So like someone is playing something on a iPhone instrument and after that you can hear it. Is it possible without the micro? ...

Mac Audio framework

I know that AVFoundation framework works on iPhone. Does the same framework be used for Mac as well to play and record sounds??? Basically I want to write an application to play 2 music files parallelly and record the music that is being played. Is it possible??? ...

iPhone - how to measure amplitude of a PCM coded signal

Hi, here's my problem at hand: I need to analyze audio data in realtime to find out the amplitude of the signal I can't use the AudioQueue metering functionality because it has too much delay for detecting peaks I have studied the aurioTouch example..... however... I simply don't understand how the PCM coded buffer is converted back...

Dynamic time warping to compare two audio recordings

I'd like to use Dynamic Time Warping to compare two feature vectors for two audio recordings (of course I'm doing all the necessary preprocessing first). My program should output the similarity between the two audio recordings in percent. For example 100% means that the two recordings are completely identical, and the more different are ...