Java Music player-Lele Music (PC version)

Source: Internet
Author: User

Lele Music is currently based on musique development of a Java music player, previously developed an Android version of the music player, now the Android version of the code is ported over the PC version here. But encountered a problem, is Java if you want to play MP3 and other songs, to install JMF, I think the installation of this JMF is too troublesome, the computer is 64-bit hurt. So I searched the internet, found a lot of open-source players, such as:

(1) Yoyoplayer, feel yoyoplayer overall is good, my lyrics also refer to its implementation, but it plays in the time, there is a problem, is fast-forward, the drag bar displayed on the time and fast-forward after the song playback is not the same, like, Cause someone else to drag the lyrics fast forward, will appear, such as plainly fast into the 1:20, put hands, found that the player has played 1:28 points of the song, of course I just run to see a bit.

(2) Musique, Project Https://github.com/tulskiy/musique. This player is seen from http://xpenxpen.iteye.com/blog/2170947 above, this article, strongly recommend everyone to see. As the article says, it's just too powerful. At the moment I simply go to invoke its code, of course, after integration, found that the KSC karaoke lyrics in the gradient transition is still not smooth. In the following days, take a look at its code and then rearrange my player. But I have to mention, I do not know whether it is my habit of the problem, I see its project, it is very messy ah.

(3) based on the Java sound API. http://xpenxpen.iteye.com/blog/2170947 above also said, it just add the relevant format of the song jar package, you can not modify the main code case, support a variety of formats of songs. With the way the article plays the song and displays the lyrics, the lyrics fade more smoothly. Of course, in the fast forward aspect, has not realized, has not released. Later should refer to Javazoom.jlgui.basicplayer, but with the javazoom.jlgui.basicplayer above the code to play songs, found that the lyrics of the gradient or not smooth, really strange.

(4) based on JMF. Using this development music player, found that the lyrics are the most fluent, but more trouble, if you want to support MP3, to install JMF software, and do not seem to support 64-bit, I expressed good helplessness.

(5) Other. There may be other, I did not search.

Say, so much, come back to Lele player here. Lele Music player, before is an Android version of the music player, related to the connection

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

The main reason is that the core code is developed in Java, and it can be ported to Java swing. Therefore, the reference to the cool dog interface, on the basis of the previous player, the implementation of a number of new features.

The functions implemented are:

(1) Song playback, this is based on musique to write. I don't know if it counts.

(2) Add song list, scan song files and songs folder.

(3) interface lyrics, fast-forward interface song, karaoke lyrics, desktop lyrics.

(4) Change the skin, is simply change a piece.

Preview:

At last:

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

Java Music player-Lele Music (PC version)

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.