for a school project I am trying to make an android application that, once started, will perform a spectrum analysis of live audio received from the microphone or a bluetooth headset. I know I should be using FFT, and have been looking at moonblink's open source audio analyzer ( http://code.google.com/p/moonblink/wiki/Audalyzer ) but am ...
I'm attempting to add the ability to use Bluetooth Headsets and Headphones to an application. I've modified the AudioSession like so:
UInt32 audioRouteOverride = kAudioSessionProperty_OverrideCategoryEnableBluetoothInput;
AudioSessionSetProperty (
kAudioSessionProperty_OverrideAudioRoute,
sizeof (audioRouteOverride),
&aud...
As far as O know, web pages play mp3 sounds by embedding invisible Flash players. Since Flash is not available on mobile webkit (iphone/ipad), how is it possible to play mp3 on this platform?
...
Hi I have java application which plays midi messages from sequence. I'm doing this using jfugue library.
the problem is when I'm tryingto stop playback with stop button (which call sequencer.stop() and sequencer.close()) the last played note is sound all of rest time, and I can't stop it.
So I'm asking about solution about stopping all...
There are a lot of audio-resampling libraries available. My favorite in Secret Rabbit Code.
Audio resamplers keep the correct frequency of the resampled signals, so a 4KHz sine in the source, will remain a 4KHz sine in the destination.
This time, however, I need to resample a sampled IF/RF signal.
The sampled signal contains data orig...
I started tinkering around with HTML5 recently and am very interested in Audio tag. Though one thing immediately came to my attention, it appears that OGG is the only format supported in Firefox!
I understand that this is because MP3 and other codecs are proprietary software and require a license to use. But how is HTML5 Audio (and Vid...
Hello,
I am working with a SMS handling, java based software and want to play a beep / alert sound whenever we receive a message. I tried looking at the java.sound libraries and could not find anything. I do not know if going the applet way of playing a sound will be okay in a java application! Are there any predefined sounds in any ...
Hi all,
Am using Mac OS X 10.6. I have a sound file, say "a.aiff" which i want to be redirected to Soundflower(not my default). afplay doesn't seem to provide --device flag which it used to support in earlier Mac versions I think. So any idea of what to do?
...
I know this is not a specific programming question but I hope someone can give me a suggestion. My applications (iPhone and Blackberry applications) use a lot of audio files. I need a solution for my applications in order to save some spaces.
Is it right that .aac is the most suitable audio format for iPhone? Is it the smallest one? It...
Hey all,
I am writing code for a website that plays artist music. But I currently need a player that plays only sample of songs and not full song, like Itunes and this kind of player seems hard to fun thus far. Does anyone know of one? And know of a player that can play other formats besides mp3?
...
I am looking to write an Arduino script that uses whatever audio signal is going to the speakers to create a physical visualization.
The Arduino is connected to the windows machine only through USB, so I need to use USB to find out what is being sent to the speakers. How would I access this information?
...
LAST EDIT - TWO SIMPLE ANSWERS NEEDED.
1) I was able to get the code working with a URL (it's the code from one of the responses below). But my song is in a wav file. When I try to do File url = new File("---");, it doesn't work.
Instead, in the stack trace (thanks for that tip!), it says
"Failed to allocate clip data: Requested buff...
Hi all, I have to implement a little software that sends an audio stream between two pc in the same WiFi network..
In little words, I get audio from device like a mic and then I have to transmit this audio in real time..
maybe I'll use Java..
To transmit data trough UDP something like this:
//create UDP socket
DatagramSocket socket = ...
I am trying use JS to playback some sounds. What i want to do is have piece of music playing but after a certain time replace it with another audio file. I thought the most effective way would be to reuse the same audio object, but it seems to not kill the original sound so all gets messy. What is the best way to do this?
My code is bel...
I finally got my sound clip to work in my java application.
This is picky, but there's a minor pause between each sound loop. Is there any way to "merge" the two loops slightly so the sound seems continuous?
...
AudioServicesPlaySystemSound doesn't do anything but AudioServicesPlayAlertSound makes the iPhone vibrate.
AudioServicesCreateSystemSoundID returns success. I'm developing on iPhone3G running iOS4.
Any ideas?
Peter
=====
Here's how I create the sound:
NSString *sndPath = [[NSBundle mainBundle] pathForResource:@"first_touch" ofType:@...
hi
i am creating an audio editor.
i want to play audio(wave) channels(R or L) separate.
how i can do this.
...
I'm building a music player web application which implements the HTML5 audio tag, however would like it to look consistent across browsers - is it possible to define my own custom CSS? And how?
cheers
Fela
...
I'm trying to very quickly port over an html application with plays sound (with soundmanager2) to a native android app using WebView. From my research, I haven't seen any evidence that sound, such as mp3s, can be played via javascript or any other methods using WebView.
My goal now is to quickly port over the html app and then eventual...
I'm trying to stream audio in .m3u and would like to get the .mp3 components of the file. How would I go about parsing the .m3u?
Thanks in advance!
...