audio

Play MP3 from .net code

I am getting married this coming Saturday (May 30 2009). We are poor. So, instead of hiring a DJ, I want my friend to kick off mp3 playlists from a laptop to be played through a PA system. Well I had a vision for some software that would be perfect for this. Here is that vision: I want this to be so that my friend can't screw this up ...

Audio Recording iPhone - values of AudioStreamBasicDescription

These are the values I pass in, it's the only combination of values I have got working. dataFormat.mSampleRate = 44100; dataFormat.mFormatID = kAudioFormatLinearPCM; dataFormat.mFormatFlags = kAudioFormatFlagIsSignedInteger | kLinearPCMFormatFlagIsBigEndian; dataFormat.mBytesPerPacket = 4; dataFormat.mFramesPerPacket = 1; dataForma...

Can v4l2 be used to read audio and video from the same device?

I have a capture card that captures SDI video with embedded audio. I have source code for a Linux driver, which I am trying to enhance to add video4linux2 support. My changes are based on the vivi example. The problem I've come up against is that all the example I can find deal with only video or only audio. Even on the client side, e...

Blackberry Audio Recording Sample Code

This is probably lazy of me, but as I've mentioned before, the RIM website is a mangled mess. Does anyone know of a good repository to get sample code for the BlackBerry? Specifically, samples that will help me learn the mechanics of recording audio, possibly even sampling it and doing some on the fly signal processing on it? Basicall...

Audio Libraries for MP3 editing

In one o f my projects using ASP.NET + C# I want to be able to dynamically create 30 seconds clip of MP3 files and add a fade in/out. What library would you recommend? I saw there are a lot, including: http://www.alvas.net/alvas.audio.aspx http://www.audiosoundeditor.com/ http://www.mitov.com/html/audiolab.html Have you...

iPhone: How to detect if iTunes is playing?

I noticed that some apps programmatically mute itunes (if its running) at launching. How is this achieved? I have a game with background music and would like to either stop itunes or get at least a message that itunes is playing so that I can stop the game's background music. thx, marc. ...

programmatically recording sound sent to Built-in Output, Mac OS X

I have a conundrum: I need to find a way to capture the raw audio data that is being piped to the Built-in Output on Mac OS X. Core Audio, HAL, etc. I can "listen" in on the Built-in Output and the mic, but neither of these appear to offer the correct data stream - the exact stream (all combined data from all input sources) that goes ...

Swapping bytes in a file

I am reading a raw audio file (CD track rip) in, doing byte swapping, and then writing back out to a wav file. The routine I have processes the bytes properly, but only does about half the file. I am a VB.NET Developer, not really a C# developer, and this code does not convert to VB.NET properly (It gets an overflow error). It's not r...

Clipping FFT Matrix

Hello, Audio processing is pretty new for me. And currently using Python Numpy for processing wave files. After calculating FFT matrix I am getting noisy power values for non-existent frequencies. I am interested in visualizing the data and accuracy is not a high priority. Is there a safe way to calculate the clipping value to remove th...

How to get audio data from a MP3?

Hi, I'm working on an application that has to proccess audio files. When using mp3 files I'm not sure how to handle data (the data I'm interested in are the the audio bytes, the ones that represent what we hear). If I'm using a wav file I know I have a 44 bytes header and then the data. When it comes to an mp3, I've read that they are ...

Detect Processes using Audio on Windows

How do I detect which processes are playing audio on my Windows machine? In other words, how do I enumerate processes which are using my sound card? ...

c++ audio conversion ( mp3 -> ogg ) question.

I was wondering if anyone knew how to convert an mp3 audio file to an ogg audio file. I know there are programs you can buy online, but I would rather just have my own little app that allowed me to convert as many files I wanted. ...

Looking for C# audio analysis libraries

Hi. Im working on a Software Project where our team needs to record a train horn sound. We have purchased the recorder; its saved as a .wav file. We now need to extract data from the file like frequency and amplitude to create spectrum analysis and decibel level graphs. Any C# libraries out there for this type of thing? ...

Audio/Video content hinting

What kind of semantic information can be extracted from such media? Anything would be fine, be it differentiation between music and spoken text, detection of distinct sounds (like gunshots or birds or cars), detecting indoor/outdoor takes or intensity of camera motion. I know that there are many, many, many, manymanymany research topics...

Pump up the volume! In Java

How do I increase the volume of an outgoing wav audio stream using Java? I'm having issues with various Java TTS engines and the output volume of the synthesized speech. Is there an API call or a doo-hickey.jar I can use to pump up the volume? ...

Python open raw audio data file

Hi guys, I have these files with the extension ".adc". They are simply raw data files. I can open them with Audacity using File->Import->Raw data with encoding "Signed 16 bit" and sample rate "16000 Khz". I would like to do the same with python. I think that audioop module is what I need, but I can't seem to find examples on how to us...

How to convert a .WAV audio data sample into an double type?

Hi, I'm working on an application that processes audio data. I'm using java (I've added MP3SPI, Jlayer, and Tritonus). I'm extracting the audio data from a .wav file to a byte array. The audio data samples I'm working with are 16 bits stereo. According to what I've read the format for one sample is: AABBCCDD where AABB represents l...

De / Interleave array fast in C#

Hi guys, I am looking for the fastest way to de/interleave a buffer. To be more specific, I am dealing with audio data, so I am trying to optimize the time I spend on splitting/combining channels and FFT buffers. Currently I am using a for loop with 2 index variables for each array, so only plus operations, but all the managed array ch...

How do I record audio using Android 1.5?

How do I record some audio using Android? ...

finished iPhone app: add a new feature. record system sound and then be able to playback

i have just created a drum app. The user taps on the individual buttons which triggers a short sound to play using the systemsound from AudioToolbox. I now would like to add a UIButton which says "record", and upon click, will record all Systemsounds being played, and then when the use presses the stop button; the program should then be...