audio

Library for audio resampling

In an embedded (Windows CE) C++ project, I have to resample an arbitrary sample-rate down (or up) to 44100 Hz. Is there a free and portable C/C++ library for audio resampling? ...

How to display pictures, video, text, and audio all on the same view on the iphone?

I am trying to have a view that has four buttons on the top: a picture button, video button, audio button, and text button and an imageView below the buttons. If you click on the picture button, the imageView displays the picture. but if I click the video button i want the imageView to display a picture of the video that you can click an...

Playing continuos sound in iPhone app

Hi I have an iPhone application which requires me to play a looping mp3 sound during the entire lifetime of app. But based on some actions performed by user this mp3 should stop/pause for while & another mp3 should play & then this mp3 should resume playing again. I havent really used any audio API on iPhone yet, I've just used Audio...

What is the easiest way to mix 8bit 8000Hz PCM_ULAW samples?

Hi! I want to mix to multiple ULAW samples together in Java. Is there a way to do so without converting to PCM? Im trying to do a 8000Hz 8bit VoIP app. Im testing with AU files (created in goldwave) since they use the ULAW encoding. My current implementation is: [code] AudioFormat f = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED...

Creating a Web Radio

Hi everybody, I'd like to develop a web sample application that can send and read audio on the fly. The idea is to develop a website with HTML5/JS. So, the admin part (in php or whatever server side language) will allow me to send audio from a mic. Then, on the client side, the user can listen to the stream with the <audio> tag for ex...

Audio Toolbox playing an mp3 file (iOS)

Hello, I've tried to get an mp3 file played with Audio Toolbox and Audio Queues, but whatever I try, I don't get anything played (neither in the simulator nor on the device). When I run it in the simulator it tells me: "Prime failed (-66674); will stop (0/0 frames)", so I think there is a basic mistake somewhere, maybe in the AudioEn...

Which API should I use for playing audio on Windows?

There are many ways of playing sounds on Windows. Which are the differences, advantages and disavantages of each method? I know there are at least 5 methods: 1991 WinMM.dll/mmsys.dll PlaySound 1995 MCIWnd (as suggested by @casablanca) 1996 DirectSound 1998 WaveOut 1999 ASIO 1999 Windows Media Player ActiveX control? 2005 WASAPI (which...

vb6: looking for activeX audio component (load/play/display wav)

hi, i'm looking for an activeX component which allows loading .wav files, displaying + playing it - and also is capable of displaying/setting the current playing position. any ideas? thanks ...

How can I change audio file header? Iphone.

I am working on changing audio file header. Here, after recording with AVAudioRecorder, I got an audio file on disk. And I want to change audio file header's property to change audio file's samplerate. Here is the code, but not works. - (void) changeProperty { CFURLRef inFileRef; inFileRef = (CFURLRef)[self getRecordFileURL]; ...

Play an audio file in Windows 7 Phone

Hi I am working on Windows 7 based application development in Silverlight. I have not been able to find a way to play a an audio file in windows 7 phone programmatically. I have been googling it since past few days but i could not get any solution of that. There is a class SoundPlayer in C# but i guess its not available in Windows 7 Phon...

Reducing sample bit-depth by truncating

I have to reduce the bit-depth of a digital audio signal from 24 to 16 bit. Taking only the 16 most significant bits (i.e. truncating) of each sample is equivalent to doing a proportional calculation (out = in * 0xFFFF / 0xFFFFFF)? ...

Change the bpm of a song while playing it in python

Hi, i'am looking for a way to attune a song to the heart rate of someone. I have a song in mp3 or wav format and i want to accelerate the speed of it while playing it. Or playing it in loop and between each loop accelerate it or slow it. Ideally it will be in python. Do you know a way to do that ? Regards and thanks. Bussiere ...

Is it possible to record sound from one window?

I've managed to write program to record sound from Input Devices, but I'm more interested in recording from one window that plays some sounds. Is it possible to catch those sounds and not all possible sounds played currently? Sorry for my english. ...

How do I analyze an audio file for output frequency and duration?

I have a function that can play set frequencies. The function's inputs are frequency and duration. How can I analyze a sound file so that I have the output frequency for every milisecond of audio. e.g.: MS, Frequency 1, 400 2, 401 3, 402 etc. If there is Mac based software that can do this, I'd be fine with preprocessing the audio file...

alternate sound effects on anchor click

I'm messing with HTML5 and audio tags for a little project I've been working on. Basically, I have an anchor tag that activates a jquery slideToggle. I want to add sound effects to it so that clicking the anchor plays one sound effect when it opens and a different sound effect when it closes. I've spent hours trying to figure out how,...

Accessing audio stream through browser.

Let's say I'm playing some audio on my system (streaming or stored on the system). Is there a way for a browser to access the bitstream being played? Can a Java applet do this? What about Flash or Silverlight? ...

Play M4A Files on Website

Hey, how can I play m4a audio files on my website? None of the regular mp3 players are working. Thanks ...

Change Soundtrack properties in QT 7 pro - Batch with applescript

I need to change the soundtrack properties (movie properties tool in QT 7 pro) for a whole bunch of video files. The process would be: in movie properties click on sound track and then change the assignment of each audio channel from Mono to "center" save the file(s) I am completely unexperienced with Applescript but would it be possibl...

how to stream live audio video using java j2ee?

I wanted to stream live audio & video from one client to another over the internet, iam using websphere community edition as my server, and iam supposed to do this task using java j2ee technologies. iam doing this as a part of the project for IBM TGMC. pls suggest which particular api or tech is best suited for my purpose? i googled out...

MediaRecorder Silence at Beginning of Recording (Delay?)

My MediaRecorder is setup to record audio from the mic. This works ... except that the first .65 seconds is completely dead air - its as if the first .65 second the record button was pressed but the mic had not turned on yet. I need to determine if: Something is wrong with my code This is just a flaw in the way MediaRecorder works ...