SlideShare una empresa de Scribd logo
1 de 20
Descargar para leer sin conexión
|| Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
Never has so much music been
           heard…never has been so much
           music available




 We analyze all the music of
   the world to: organize it,
enable new interactions and
                   monitor it


                       || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
BMAT is a global company servicing more than 25 countries in 4 continents with headquarters in
Barcelona and offices in Mexico DF




                                             || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
|| Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
And we're hiring... too!




        || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
|| Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
 Country:       UK
 Record Labels: Acid Jazz, Sony BMG, Columbia
 Genres:        Funk, Disco, Acid Jazz, Jazz Fusion, Pop­rock
 Years active:  1992 ­ present
 Associated acts: Brand New Heavies, Guru, Julian Perretta




                             || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
 Country:       UK
 Record Labels: Acid Jazz, Sony BMG, Columbia
 Genres:        Funk, Disco, Acid Jazz, Jazz Fusion, Pop­rock
 Years active:  1992 ­ present
 Associated acts: Brand New Heavies, Guru, Julian Perretta


 Mood:        upbeat, energetic
 Rhythm:      120bpm, no rubato, high percusiveness
 Key:         Dm
 Tags:        acid jazz funk dance
 Sounds like: Sereia (Tiefschwarz Radio Edit) by Mundo Azul




                             || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
ELLA :: Search and Recommendation API



  “I want some quiet jazz songs while hacking...“
http://ella.bmat.ws/collections/bmat/tracks/search.xspf? 
        q=mood:relaxed+speed:slow+track_genre:Jazz




                           || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
Search for U2
http://ella.bmat.ws/collections/bmat/artists/search?q=u2

(output formats are: .xml, .json, .jsonp, .xspf, .m3u, .tsv, .txt)

import pyella


results = pyella.search_artists('u2')
for artist in results.get_next_page():
    print artist.get_id(), artist.get_mbid(), artist.get_name(), 
          artist.get_links(), artist.get_tags()




                                     || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
U2 Similar Artists
http://ella.bmat.ws/collections/bmat/artists/75e4aefb-f594-4ed4-b8ff-9a83fbd54dd3/similar/artists.xml




import pyella


artist = pyella.search_artists('u2').get_next_page()[0]
print artist.get_similar()




                                                || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
Search for One by U2

http://ella.bmat.ws/collections/bmat/tracks/search?q=u2+one



import pyella


results = pyella.search_tracks('u2 one')
for track in results.get_next_page():
    print track.get_mbid(), track.get_title(), 
          track.get_artist_name()
    #get spotify URIs or grooveshark for full tracks



                                 || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
Similar tracks of One by U2
http://ella.bmat.ws/collections/bmat/tracks/search?q=u2+one
http://ella.bmat.ws/collections/bmat/tracks/341f19e3-39a4-...-f259/similar/tracks.xml




import pyella


track = pyella.search_tracks('u2 one').get_page(0)[0]
print track, track.get_similar()




                                        || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
Similar tracks, now with filters
http://ella.bmat.ws/collections/bmat/tracks/341f19e3-39a4-...-f259/similar/tracks.xml?filters=mood:blue+speed:slow




import pyella


LIMIT = 20
searcher = pyella.search_tracks('u2 one')
track = searcher.get_next_page()[0]


filter = []
filter.append('mood:blue')
filter.append('speed:slow')
print track.get_artist_name(), track.get_album_title(), track.get_title()
for sim_track in track.get_similar(limit=LIMIT, filter=filter):
    print sim_track, sim_track.get_audio()




                                                       || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
Search for blues, slow & sad
http://ella.bmat.ws/collections/bmat/tracks/search.xspf?q=track_genre:Blues+mood:relaxed+speed:slow




import pyella
COLLECTION = 'bmat'
filter = []
filter.append('mood:blue')
filter.append('speed:slow')
filter.append('track_genre:Blues')
searcher = pyella.search_tracks(None, COLLECTION, filter=filter)
print searcher.get_total_result_count()


for track in searcher.get_page(0):
    print track.get_mbid(), track


                                                || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
Indie Pop music

http://ella.bmat.ws/collections/tags/tags/search?q=indie+pop



import pyella
tag = pyella.search_tags('indie pop').get_page(0)[0]




                               || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
Indie Pop Artists
http://ella.bmat.ws/collections/tags/tags/indiepop/similar/collections/bmat/artists



import pyella


tag = pyella.search_tags('indie pop').get_page(0)[0]
print tag.get_artists()




                                         || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
Indie Pop Playlist
http://ella.bmat.ws/collections/tags/tags/indiepop/similar/collections/bmat/tracks.xml



