POLIFY

We are Polify. An adaptive online radio that will change your hard day at PoliTo.

Who We Are

We are a group of four students of the Politecnico in Turin belonging to Ambient Intelligence course.
We have been asked to create a project and so, here we are!
An adaptive radio which will not let you alone even when you are having your meal in a sad canteen!
What else? Enjoy us!

SERVICES

WHAT WE DO?
The aim of Polify is to improve the breaks and the meal time giving the students who enters in the room beside the bar Katia an environment with familiar music. Polify will automatically play music based on the musical taste of users in the room, a radio that can adapt itself to the constant changing of the audience composition. Users will be profiled by Last.fm service (subscription required) so they can bias the music choice before it is played by listening music at home and setting favorite artists. They cannot change the music that is being played or change the volume or turn the radio off and on.
HOW WE DO THAT?
The non functional requirements of our system are:

EASY TO SHARE

PORTABILITY

The app is usable from any Android 4.0+ based mobile phones

WELL CONNECTED

INTEROPERABILITY

External systems involved: Raspberry pi and Linux system

FAST

EFFICENCY

The response time is ideally most ten seconds


First of all you have to create a Spotify account. Then you have to sign into last.fm. Then last.fm will interact with your Spotify account and it will create a playlist based on the most widespread artists in the Spotify accounts of all people present into the Katia canteen. This is thanks to a cloud service named "Echo Nest".

READ US

SIGN IN

ENJOY YOUR MUSIC

OUR PROCESS

Our process is straight forward, simple and successful.

Before Starting

Here are steps to scrobble your listening to last.fm:

WINDOWS

  1. Click Edit in the menu bar.
  2. Select Preferences.
  3. Click CONNECT TO LAST.FM.
  4. Enter your last.fm Username and Password and press enter.

MAC

  1. Click Spotify in the menu bar.
  2. Select Preferences.
  3. Click CONNECT TO LAST.FM.
  4. Enter your last.fm Username and Password and press enter.

Music Server

1.0.0 The system will check if anyone is in the room. If a track is being played, the control will happen before the end of the track. (Priority 1)
1.0.1 The system will check which users are in the room. If a track is being played, the control will happen before the end of the track. (Priority 1)
1.1.0 Silent mode: The system will not play music when no one is in the room. (Priority 1)
1.2.0 Generic mode: The system will create a playlist based on top five worldwide artists if in the room there is no user and play a music track (Priority 3)
1.3.0 Subscriber mode: The system will create a playlist based on user profile whenever a user is in the room. (Priority 1)
1.3.1 The system will sort the artists listened by the users, giving priority to the ones in common with the most of users (Priority 1)
1.3.2 The playlist will be based on the top five of the sorted list of the previous point if more than one user is in the room.(Priority 1)

Interface

2.1 The interface is a mobile app. (Priority 1)
2.2 The app allow user to insert Last.fm username to let the system collect its music profile. (Priority 1)
2.3 The app shows information about the track being played. (Priority 3)
2.4 The information are composed by Album Cover, Artist name, Album name, Track name, Biography of the artists, next event for the artist (if present) (Priority 3)
2.5 The user can set the artist being played as favorite or banned. (Priority 2)
2.6 The app will alert the system if the user is in the room. (Priority 1)
2.7 In order to the system capability to work, every internet services (echo nest, spotify and last.fm) and internet connection must work smoothly. (Priority 1)

COMPONENTS

SOFTWARE COMPONENTS


  1. Dog Gateway API Version 1.0: is a cloud service that allows to manage the presence sensor through Rest Api
  2. Last.fm API Version 2.0: a cloud service that provides information about subscribed users and about artists. It’s connected to single user private Spotify account and tracks what is heard by the user at home. This info is later used by Polify. It interacts with the most common devices connected to the internet, such as: mobile phones, computer, tablet, iPod.
  3. Echo Nest API Version 4: a cloud service that creates custom dynamic playlist based on several parameter and provides information about artists
  4. Mopidy v 0.19.5: an application that provides access to Spotify on computational node; only used to play the music selected by echo nest, it is basically a media player controlled through REST
  5. Polify: It asks to Last.fm for a list of listened artists of every single user in the room and it merge those lists. The result is reorganized in a way accepted by Echo-nest and sent to it, which returns a song with its Spotify link. This link is given to Mopidy that is in charge to play the song.
  6. Mobile app: provides information to Polify about which users are in the room. At the same time receive for Polify information about the music that is being played and allow the user to give an opinion (like/dislike) about it. The users opinion can change the playlist.
  7. Database: It runs on a internet server and exchange data between Polify and the mobile app, such as subscribed users, users currently in the room and music info.

HARDWARE COMPONENTS


  1. Raspberry Pi
  2. Wireless Network: Necessary to identify subscribed users in the room
  3. Presence sensor: It is placed at the entrance of the canteen so that it can detect each person entering and it is managed through a Dog Gateway system
  4. Actuators: active speakers
  5. User's interface devices: Android smartphones, needed to identify users in the room and provide information about music and artist being played

TEAM

We are Polify. A team of four students of the Politecnico in Turin. 
We developed an adaptive online radio that will relieves the fatigue of the students during their hard days in PoliTo.

52dd1e57e64ce6cb200004f3_image1.png

FRANCESCO RESTA

Information and Communication Technologies Engineering
52dd1edfe64ce6cb200004fb_image2.png

FABRIZIO CONGIA

Electronic Engineering


52dd1efcad165eca20000539_image3.png

ANNA RITA ALTAMURA

Physics Engineering

52dd1e57e64ce6cb200004f3_image4.png

CLAUDIA FUENTES

Architecture


CONTACT

Thanks for taking the time to contact us!
We do our best to respond to quickly, it could take us 1-2 business days to get back to you. Feel free to say hello!


Thank you! Your submission has been received!

Oops! Something went wrong while submitting the form :(