Gracenote API - MusicHackDay

2,234 views
2,040 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,234
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Gracenote API - MusicHackDay

  1. 1. API Walkthrough @ MusicHackDay Stockholm 13 Òscar Celma (@ocelma)these slides are already available at http://slideshare.net/ocelma
  2. 2. Gracenote● Founded in 1998● Offices in the U.S. (SF Bay Area), Japan, Korea, Taiwan and Germany● 300+ employees
  3. 3. Business Verticals Music Video AutomotiveMusic recognition for Cloud Interactive Program Guide – TV Music recognition, playlisting and services and Apps Listings metadata clean-up Audio and video recognition for Cover Art and Artist ImagesDiscovery and playlisting Second screen AppsLinking Enhanced voice recognition Smart recommendations
  4. 4. Some numbers...
  5. 5. Business Verticals Music Video AutomotiveMusic recognition for Cloud Interactive Program Guide – TV Music recognition, playlisting and services and Apps Listings metadata clean-up Audio and video recognition for Cover Art and Artist ImagesDiscovery and playlisting Second screen AppsLinking Enhanced voice recognition Smart recommendations
  6. 6. Business Verticals Music Video AutomotiveMusic recognition for Cloud Interactive Program Guide – TV Music recognition, playlisting and services and Apps Listings metadata clean-up Audio and video recognition for Cover Art and Artist ImagesDiscovery and playlisting Second screen AppsLinking Enhanced voice recognition Smart recommendations
  7. 7. 3 developer platforms
  8. 8. Web API● Delivers a rich set of music metadata (XML)● Text Search Query● Returns – Artist: genres, origin, decades, images, bio, … – Album: cover art, track listing, … – Track: tempo, mood, …
  9. 9. Web API● Wrappers ● Python  https://github.com/cweichen/pygn  ● PHP  https://github.com/richadams/php­gracenote ● Java  https://github.com/richadams/java­gracenote
  10. 10. Web API● Wrappers ● Python  https://github.com/cweichen/pygn  ● PHP  https://github.com/richadams/php­gracenote ● Java  https://github.com/richadams/java­gracenote
  11. 11. Web API import pygn # Get it at https://github.com/cweichen/pygn  clientID = XXXXXX­XXXXXXXXXXXXXXXXXX userID   = pygn.register(clientID) # only call it once! metadata = pygn.searchTrack(clientID, userID,  Backyard Babies,  ,  Minus Celsius)
  12. 12. Web API import pygn # Get it at https://github.com/cweichen/pygn  clientID = XXXXXX­XXXXXXXXXXXXXXXXXX userID   = pygn.register(clientID) # only call it once! metadata = pygn.searchTrack(clientID, userID,  Backyard Babies,  ,  Minus Celsius)
  13. 13. Web API import pygn # Get it at https://github.com/cweichen/pygn  clientID = XXXXXX­XXXXXXXXXXXXXXXXXX userID   = pygn.register(clientID) # only call it once! metadata = pygn.searchTrack(clientID, userID,  Backyard Babies,  ,  Minus Celsius)
  14. 14. Web API import pygn # Get it at https://github.com/cweichen/pygn  clientID = XXXXXX­XXXXXXXXXXXXXXXXXX userID   = pygn.register(clientID) # only call it once! metadata = pygn.searchTrack(clientID, userID,  Backyard Babies,  ,  Minus Celsius) Medium Tempo, Heavy Brooding song by a Swedish Defiant Punk band from the 1990s
  15. 15. Web API import pygn # Get it at https://github.com/cweichen/pygn  clientID = XXXXXX­XXXXXXXXXXXXXXXXXX userID   = pygn.register(clientID) # only call it once! metadata = pygn.searchTrack(clientID, userID,  Backyard Babies,  ,  Minus Celsius) Medium Tempo, Heavy Brooding song by a Swedish Defiant Punk band from the 1990s
  16. 16. Web API import pygn # Get it at https://github.com/cweichen/pygn  clientID = XXXXXX­XXXXXXXXXXXXXXXXXX userID   = pygn.register(clientID) # only call it once! metadata = pygn.searchTrack(clientID, userID,  Backyard Babies,  ,  Minus Celsius) Medium Tempo, Heavy Brooding song by a Swedish Defiant Punk band from the 1990s
  17. 17. Web API import pygn # Get it at https://github.com/cweichen/pygn  clientID = XXXXXX­XXXXXXXXXXXXXXXXXX userID   = pygn.register(clientID) # only call it once! metadata = pygn.searchTrack(clientID, userID,  Backyard Babies,  ,  Minus Celsius) Medium Tempo, Heavy Brooding song by a Swedish Defiant Punk band from the 1990s
  18. 18. Web API import pygn # Get it at https://github.com/cweichen/pygn  clientID = XXXXXX­XXXXXXXXXXXXXXXXXX userID   = pygn.register(clientID) # only call it once! metadata = pygn.searchTrack(clientID, userID,  Backyard Babies,  ,  Minus Celsius) Medium Tempo, Heavy Brooding song by a Swedish Defiant Punk band from the 1990s
  19. 19. Web API import pygn # Get it at https://github.com/cweichen/pygn  clientID = XXXXXX­XXXXXXXXXXXXXXXXXX userID   = pygn.register(clientID) # only call it once! metadata = pygn.searchTrack(clientID, userID,  Backyard Babies,  ,  Minus Celsius) Medium Tempo, Heavy Brooding song by a Swedish Defiant Punk band from the 1990s
  20. 20. 3 developer platforms
  21. 21. Mobile Client● iOS & Android SDK● Provides all Web API functionality PLUS ● Library identification (audio fingerprinting) ● Streaming "Over The Air" identification● Sample iOS & Android application in SDK
  22. 22. 3 developer platforms
  23. 23. GNSDK● Good for hardcore C programmers!● Desktop applications ● Library identification (audio fingerprinting)● Example apps ● Mood Grid & Playlisting (local collection)
  24. 24. GNSDK● Moodgrid
  25. 25. GNSDK● Playlist generation    GENERATE PLAYLIST     WHERE       GN_Tempo > 120 AND       GN_Mood LIKE SEED AND      GN_Genre LIKE SEED    LIMIT 5 PER GN_ArtistName
  26. 26. GNSDK
  27. 27. Prizes● Theme “please, not another iP*d or Android!”● $300 (per team) Shopping Cart. Select from: Arduino Raspberry Pi Makey Makey ??? Nike FuelBand Sony (waterproof! or similar)
  28. 28. Ideas● Facebook likes (or Last.fm music activity) + Gracenote metadata create a visualization of a user’s music collection and tastes, or his/her friend’s music tastes● Mood-based exploration/navigation of your local collection● Mood Lighting Change the ambient of a room, according to the mood/tempo of the song
  29. 29. Contacthttps:// @GracenoteDev Oscar Celma (@ocelma) Get These Slides at http://slideshare.net/ocelma

×