Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mulfordjc committed Mar 1, 2015
1 parent 004db22 commit 1d6a4a5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ We want to determine the best transitions between 2 songs if we ignore the tempo

### 1. Mini-abstract and relevance of [Echonest API]

The Ehonest API is an API for song related information. It has methods that allow the user to get song information. Using the pyechonest.track module, you can find the relevant information of a segment to make a good transition. The information needed is pitch, duration, timbre, and loudness.
The Echonest API is an API for song related information. It has methods that allow the user to get song information. Using the pyechonest.track module, you can find the relevant information of a segment to make a good transition. The information needed is pitch, duration, timbre, and loudness.

```python
import pyechonest.track as track
Expand All @@ -39,7 +39,9 @@ for i in range(0,len(t.segments)):

### 2. Mini-abstract and relevence of [Infinite Jukebox]

derp.
The Infinite Jukebox is a piece of software developed using the Echonest API. The goal of this software is to give it a song, and it calculates jumps in the song where a transition can be made that fits the flow of the music. Transitions are determined based on the weighted Euclidean distance between the timbre, pitch, duration, and loudness of the segments. If the distance is below a given threshold, the transition will be "good".

This algorithm can be easily modified to ignore distance. For our purpose, the weighted Euclidean distance will not include the duration, but the pitch, timbre, and loudness will be used. This will fulfil our purpose of determining a good transition in a song with ignoring tempo, and allows us to better determine transitions between 2 songs if the tempo varies between them.


[Echonest API]: http://developer.echonest.com/docs/v4
Expand Down

0 comments on commit 1d6a4a5

Please sign in to comment.