audio

What output and recording ports does the Java Sound API find on your computer?

Hi all - I'm working with the Java Sound API, and it turns out if I want to adjust recording volumes I need to model the hardware that the OS exposes to Java. Turns out there's a lot of variety in what's presented. Because of this I'm humbly asking that anyone able to help me run the following on their computer and post back the resul...

Simple, Cross Platform MIDI Library for Python

I want to do build a small app that creates MIDI sounds. I've never dealt with sound in programming so I'd like to start with something that's basic and has good documentation. I want to stick with Python since I'm the most comfortable with it and don't want to overwhelm myself, initially. My time is split about 50/50 between Windows an...

What are some good resources for getting started with gstreamer?

I'd like to learn the gstreamer media framework. Where should I start? ...

Analyzing Sounds

I was wondering if anyone could provide guidance on audio analysis. Analyzing waveforms or pitches and speech is what I'm looking at. I am pretty much open to using any C-based language (C++,C#,Java), and if that's not possible than maybe a new language. Does anyone have any tips on where I should start? ...

playing frequencies on the iPhone

Can someone help me use the AudioQueue services on the iPhone to play a certain frequency (say, 440 Hz)? I've looked at the documentation, but I can't seem to figure out quite how to do it. Apple's sample code also isn't helping me too much. Thanks! ...

get current system volume level on iPhone

Is there a way I can get the current system volume level on the iPhone? I'm thinking maybe there's a way to make an MPVolumeView and get the value from that. ...

How Do I do Real Time Sound/Signal Processing On The iPhone?

Hi, I may be doing an iPhone-based application doing near-real-time sound-processing (filtering, etc). I was wondering the best way to get started. Would I want to create an audio cue for recording and processing sound, as described here? Edit: I should be clear. I am not asking how to do signal processing, in general. I know some of...

Audible Audio (.aa) file spec?

Does anyone know of a good resource on the Audible Audio (.aa) file spec? I'm trying to write a program that can use them, if no one knows of a resource, any tips on reverse engineering the spec my self? I opened it up in a Hex editor and poked around, looks like an MP3 but with a ton more header info. ...

PHP Extract audio from video

Hello, I need a way to extract the audio from some video (in PHP). I have the video streaming in from YouTube, so I would really like it if it were on the fly streaming, not I have to save it to a temp directory and process it there (though that is acceptable.) Thanks, Isaac Waller Edit: to be more specific, I have a MP4 and I want it to...

Ruby/Rails Audio Conversion Plugins?

I am looking for a good gem/plugin to convert user-uploaded audio files to different formats. One format in particular that I am interested in is converting to Apple .caf with ima4 compression for inclusion in an iPhone app. I have been using afconvert on my mac for this so far, but I need to do it on my linux box, server-side. Ideall...

Audio output from Silverlight

I'm looking to develop a Silverlight application which will take a stream of data (not an audio stream as such) from a web server. The data stream would then be manipulated to give audio of a certain format (G.711 a-Law for example) which would then be converted into PCM so that additional effects can be applied (such as boosting the vo...

Video and Voice chat operability in Python

Hello! I'm trying to find resources on video and voice chat operability in Python... Does anybody know of some good resources or sample projects? Any help would really be appreciated! ...

Powerful audio lib

Hi Can you recommend a powerful audio lib? I need it to timestrech & pitchshift independently, as well as give me full access to the raw audio data and let me stream bytes into its pipeline. Other effects like eq, filtering, distortion are a plus. Needs to be accessible from C++ / Linux. Maybe gstreamer, xine or mplayer would work? ...

Java AudioSystem and TargetDataLine

I am trying to capture audio from the line-in from my PC, to do this I am using AudioSystem class. There is one of two choices with the static AudioSystem.write method: Write to a file Or Write to a stream. I can get it to write to a file just fine, but whenever I try to write to a stream I get thrown java.io.IOException (stream length n...

Android Strip Audio From Video

Hello, In my program, it gets MP4 video in, and I want it to output a MP3 (without any server-side stuff.) Since Android (and my app) needs to run on many different hardware configurations, this means I probably cannot use FFMPEG :( I know this may be very battery and processing power intensive, especially for a mobile phone, but I need ...

Analyze audio using Fast Fourier Transform

I am trying to create a graphical spectrum analyzer in python. I am currently reading 1024 bytes of a 16 bit dual channel 44,100 Hz sample rate audio stream and averaging the amplitude of the 2 channels together. So now I have an array of 256 signed shorts. I now want to preform a fft on that array, using a module like numpy, and use ...

How to split male and female voices from an audio file(in c++ or java)

I want to differentiate betwen the male n female voices in an audio file and seperate them.As an output I want the two voices seperated.Can u please help me out n can the coding be done in java or c++ ...

Flash 9: How to determine if a streaming track is mono?

I've been trying to lick this problem for months now... In Flash 9 I'm trying to load a streaming MP3 file and calculate its track length. I can do that fine, But when the mp3's channel is mono, the time is double that of the original track length. How did I figure this out? Well, I tested my player by recording into Sound Recorder on Wi...

Interpretation of DirectSound buffer elements from mic capture device

I am doing some maintenance work involving DirectSound buffers. I would like to know how to interpret the elements in the buffer, that is, to know what each value in the buffer represents. This data is coming from a microphone. This wave format is being used: WAVEFORMATEXTENSIBLE format = { { WAVE_FORMAT_EXTENSIBLE, 1, sample_rate, s...

How can I make a Pink Noise generator?

((Answer selected - see Edit 5 below.)) I need to write a simple pink-noise generator in C#. The problem is, I've never done any audio work before, so I don't know how to interact with the sound card, etc. I do know that I want to stay away from using DirectX, mostly because I don't want to download a massive SDK just for this tiny proj...