echonest analyzer를 사용하여 트랙을 업로드하고 일부 오디오 특성을 추출합니다.EchoNest API 분석기를 Spotify로 마이그레이션
나는 말풍선 요청을 보내 이것을했습니다.
API가 이제 Spotify로 완화되었으며 Spotify ID가 지정된 트랙 만 분석하는 대신 분석 할 트랙을 업로드 할 수 있는지 궁금합니다.
$post = array(
"url"=>$title,
"api_key"=>"myAPI",
"format"=>"json"
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, "http://developer.echonest.com/api/v4/track/upload");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch);
$result=json_decode($response,true);
$status=$result['response']['track']['status'];
스포티 파이와 함께이 작업을 수행하는 비슷한 방법이 있나요 :
나는이 방법을 사용하는 데 사용? 감사.오프라인 기능 분석기를 사용할 수는 있지만 원래 모델 here을 교육하기 위해 EchoNest Analyzer를 사용했습니다.
http://stackoverflow.com/questions/37202032/uploading-mp3-files-for-analysis-with-spotify-audio-feature-api에서 No로 응답 – liftarn