Quantcast
Channel: The Echo Nest Developer Forum
Viewing all 1582 articles
Browse latest View live

Setting artist hottnesss also sets artist familiarity?

$
0
0

hi

Again i did some testing on this: First i use a dynamic/info call to see if there are any values already set. This first dynamic/info call shows me that there are no values set. After that i use a dynamic/steer call to set the max_artist_hottness and min_artist_hottnesss values. After this i use a dynamic/info call again to check the state of the dynamic playlist. This second dynamic info call shows me that the max_artist_familiarity was set to excactly the same value as the max_artist_hottnesss.

Julius


Setting artist hottnesss also sets artist familiarity?

$
0
0

Julius, looks like you found a bug in the API. These two parameters are supposed be completely independent. We'll take a look and update this thread when it's fixed

Thanks for alerting us.

Is it possible to determine top ranked songs across taste profiles?

$
0
0

Paul - Thanks for the response. I suppose one way to do this is to read all the song information from all the taste profiles under my API key and then do my own sorting. Do you have some advice as to a more efficient way to accomplish this? I had hoped that a workaround might be that the song search method might allow me to restrict the search to a single taste profile and return the top 25 songs per taste profile based on play count but that doesn't appear possible. Any advice you have would be greatly appreciated. Much thanks.

Problem compiling in iOS

$
0
0

I have the same issue when building the echoprint-ios-sample application.

Problem compiling in iOS

$
0
0

I've posted the issue with more details on github: https://github.com/echonest/echoprint-ios-sample/issues/7#issuecomment-28405396

/playlist/ returns "The Identifier specified does not exist"

$
0
0

David,

This song is not in your database, but I want to find similar songs.

Mikhael

Hardware

$
0
0

What operating system do you recommend to install echoprint-server. What is the minimum equipment would you recommend for lifting service? Where can I read about your servers? I nteresuet technical component at the hardware level.

Unable to use multiple buckets at same time

$
0
0

Hi I am trying to call the top_hottt function with multiple compatible buckets to be filled but somehow the url gets updated and it takes in the last bucket only. I would want something where i can have multiple values of the bucket. Below is the small snippet of code of how i am trying to achieve the same. I am using .net platform

var parameters = {
"api_key": "12345678", "results": "2", "start": "0", "bucket": "id:7digital-US", "bucket": "familiarity",
"bucket": "hotttnesss", "bucket": "images", "format": "jsonp" };

$.ajax({
    crossDomain: true,
    dataType: 'jsonp',
    jsonpCallback: "topArtist",
    url: "http://developer.echonest.com/api/v4/artist/top_hottt",
    data: parameters,
    success: function (callback) {
        getArtists(callback.response.artists);
    },
    error: function (error) {
        console.log(error);
        console.log("error");
    }
});

Unable to use multiple buckets at same time

$
0
0

Your parameters are being overwritten by JavaScript; you actually want to define your parameters this way:

var parameters = { "api_key": "12345678",
                   "results": "2", "start": "0", "bucket": ["id:7digital-US", "familiarity",  
                                                             "hotttnesss", "images"]};

If you cut and paste your parameters definition into the browser, and take a look at the resulting object, you'll see it only has one value for bucket.

I'd also not bother with JSONP. If you have a modern version of jQuery, it's also helpful to do the success and error functions using the promise API. I'd make the call to the Echo Nest like this:

