More Related Content
More from Oscar Celma (7)
Bmat ELLA Music Hack Day Barcelona
- 1. || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
- 2. 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 ||
- 3. 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 ||
- 4. || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
- 5. And we're hiring... too!
|| Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
- 6. || Barcelona | 2010.09.29 | Future Music Forum | Digital Music Innovation || © 2010 BMAT ||
- 8. Country: UK
Record Labels: Acid Jazz, Sony BMG, Columbia
Genres: Funk, Disco, Acid Jazz, Jazz Fusion, Poprock
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 ||
- 9. 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 ||
- 10. 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 ||
- 12. 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 ||
- 13. 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 ||
- 14. 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 ||
- 15. 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 ||
- 19. 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 ||
- 20. 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 ||