niomgrupo.blogg.se

Screen visualizer for spotify
Screen visualizer for spotify




screen visualizer for spotify

This makes me thing that the audio sessionId is not the same one as Spotify is playing on. If I run this, everything compiles and runs okay, but the visualizer does not pick up any audio. tDataCaptureListener(this, Visualizer.getMaxCaptureRate(), true, true)

screen visualizer for spotify

Int audioSessionId = mediaPlayer.getAudioSessionId() tAudioStreamType(AudioManager.STREAM_MUSIC)

screen visualizer for spotify

MediaPlayer mediaPlayer = new MediaPlayer() VisualizerModel.getInstance().getTrackURI(), 0, 0) I'm having a difficult time getting Androids Visualizer library to pick up any audio from Spotify (it works fine if I use a local. I'm using Spotify's android-streaming-sdk which creates a local service (no need to have the Spotify app installed) and it plays music from within the app. I'm making an Android audio visualizer app for streaming Spotify music.






Screen visualizer for spotify