Closed redreed closed 5 years ago
Hi.
Start from reading readme, then try to run sample app.
i tried that but i guess i am not able to understand how it works i tried running the example but its just allowing me to change colors nothing else
You need to start playing music in your music player app. Then you need to run sample app and choose first option. AudioVisualizer will detect music and start animation. Also you can select other two options without starting music playback. Those options will allow you to visualize your voice with speech detection or audio recording.
thank you so much man ...because u mention the options i noticed there were none coming up for me then i realised i was actually running the wallpaper ap by mistake :P btw is it possible to link a in built music library whiich the visualizer can play from rather than using a thirdparty app
You can do it simply. It is already demonstrated in the demo app.
Visualizer will automatically link it to default music stream and you can integrate it in your App. You might want to change session ID in line
audioVisualization.linkTo(DbmHandler.Factory.newVisualizerHandler(getContext(), 0));
From document
The audio session ID passed to the constructor indicates which audio content should be visualized:
passing mMediaPlayer.getAudioSessionId()
instead of "0" will attche visualizer to your media player.
hey guys i am new into android development and was trying to implement the wave visualization into my app that will play according to some mp3 that I add to the app
i am really lost please help me