35
Music, the Internet, and APIs Alastair Porter October 13, 2011 1/35

Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Music, the Internet, and APIs

Alastair Porter

October 13, 2011

1/35

Page 2: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Outline

1 Introduction

2 The Internet for Music creatorsPublishingOutreach

3 The Internet for Music consumersListeningSocialising

4 The Internet for music developersWhat’s an API?The Internet and music APIsWhat you can make

2/35

Page 3: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Me

Background in Computer ScienceMasters McGill Music TechMusicianProgrammerOnline

http://github.com/alastair (18/26 projects musicrelated)http://twitter.com/alastairporter

3/35

Page 4: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

The Internet for Music creators

A record deal is no longer a requirement for making analbum.Record it on your computer

Pro ToolsGaragebandArdour ($0)

Release it online

4/35

Page 5: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Where to publish

MySpaceBandcamp (http://bandcamp.com)CDBaby (http://cdbaby.com)iTunesAmazon (http://mp3.amazon.com)

5/35

Page 6: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Connecting to fans

TwitterFacebook

Fans can send a message to their favourite artist, and get aresponse back.

6/35

Page 7: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

The Internet for Music consumers

Millions of songs available to listen toTry before you buyThe long tailRecommendation systems (collaborative filtering)

Other people who listen to Katy Perry also listen to LadyGaga

7/35

Page 8: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Online music services

Rdio, Spotify, 7Digital, iTunes

8/35

Page 9: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

The long tail

Music for anyone

http://longtail.com

9/35

Page 10: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Whalecore

Who likes death metal songs about whales?

10/35

Page 11: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Online interaction

Go out without needing to go out: http://turntable.fm

11/35

Page 12: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Gigs

Songkick: Learn about gigs

http://songkick.com

12/35

Page 13: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

MusicBrainz

http://musicbrainz.org

Metadata about artists and albums600,000 artistsnearly 1 million albums

Wikipedia for music and musiciansWho knew who? Who played with who?Rip CDs to MP3 and organise them (MusicBrainz Picard)High quality metadata

13/35

Page 14: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

MusicBrainz

14/35

Page 15: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

The Internet for music developers: APIs

Application Programming InterfaceAn API is a special interface that makes it easy forcomputer programs to get information from anothercomputer systemCompare this to a webpage, which makes it easy forpeople to get information from a computer system

15/35

Page 16: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

MusicBrainz

16/35

Page 17: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

MusicBrainz

What does MusicBrainz look like to a developer?

http://musicbrainz.org/ws/2/artist/

b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d?inc=artist-rels 17/35

Page 18: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Who makes APIs?

(a partial list)

AmazonGoogleFacebookTwitter

Music APIs:Echo NestLast.fmMusicBrainz

If you’re a company then you need to pay for access, but ifyou’re just playing around then it’s usually free.

18/35

Page 19: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

The Echo Nest

http://the.echonest.com

They read about musicWho is talking about this song?Who is talking about artists together?Information about artists

NewsBiographiesPicturesMusic

This person on wikipedia is that person on FacebookR.E.M. is the same as REM

Led ZepGnR

Hotttnesss19/35

Page 20: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

The Echo Nest

Who are the hottest artists being discussed at the moment?

http://hotttnesss.com

20/35

Page 21: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

The Echo Nest

They listen to musicFingerprintingAudio charactistics

What key is it in?What’s the tempo?

DanceabilityWhere are the beats? (the swinger)

21/35

Page 22: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Last.fm

http://last.fm

Social information about musicArtist BiosTagsGigsScrobble

Top tracksRecommendationsThe charts

22/35

Page 23: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Last.fm

Scrobbles per second (currently about 800/second)

http://blog.last.fm/2010/03/19

23/35

Page 24: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Soundcloud

http://soundcloud.com

Automatically upload music to Soundcloud from an appPlay it from any website

24/35

Page 25: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Other music APIs

MusiXmatch: Lyrics (http://musixmatch.com)Songkick gigs (http://songkick.com)Grooveshark: Online music player(http://grooveshark.com)MusiXmatch: Lyrics (http://musixmatch.com)7Digital: MP3s for sale (http://7digital.com)Ticketfly: Ticket sales/gigs (http://ticketfly.com)

These sites can be used by consumers or developers

25/35

Page 26: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Music Hack Day

What can you do with all of these APIs and 24 hours?

15 venues around the world in under 3 yearsBostonNew YorkSan FanciscoLondonBerlinAmsterdamMontreal (last month)

Hundreds of hacks made.

26/35

Page 27: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Scrobbyl

How do you tell last.fm what you are listening to when it’s noton your computer?

http://scrobbyl.com27/35

Page 28: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Fans forever and ever

Whatever happened to the old fan pages on geocities?

http://fansforeverandever.com

28/35

Page 29: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Six degrees of Black Sabbath

Kevin Bacon for music. Based on MusicBrainz relationship data

http://labs.echonest.com/SixDegrees

29/35

Page 30: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

DjTXT

Add songs to a party playlist via txt message

http://djtxt.me

30/35

Page 31: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

AutomaticDJ

Don’t even ask them what songs they like. Automatically guessit based on your facebook profile

http:

//wiki.musichackday.org/index.php?title=AutomaticDJ

31/35

Page 32: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

Danceability

Theory: Dancing without moderation suggests a peak ofirrational exuberance. When dancing reaches a maximal level,the market may be overvalued.

http://evolver.fm/2010/10/18/

musics-danceability-predicts-stock-market

32/35

Page 33: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

The wubmachine

Automatically add dubstep to any song

http://the.wubmachine.com

33/35

Page 34: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

“Developers are the new gatekeepers of music”—Dave Haynes (Soundcloud, Music Hack Day)

34/35

Page 35: Music, the Internet, and APIsich/classes/mumt301_11/porter11apis2.pdf · Outline 1 Introduction 2 The Internet for Music creators Publishing Outreach 3 The Internet for Music consumers

More links

evolver.fm: Daily news about music apps and APIsMusic Hack Day: http://musichackday.orgMusic Machinery (Paul Lamere): A blog about musictechnology. http://musicmachinery.comThe swinger: http://soundcloud.com/plamereMore Cowbell: http://morecowbell.dj/

35/35