JavaFX + Echo Nest


The Echo Nest provides series of web based solutions for better search, recommendation and interactivity on the music web. The Echo Nest API allows you to call methods that respond in REST style XML. Please refer to API documentation for more information.

They also provide a series of data feeds in various formats. Below application is updated version of DraggableMP3Player sample. Now it gets data from "Found Audio Feed" using JavaFX RssTask APIs.

<script src="http://dl.javafx.com/1.2/dtfx.js"></script> <script src="/rakeshmenonp/resource/MP3Player/MP3Player.js"></script>


To launch click on above image or

Type name of artist in TextField and press enter key. It will get the list of songs using Echo Nest feed. Click play to listen to songs! Simple! It will save the last searched artist name using JavaFX Storage APIs.

Note: Most of the media were in MP3 format (not streaming) and hence may take a while to download and play. Please try to incorporate more APIs and write new player..


<script type="text/javascript">var dzone_style = '2';</script> <script language="javascript" src="/rakeshmenonp/resource/MP3Player/zoneit.js"></script>

Comments:

Very nice! Is there a way that I can which artist to listen too? Modest Mouse is nice, but sometimes I like to listen to a few other artists. ;)

Posted by Paul on November 12, 2009 at 09:03 AM IST #

@Paul Thanks! I added a new TextField above the player so as to enter new artist name and search.. Hope this helps.. :)

Posted by Rakesh Menon on November 12, 2009 at 09:44 AM IST #

Cool app. I agree that the Echo nest web services provide great data.

Posted by Sten Anderson on November 12, 2009 at 12:34 PM IST #

Rakesh - neat update. Makes it very useful now. One thing .. on my system, the artist prompt has an invisible background which makes it hard to see. Perhaps it should have an opaque background. (I'm running on a mac)

Posted by Paul on November 12, 2009 at 02:53 PM IST #

@Paul Thanks! I removed some transparency code, now it shows a slightly gray background. I also added functionality to save the last searched artist name. Yes, it can be further enhanced to remember a list of artists :)

Posted by Rakesh Menon on November 13, 2009 at 02:31 AM IST #

@Sten Anderson Thanks! Looking forward to see more innovative apps built on top of Echo Nest services

Posted by Rakesh Menon on November 16, 2009 at 06:18 AM IST #

Post a Comment:
Comments are closed for this entry.
About


The views expressed on this blog are my own and do not necessarily reflect that of my organization

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today