CrossLauncher icon indicating copy to clipboard operation
CrossLauncher copied to clipboard

Put a Built-in Music Player With Audio Visualizer

Open AkiraKusanagi opened this issue 1 year ago • 3 comments

It would be cool if there was a built-in music player in the launcher (well there kind of is, but only if you hover over apps that have music put in the directories...) and if it had an audio visualizer. Like this, App used: Vythm https://play.google.com/store/apps/details?id=com.MKGames.Vythm&hl=en_US&gl=US&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dgoogle+play+vythm&pcampaignid=APPU_1_uLiuZMOqPOHCkPIPup2z0AQ

https://github.com/EmiyaSyahriel/CrossLauncher/assets/137284132/8f02b7dc-16c9-4ae6-8872-fa1ee4706295

AkiraKusanagi avatar Jul 12 '23 14:07 AkiraKusanagi

If you look back at the very earlier version of this launcher, it once have a Music Player built-in, but I scrapped that because of a code restructure (and also, the player I made is crap). And as for now, I don't know if I can put a dedicated Music Player back to the launcher and with visualizer support. I do have plan for this in this repo's project, but I don't know if it is possible if it's done solely by myself, or it might took a long time.

And for the visualizer, As far as I know, PS3 (which console I want this launcher to be faithful to) did have music visualizer, but it did not react to the music in realtime, it just plays predefined animation of the selected visualizer type in random order.

EmiyaSyahriel avatar Jul 14 '23 06:07 EmiyaSyahriel

I would like to suggest the use of libvlc. Particularly the libvlcjni library for java/koltin. I think this would leave just the ui to be programed with vlc as a backend for playing both audio and video content in the launcher. To be clear, i do not know java/koltin programming, nor do i know how to use libvlcjni. Im just suggesting.

vengestone-dragoon avatar Feb 02 '24 06:02 vengestone-dragoon

@vengestone-dragoon that library seems promising. But, for now, Android's built-in MediaPlayer class with some OpenGL trickery is suffice. I (or maybe other contributors) might consider to switch the project to use libvlc library if there is enough problem caused by or things that cannot be fully handled by android's own MediaPlayer, which so far is none.

EmiyaSyahriel avatar Feb 02 '24 12:02 EmiyaSyahriel