import pyella


tag = pyella.search_tags('indie pop').get_page(0)[0]
print tag.get_tracks()
#[Grammatics ­ The Vague Archive, Miracle Fortress ­ Hold Your Secrets to 
Your Heart, The Playwrights ­ Lies of the Suburbs, The Diminisher ­ Timshael, 
The Magic Whispers ­ A Right to Be Lazy, ...]




                                         || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
Indie Pop similar tags

http://ella.bmat.ws/collections/tags/tags/indiepop/similar/tags.txt



import pyella
tag = pyella.search_tags('indie pop').get_page(0)[0]


print tag.get_similar()
# [(1.0, u'indiepop'), (0.9064, u'indierock'), (0.8656, 
u'alternativepop'), (0.8653, u'indie'), (0.8606, u'brit'), (0.8536, 
u'dreampop'), (0.8383, u'britpop'), (0.8287, u'lofi')]




                                   || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
ELLA Resources
●   Documentation
        –   User:     musichackday
        –   Passwd: mhdbcn2010_
        –   https://secure.bmat.com/ella-doc/musichackday/index.html


●   Download Python wrapper: pyella.py
    ●   http://github.com/ocelma/pyella


●   BMAT People at MusicHackDay
    ●   Pau Capella
    ●   Martin Blech
    ●   Artur Honzawa
    ●   ...and myself (Oscar Celma)
                                         || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||

Más contenido relacionado

Más de Oscar Celma

Music Recommendation and Discovery in the Long Tail
Music Recommendation and Discovery in the Long TailMusic Recommendation and Discovery in the Long Tail
Music Recommendation and Discovery in the Long TailOscar Celma
 
The Quest for Musical Genres: Do the Experts and the Wisdom of Crowds Agree?
The Quest for Musical Genres: Do the Experts and the Wisdom of Crowds Agree?The Quest for Musical Genres: Do the Experts and the Wisdom of Crowds Agree?
The Quest for Musical Genres: Do the Experts and the Wisdom of Crowds Agree?Oscar Celma
 
From hits to niches? ...or how popular artists can bias music recommendation ...
From hits to niches? ...or how popular artists can bias music recommendation ...From hits to niches? ...or how popular artists can bias music recommendation ...
From hits to niches? ...or how popular artists can bias music recommendation ...Oscar Celma
 
Music Recommendation and Discovery in...which Web?
Music Recommendation and Discovery in...which Web?Music Recommendation and Discovery in...which Web?
Music Recommendation and Discovery in...which Web?Oscar Celma
 
Annotating Music Collections: How Content-Based Similarity Helps to Propagate...
Annotating Music Collections: How Content-Based Similarity Helps to Propagate...Annotating Music Collections: How Content-Based Similarity Helps to Propagate...
Annotating Music Collections: How Content-Based Similarity Helps to Propagate...Oscar Celma
 
Music Recommendation Tutorial
Music Recommendation TutorialMusic Recommendation Tutorial
Music Recommendation TutorialOscar Celma
 

Más de Oscar Celma (7)

Buddhafy
BuddhafyBuddhafy
Buddhafy
 
Music Recommendation and Discovery in the Long Tail
Music Recommendation and Discovery in the Long TailMusic Recommendation and Discovery in the Long Tail
Music Recommendation and Discovery in the Long Tail
 
The Quest for Musical Genres: Do the Experts and the Wisdom of Crowds Agree?
The Quest for Musical Genres: Do the Experts and the Wisdom of Crowds Agree?The Quest for Musical Genres: Do the Experts and the Wisdom of Crowds Agree?
The Quest for Musical Genres: Do the Experts and the Wisdom of Crowds Agree?
 
From hits to niches? ...or how popular artists can bias music recommendation ...
From hits to niches? ...or how popular artists can bias music recommendation ...From hits to niches? ...or how popular artists can bias music recommendation ...
From hits to niches? ...or how popular artists can bias music recommendation ...
 
Music Recommendation and Discovery in...which Web?
Music Recommendation and Discovery in...which Web?Music Recommendation and Discovery in...which Web?
Music Recommendation and Discovery in...which Web?
 
Annotating Music Collections: How Content-Based Similarity Helps to Propagate...
Annotating Music Collections: How Content-Based Similarity Helps to Propagate...Annotating Music Collections: How Content-Based Similarity Helps to Propagate...
Annotating Music Collections: How Content-Based Similarity Helps to Propagate...
 
Music Recommendation Tutorial
Music Recommendation TutorialMusic Recommendation Tutorial
Music Recommendation Tutorial
 

Bmat ELLA Music Hack Day Barcelona