Java music player-Lele music (PC Edition) and java music player

Source: Internet
Author: User

Java music player-Lele music (PC Edition) and java music player

Lele music is a java music player developed based on musique. a music player of the android version has been developed before. Now, the android version code is transplanted to the PC version. However, I encountered a problem: If java wants to play mp3 and other songs and install jmf, I think it is too troublesome to install jmf, and the computer cannot afford to hurt it. So I searched the internet and found a lot of open-source players, such:

(1) YOYOPlayer: It seems that YOYOPlayer is good in general. My lyrics also refer to its implementation. However, there is a problem during playing, that is, during fast forward, the time displayed on the drag bar is different from the time when the song is played after the fast forward, which leads to the appearance when others drag the lyrics fast forward, such as bright to, put it in the hand, I found that the player played a song at. Of course, I just ran it.

(2) musique, project https://github.com/tulskiy/musique. This player is seen from the http://xpenxpen.iteye.com/blog/2170947 above, this article, it is strongly recommended that you go to see. As mentioned in the article, it is so powerful. At present, I simply call its code. Of course, after integration, I found that the lyrics of ksc karaoke are still not smooth during the gradual transition. In the following days, you should take a closer look at its code and refresh my player. But I have to mention it. I don't know if it's a problem I'm used to. I think its project is really messy.

(3) Based on java sound API. Http://xpenxpen.iteye.com/blog/2170947 above also has said, it only needs to add the relevant format of the Song jar package, you can not modify the main code, supports a variety of formats of songs. Playing a song and displaying the lyrics in the way above the article makes the gradient of the lyrics much smoother. Of course, it will not be released if fast forward is not implemented. Later I should refer to javazoom. jlgui. basicplayer, but I used the code above javazoom. jlgui. basicplayer to play the song. It was strange to find that the gradient of the lyrics was still not smooth.

(4) based on jmf. Using this music player, I found that the lyrics are the smoothest, but it is troublesome. If you want to support mp3, you need to install jmf software, and it seems that it does not support 64-bit, I am very helpless.

 

(5) others. There may be others. I have not found them.

So much, come back to Lele player. Lele music player is an android-based music player.

Https://github.com/zhangliangming/HappyPlayer2015-09-06-new.git

The main reason is that the core code is developed in java and can be transplanted to java swing. Therefore, based on the cool dog interface, some new functions are implemented on the basis of the previous player.

The following functions are implemented:

(1) Play a song, which is based on musique. I don't know.

(2) Add a song list and scan the song files and Song folders.

(3) UI lyrics, UI songs, karaoke lyrics, and desktop lyrics.

(4) For skin, you can simply change one tablet.

 

Preview:

Finally:

Source code: https://github.com/zhangliangming/HappyPlayer-PC-Final-musique.git

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.