i want to record voice then play it at the same time but when i use the below code i got delay and echo of the voice and some noise i will be grateful for any help int bufferSize = AudioRecord.getMinBufferSize(frequency, channelConfiguration, audioEncoding); AudioRecord audioRecord = new AudioRecord( MediaRecorder.AudioSource.MIC, frequency, channelConfiguration, audioEncoding, bufferSize); short[] buffer = new short[bufferSize]; AudioTrack audioTrack = new AudioTrack( AudioManager.STREAM_MUSIC, frequency, channelConfiguration, audioEncoding, bufferSize, AudioTrack.MODE_STREAM); short[] audiobuffer=new short[bufferSize/4]; int buffersizeno=bufferSize/4; audioRecord.startRecording(); audioTrack.play(); int r = 0; int k=0; while (isRecording) { int bufferReadResult = audioRecord.read(buffer, 0, bufferSize); for (int i = 0; i < bufferReadResult; i++) …

Member Avatar
+0 forum 0

I am designing an online-radio Windows 8 app that will have all these radio channels that can be streamed online. so, my question is: How can I find the streaming URL of an online radio? These URLs are generally hid behind Flash players or ActivX elements. Google results say I can use URL Sniffers to get these URLs but none of these URL Sniffing softwares work on Windows 8.

Member Avatar
+0 forum 0

I am looking for a developer who has experience with audio/video so we can start a very exciting project that combines music and technology. There is no money involved at this early stage, but together we'll build it up, find the necessary financial resources to get it started, and later we'll share the money :). Let me know if you are interested, thank you!

Member Avatar
+0 forum 0

My application has two parts; a server and multiple clients. This project has its implementation both on Windows(Swing) and Android. The Server sends a song which a client receives and starts playing; more like we watch videos on YouTube; streaming. Sending data in chunks and receiving the same is accomplished. How do I prompt the media player to play the song with incomplete media and provide the media player with data continuously so that it can keep playing?

Member Avatar
+0 forum 0

Hi First I thanks daniweb for helping people regarding web programming. I want to add an audio player for my site. which will play audio of my choice hosted in my site. after finish it will give a signal. so that jquery or ajax can redirect to other site. plz help me

Member Avatar
+0 forum 0

Hello, I am making an application for Android that will save users voice command and then while the application is running; compares the realtime data from the mic input to the one that is saved. So far I have saved the voice in wav file now I want to compare it to the input stream. I have applied FFT using this API as it is compatible with Android: http://code.google.com/p/musicg/ I dont know much about this api either but, I think the FFT data is stored in FrequencyTimeDomainRepresentation object. I searched on the internet and found out that I have to …

Member Avatar
+0 forum 0

OK so I am not getting any sound on my computer right now - it is a Dell Latitude D630 and running XP service pack 3 (I believe). Point is, right now my computer does not recognize that I have any sound devices whatsoever. I had been messing with asio4all software and may have changed some settings that have now messed up my regular sound - I tried uninstalling the asio4all to hopefully force it to go back to normal, but of course it did not. I also tried re-downloading the driver, but it just told me that the hardware …

Member Avatar
+0 forum 0

So I have a Windows 7 Ultimate 64-bit PC that I use as a Media Center. It has an ATI video card with HDMI out that I use for both video and audio output. An HDMI cable runs from the PC to a Pioneer Elite A/V receiver and then out to my speakers and a Mitsubishi 1080p projector. The resolution is 1920x1080 and it looks great. The problem is that sometimes the audio decides to stop working and I get audio decoder errors in media center mode. When I exit media center and look in my Windows audio devices the …

Member Avatar
+0 forum 0

Hello, I am doing my first JFrame. I want it to have a button where the user clicks it and music plays. I already made the button (called b1) but i can't seem to find code for the music to be imported and played. I have tried a whole bunch of websites but none of them work. Anyone here have a good code to play music in a JFrame?

Member Avatar
+0 forum 0

Hello, I am trying to add audio files to my program. I am using a desktop application and not an applet. All the code that i have found online is for an applet. Is there a way for me to add audio code to a desktop application and not an applet? -Thanks

Member Avatar
+0 forum 0

The End.