How can we display sound waves as displayed in below image..
When user speaks, The yellow bars will animate based on user's volume.
Please guide me.. Is there any reference link available? Is there any sample tutorial available?
Same Question in iPhone. but i wants to it in Android.
You can see sound waves when a microphone is connected to an oscilloscope. A microphone changes the sound waves into an electrical signal. The oscilloscope then shows what these electrical waves look like.
Spectroid is an Android app which is used as a real-time audio spectrum analyzer.
If you are using MediaRecorder
for recording audio you can periodically request amplitude with MediaRecorder.getMaxAmplitude. Then you can create ClipDrawable from bars bitmap and use amplitude to set desired level.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With