$.ajax({dataType:'json', 'url':'http://developer.echonest.com/api/v4/artist/top_hottt',
        data:parameters, traditional: true})
 .then(function(data){
           getArtists(data.response.artists);
       }, function(){
           console.log('error', arguments);
       }

The interesting change here is the traditional:true. This tells jQuery to serialize your array into a form it can understand.

/playlist/ returns "The Identifier specified does not exist"

$
0
0

Mikhael,

We currently don't do song radio based on uploaded tracks. You'll need to choose a seed artist and perhaps use the analysis attributes (tempo, energy, acousticness, etc.) of your track to search for acoustically similar songs in that artist's genre.

David

/playlist/ returns "The Identifier specified does not exist"

$
0
0

Thank you. In the future, this will be an opportunity? Hope so.

Mikhael

How do I get a random but large dump of artists?

$
0
0

Thanks Paul, I'll look into that!

Also, this may not be the appropriate venue for this but I'm a big fan of you're Music Machinery blog. I especially loved your pretty hilarious PAPPA.

Cheers,

Alex

Codegen w/ special characters in filename (e.g. '$') - LInux

$
0
0

Ah OK, I see. There are two intertwining issues here, and the confusion came from the fact that they both cause the same error message. The two issues that you need to look out for are the following:

The reason that the $ signs are problematic is that the codegen launches a subshell to invoke ffmpeg. This subshell will interpret the $ signs as special shell metacharacters, so the whole thing gets expanded to a filename that doesn't exist. It might be possible to do some shell quoting magic to get such filenames passed correctly to ffmpeg, but even if it works it's going to be ugly. This is a bug in the codegen. The workaround in the meantime is to rename the files.

The second thing to watch out for has nothing to do with $ signs. But rather, the filename in the "-s" input file list is relative to the current directory, so make sure that the files referenced in the list actually reside there, or that you are instead referring to these files by their absolute path name.

Andrew

Codegen w/ special characters in filename (e.g. '$') - LInux

$
0
0

OK, gotcha. It crossed my mind that it might be an escaping/encoding issue within codegen, or within a subsidiary process. I'll go with the workaround for now. Thanks for the help & clarification!

(nearly) identical results for repeated mixes

$
0
0

Hi,

I've got a recipe I've been using for a while:

{
  "artist": [
    "yes",
    "genesis",
    "pink floyd",
    "king crimson",
    "emerson lake and palmer"
  ],
  "description": [
    "art rock",
    "progressive rock",
    "british rock"
  ],
  "type": "artist-radio",
  "variety": "1",
  "distribution": "wandering",
  "artist_start_year_after": 1971,
  "artist_end_year_before": 1989,
  "bucket": [
    "id:deezer",
    "tracks"
  ]
}

Today this always would return Yes' "Roundabout" or "Owner of a lonely heart", followed by Genesis "Land of Confusion" or "That's all", and Pink Floyd's "Wish you were here" or "Comfortably numb" as the first tracks. I've run this mix a few dozen times, always with the same results. I varied the bucket between deezer, spotify, rdio and 7digital. Didn't help.

Is there something wrong today? With me, the recipe or your magic?

Michael


(nearly) identical results for repeated mixes

$
0
0

Hi Mherger - I'm not clear exactly what the issue is. Could you send along the exact API call you are making, along with a description of the results you were expecting vs. the results you are actually getting? Thanks! Paul

(nearly) identical results for repeated mixes

$
0
0

Here's the full request (less api key etc.):

http://developer.echonest.com/api/v4/playlist/static?_=1384961698349&artist=yes&artist=genesis&artist=pink%20floyd&artist=king%20crimson&artist=emerson%20lake%20and%20palmer&description=art%20rock&description=progressive%20rock&description=british%20rock&type=artist-radio&variety=1&distribution=wandering&artist_start_year_after=1971&artist_end_year_before=1989&bucket=id%3Ardio-US&api_key=XXXX

What I'd expect is some variety. But the no matter how often I load this (with changing _ parameters, of course), I would always get very similar to almost identical results. As described in my first posting, the first three tracks would be the same three artists with two of their popular tracks. That much variety I did get, but not much more.

I tested this with two different browsers and programmatically. With various buckets. While the tracks do fit my criteria, I would have expected more variety. But the results were repeating, over and over again.

(nearly) identical results for repeated mixes

$
0
0

mherger - indeed, we've made a minor change to our static playlisting that is probably resulting in this issue. With a recent change, when you use N seeds for artist radio we will work to ensure that the first N songs in the playlist are by each of the seed artists. Due to a whole bunch of other factors and complexities, in some playlists this can result in there being only a few song candidates for each of the first N positions in the playlist, leading to the lack of variety that you are seeing. We are going to take a closer look to see if we can better avoid this behavior. -- Paul

(nearly) identical results for repeated mixes

$
0
0

FWIW: I've seen the same with dynamic mixes as well. I only used the static mixes for the quick test in the browser, but my application is using dynamic mixes. And that's where I saw it first.

I think the news feeds are broken

$
0
0

Hi, I noticed that there hasn't been any new news updates since the 17th. For example if you look at this RSS feed http://developer.echonest.com/artist/Kanye/blogs.rss?api_key=MOSZHNRZPAWMFRH3I you can see that it hasn't been updated since the 17th.

Viewing all 1582 articles
Browse latest View live