Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How can I live stream the audio (RTP) of a phone's mic?
I want to serve my stream on my own IP. Like: rtp://my_sream_ip:8080 (by acting as a server).
Actually, I think the possible way is to:
First: Create a server and On click of a button, stream mic's audio to the created server.
Secondly:Then the audio that is being streamed on a url(e.g.: rtp://127.0.0.1:8080) should be streamed in such a way that another APP can live stream audio from that.(receive/play that stream)
I am very sorry for asking such a long question, but I am very much tired for 2 weeks searching everywhere.
Anyone who can provide any code samples/links will be thanked very much!
Its possible but you should have your own AudioStream; to understand it please refer https://audioprograming.wordpress.com/2012/03/03/android-audio-streaming-with-opensl-es-and-the-ndk/
Then you can stream live audio via HTTP, web service etc.
Please inform me about phases.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Is there any straight-forward way to make an Android app that streams an online radio station? This radio station will be built by my company, so there exists no API or anything at the moment. Ideally I am looking to make an Android service so that users can listen to the radio while the application is running in the background. Thanks!
The question you asked leads to a broad answer. However here goes some tips for you.
For a streaming radio station you can create a steaming server or buy streaming hosting. There are some free software's available that can be installed in your server and use to produce audio streaming from tracks/audio input.
For free streaming software you can try,
http://www.shoutcast.com/BroadcastNow
http://icecast.org/
If you want to buy a streaming hosting service with pre-installed software like SHOUTcast try this,
http://www.shoutcheap.com/
Once you buy or host a radio station, you can connect to that station using a http://ip_address:port_number using Android MediaPlayer.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Hello everyone tell me please: for me it is very important to me to record sound from audio output stream or other but am need record hardware sound from speakers for my piano application.
How do it work in other applications...
Please help me.
I not sure you want to record piano from your android application or you you want to create a sound bank from a piano and use it in the app, but either way you can use FMOD http://www.fmod.org/download/
It is a very powerful audio library (lots of game engines using it e.g. CryEngine, Unity, ...), it has both abilities of recording and playback and gives you a cross-platform unified API.
However if you only want to create a piano audio bank, I believe using MIDI instruments would be a better idea
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to create Android app, that will enable users to stream in real time audio and video from their phone to specified server. In addition, that server should save such recording to some file, to view it latter, but now it's not so important.
My question is: are there any simple or well documented ways of streaming video to remote server (not via wi-fi, I guess it can be important info)
I'm not sure how well Android handles WebRTC currently but I recommend you check it out! It uses Web-Protocols alongside Javascript/HTML5 components to stream-video/audio in real-time via the web-browser. I use it in 2 of my projects for similar applications. The only thing that differentiates is that you are wanting to store the video on your server.I'm guessing would also be possible but I haven't tried it! You can find all the documentation here.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm making a music player for android and I would like to get the average BPM (maybe also frequencies or tones) of a song BEFORE playing it, so I can show the user some info about the song, I know I probably have to open a stream and apply some maths to it to get the data I need, but I don't know how to act, can anyone help me?
I finally found the solution!
I'm using the Minim java audio library, which can performs offline analysis on the audio buffer :)
http://code.compartmental.net/tools/minim/manual-minim/
You can use the FFT
FFT library in android Sdk
This example may be helpful:
Android audio FFT to retrieve specific frequency magnitude using audiorecord
another one:
Get sound frequency with Android FFT
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
one of the default live wallpapers that came with my phone was a wallpaper that displayed the wave form of music playing in the background in real time. I was wondering how one could go about doing this. It seems I should somehow access the streaming data of the background music and compute the samples in real time, but I have no idea how to get the streaming data. I think I can display the wave form by following this tutorial http://codeidol.com/java/swing/Audio/Build-an-Audio-Waveform-Display/, but I'm not exactly sure how to do it. Help would be greatly appreciated/
There is an Android class called Visualizer that lets you access audio being played
http://developer.android.com/reference/android/media/audiofx/Visualizer.html
In addition, since Android is all open source, you can look at how the live wallpaper does it!
https://android.googlesource.com/platform/packages/wallpapers/MusicVisualization/