{"action":"created","comment":{"url":"https://api.github.com/repos/MTG/essentia/pulls/comments/31236217","id":31236217,"diff_hunk":"@@ -0,0 +1,406 @@\n+/*\n+ * Copyright (C) 2006-2013  Music Technology Group - Universitat Pompeu Fabra\n+ *\n+ * This file is part of Essentia\n+ *\n+ * Essentia is free software: you can redistribute it and/or modify it under\n+ * the terms of the GNU Affero General Public License as published by the Free\n+ * Software Foundation (FSF), either version 3 of the License, or (at your\n+ * option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful, but WITHOUT\n+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n+ * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more\n+ * details.\n+ *\n+ * You should have received a copy of the Affero GNU General Public License\n+ * version 3 along with this program.  If not, see http://www.gnu.org/licenses/\n+ */\n+\n+#include \"multipitch.h\"\n+#include \"essentiamath.h\"\n+\n+using namespace std;\n+using namespace essentia;\n+using namespace standard;\n+\n+namespace essentia {\n+namespace standard {\n+\n+\n+const char* MultiPitch::name = \"MultiPitch\";\n+const char* MultiPitch::version = \"1.0\";\n+const char* MultiPitch::description = DOC(\"TO DO !!!!This algorithm estimates multiple fundamental frequency contours from the input signal. It is a multi pitch version of the MELODIA algorithm described in [1]. While the algorithm is originally designed to extract melody in polyphonic music, this implementation is adapted for multiple sources. The approach is based on the creation and characterization of pitch contours, time continuous sequences of pitch candidates grouped using auditory streaming cues. To this end, PitchSalienceFunction, PitchSalienceFunctionPeaks, PitchContours, and PitchContoursMonoMelody algorithms are employed. It is strongly advised to use the default parameter values which are optimized according to [1] (where further details are provided) except for minFrequency, maxFrequency, and voicingTolerance, which will depend on your application.\\n\"","path":"src/algorithms/tonal/multipitch.cpp","position":33,"original_position":33,"commit_id":"865d77644f0fe2e2e6be588a597ac4b2c87a4a20","original_commit_id":"865d77644f0fe2e2e6be588a597ac4b2c87a4a20","user":{"login":"dbogdanov","id":409668,"avatar_url":"https://avatars.githubusercontent.com/u/409668?v=3","gravatar_id":"","url":"https://api.github.com/users/dbogdanov","html_url":"https://github.com/dbogdanov","followers_url":"https://api.github.com/users/dbogdanov/followers","following_url":"https://api.github.com/users/dbogdanov/following{/other_user}","gists_url":"https://api.github.com/users/dbogdanov/gists{/gist_id}","starred_url":"https://api.github.com/users/dbogdanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbogdanov/subscriptions","organizations_url":"https://api.github.com/users/dbogdanov/orgs","repos_url":"https://api.github.com/users/dbogdanov/repos","events_url":"https://api.github.com/users/dbogdanov/events{/privacy}","received_events_url":"https://api.github.com/users/dbogdanov/received_events","type":"User","site_admin":false},"body":"Any references for details of MultiPitch algorithm?","created_at":"2015-05-28T14:07:54Z","updated_at":"2015-05-28T14:07:54Z","html_url":"https://github.com/MTG/essentia/pull/256#discussion_r31236217","pull_request_url":"https://api.github.com/repos/MTG/essentia/pulls/256","_links":{"self":{"href":"https://api.github.com/repos/MTG/essentia/pulls/comments/31236217"},"html":{"href":"https://github.com/MTG/essentia/pull/256#discussion_r31236217"},"pull_request":{"href":"https://api.github.com/repos/MTG/essentia/pulls/256"}}},"pull_request":{"url":"https://api.github.com/repos/MTG/essentia/pulls/256","id":36147508,"html_url":"https://github.com/MTG/essentia/pull/256","diff_url":"https://github.com/MTG/essentia/pull/256.diff","patch_url":"https://github.com/MTG/essentia/pull/256.patch","issue_url":"https://api.github.com/repos/MTG/essentia/issues/256","number":256,"state":"open","locked":false,"title":"new melody-related extractors","user":{"login":"NadineKroher","id":9109103,"avatar_url":"https://avatars.githubusercontent.com/u/9109103?v=3","gravatar_id":"","url":"https://api.github.com/users/NadineKroher","html_url":"https://github.com/NadineKroher","followers_url":"https://api.github.com/users/NadineKroher/followers","following_url":"https://api.github.com/users/NadineKroher/following{/other_user}","gists_url":"https://api.github.com/users/NadineKroher/gists{/gist_id}","starred_url":"https://api.github.com/users/NadineKroher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NadineKroher/subscriptions","organizations_url":"https://api.github.com/users/NadineKroher/orgs","repos_url":"https://api.github.com/users/NadineKroher/repos","events_url":"https://api.github.com/users/NadineKroher/events{/privacy}","received_events_url":"https://api.github.com/users/NadineKroher/received_events","type":"User","site_admin":false},"body":"- vibrato detection\r\n- monophonic MELODIA version\r\n- multi-pitch MELODIA version\r\n- generic multi-pitch implementation (Klapuri)\r\n- pitch contour segmentation for note transcription","created_at":"2015-05-25T16:05:54Z","updated_at":"2015-05-28T14:07:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"917235775f4931139248f4a2fac384dcb551673a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MTG/essentia/pulls/256/commits","review_comments_url":"https://api.github.com/repos/MTG/essentia/pulls/256/comments","review_comment_url":"https://api.github.com/repos/MTG/essentia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MTG/essentia/issues/256/comments","statuses_url":"https://api.github.com/repos/MTG/essentia/statuses/865d77644f0fe2e2e6be588a597ac4b2c87a4a20","head":{"label":"NadineKroher:master","ref":"master","sha":"865d77644f0fe2e2e6be588a597ac4b2c87a4a20","user":{"login":"NadineKroher","id":9109103,"avatar_url":"https://avatars.githubusercontent.com/u/9109103?v=3","gravatar_id":"","url":"https://api.github.com/users/NadineKroher","html_url":"https://github.com/NadineKroher","followers_url":"https://api.github.com/users/NadineKroher/followers","following_url":"https://api.github.com/users/NadineKroher/following{/other_user}","gists_url":"https://api.github.com/users/NadineKroher/gists{/gist_id}","starred_url":"https://api.github.com/users/NadineKroher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NadineKroher/subscriptions","organizations_url":"https://api.github.com/users/NadineKroher/orgs","repos_url":"https://api.github.com/users/NadineKroher/repos","events_url":"https://api.github.com/users/NadineKroher/events{/privacy}","received_events_url":"https://api.github.com/users/NadineKroher/received_events","type":"User","site_admin":false},"repo":{"id":31663564,"name":"essentia","full_name":"NadineKroher/essentia","owner":{"login":"NadineKroher","id":9109103,"avatar_url":"https://avatars.githubusercontent.com/u/9109103?v=3","gravatar_id":"","url":"https://api.github.com/users/NadineKroher","html_url":"https://github.com/NadineKroher","followers_url":"https://api.github.com/users/NadineKroher/followers","following_url":"https://api.github.com/users/NadineKroher/following{/other_user}","gists_url":"https://api.github.com/users/NadineKroher/gists{/gist_id}","starred_url":"https://api.github.com/users/NadineKroher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NadineKroher/subscriptions","organizations_url":"https://api.github.com/users/NadineKroher/orgs","repos_url":"https://api.github.com/users/NadineKroher/repos","events_url":"https://api.github.com/users/NadineKroher/events{/privacy}","received_events_url":"https://api.github.com/users/NadineKroher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NadineKroher/essentia","description":"C++ library of algorithms to extract features from audio files, including Python bindings.","fork":true,"url":"https://api.github.com/repos/NadineKroher/essentia","forks_url":"https://api.github.com/repos/NadineKroher/essentia/forks","keys_url":"https://api.github.com/repos/NadineKroher/essentia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NadineKroher/essentia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NadineKroher/essentia/teams","hooks_url":"https://api.github.com/repos/NadineKroher/essentia/hooks","issue_events_url":"https://api.github.com/repos/NadineKroher/essentia/issues/events{/number}","events_url":"https://api.github.com/repos/NadineKroher/essentia/events","assignees_url":"https://api.github.com/repos/NadineKroher/essentia/assignees{/user}","branches_url":"https://api.github.com/repos/NadineKroher/essentia/branches{/branch}","tags_url":"https://api.github.com/repos/NadineKroher/essentia/tags","blobs_url":"https://api.github.com/repos/NadineKroher/essentia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NadineKroher/essentia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NadineKroher/essentia/git/refs{/sha}","trees_url":"https://api.github.com/repos/NadineKroher/essentia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NadineKroher/essentia/statuses/{sha}","languages_url":"https://api.github.com/repos/NadineKroher/essentia/languages","stargazers_url":"https://api.github.com/repos/NadineKroher/essentia/stargazers","contributors_url":"https://api.github.com/repos/NadineKroher/essentia/contributors","subscribers_url":"https://api.github.com/repos/NadineKroher/essentia/subscribers","subscription_url":"https://api.github.com/repos/NadineKroher/essentia/subscription","commits_url":"https://api.github.com/repos/NadineKroher/essentia/commits{/sha}","git_commits_url":"https://api.github.com/repos/NadineKroher/essentia/git/commits{/sha}","comments_url":"https://api.github.com/repos/NadineKroher/essentia/comments{/number}","issue_comment_url":"https://api.github.com/repos/NadineKroher/essentia/issues/comments{/number}","contents_url":"https://api.github.com/repos/NadineKroher/essentia/contents/{+path}","compare_url":"https://api.github.com/repos/NadineKroher/essentia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NadineKroher/essentia/merges","archive_url":"https://api.github.com/repos/NadineKroher/essentia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NadineKroher/essentia/downloads","issues_url":"https://api.github.com/repos/NadineKroher/essentia/issues{/number}","pulls_url":"https://api.github.com/repos/NadineKroher/essentia/pulls{/number}","milestones_url":"https://api.github.com/repos/NadineKroher/essentia/milestones{/number}","notifications_url":"https://api.github.com/repos/NadineKroher/essentia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NadineKroher/essentia/labels{/name}","releases_url":"https://api.github.com/repos/NadineKroher/essentia/releases{/id}","created_at":"2015-03-04T15:17:44Z","updated_at":"2015-04-19T14:42:32Z","pushed_at":"2015-05-25T16:02:18Z","git_url":"git://github.com/NadineKroher/essentia.git","ssh_url":"git@github.com:NadineKroher/essentia.git","clone_url":"https://github.com/NadineKroher/essentia.git","svn_url":"https://github.com/NadineKroher/essentia","homepage":"http://essentia.upf.edu","size":194009,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"MTG:master","ref":"master","sha":"a763860e2ef323c66cc059e6904224c033e4eaa3","user":{"login":"MTG","id":2728938,"avatar_url":"https://avatars.githubusercontent.com/u/2728938?v=3","gravatar_id":"","url":"https://api.github.com/users/MTG","html_url":"https://github.com/MTG","followers_url":"https://api.github.com/users/MTG/followers","following_url":"https://api.github.com/users/MTG/following{/other_user}","gists_url":"https://api.github.com/users/MTG/gists{/gist_id}","starred_url":"https://api.github.com/users/MTG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTG/subscriptions","organizations_url":"https://api.github.com/users/MTG/orgs","repos_url":"https://api.github.com/users/MTG/repos","events_url":"https://api.github.com/users/MTG/events{/privacy}","received_events_url":"https://api.github.com/users/MTG/received_events","type":"Organization","site_admin":false},"repo":{"id":10456942,"name":"essentia","full_name":"MTG/essentia","owner":{"login":"MTG","id":2728938,"avatar_url":"https://avatars.githubusercontent.com/u/2728938?v=3","gravatar_id":"","url":"https://api.github.com/users/MTG","html_url":"https://github.com/MTG","followers_url":"https://api.github.com/users/MTG/followers","following_url":"https://api.github.com/users/MTG/following{/other_user}","gists_url":"https://api.github.com/users/MTG/gists{/gist_id}","starred_url":"https://api.github.com/users/MTG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTG/subscriptions","organizations_url":"https://api.github.com/users/MTG/orgs","repos_url":"https://api.github.com/users/MTG/repos","events_url":"https://api.github.com/users/MTG/events{/privacy}","received_events_url":"https://api.github.com/users/MTG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MTG/essentia","description":"C++ library of algorithms to extract features from audio files, including Python bindings.","fork":false,"url":"https://api.github.com/repos/MTG/essentia","forks_url":"https://api.github.com/repos/MTG/essentia/forks","keys_url":"https://api.github.com/repos/MTG/essentia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MTG/essentia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MTG/essentia/teams","hooks_url":"https://api.github.com/repos/MTG/essentia/hooks","issue_events_url":"https://api.github.com/repos/MTG/essentia/issues/events{/number}","events_url":"https://api.github.com/repos/MTG/essentia/events","assignees_url":"https://api.github.com/repos/MTG/essentia/assignees{/user}","branches_url":"https://api.github.com/repos/MTG/essentia/branches{/branch}","tags_url":"https://api.github.com/repos/MTG/essentia/tags","blobs_url":"https://api.github.com/repos/MTG/essentia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MTG/essentia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MTG/essentia/git/refs{/sha}","trees_url":"https://api.github.com/repos/MTG/essentia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MTG/essentia/statuses/{sha}","languages_url":"https://api.github.com/repos/MTG/essentia/languages","stargazers_url":"https://api.github.com/repos/MTG/essentia/stargazers","contributors_url":"https://api.github.com/repos/MTG/essentia/contributors","subscribers_url":"https://api.github.com/repos/MTG/essentia/subscribers","subscription_url":"https://api.github.com/repos/MTG/essentia/subscription","commits_url":"https://api.github.com/repos/MTG/essentia/commits{/sha}","git_commits_url":"https://api.github.com/repos/MTG/essentia/git/commits{/sha}","comments_url":"https://api.github.com/repos/MTG/essentia/comments{/number}","issue_comment_url":"https://api.github.com/repos/MTG/essentia/issues/comments{/number}","contents_url":"https://api.github.com/repos/MTG/essentia/contents/{+path}","compare_url":"https://api.github.com/repos/MTG/essentia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MTG/essentia/merges","archive_url":"https://api.github.com/repos/MTG/essentia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MTG/essentia/downloads","issues_url":"https://api.github.com/repos/MTG/essentia/issues{/number}","pulls_url":"https://api.github.com/repos/MTG/essentia/pulls{/number}","milestones_url":"https://api.github.com/repos/MTG/essentia/milestones{/number}","notifications_url":"https://api.github.com/repos/MTG/essentia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MTG/essentia/labels{/name}","releases_url":"https://api.github.com/repos/MTG/essentia/releases{/id}","created_at":"2013-06-03T14:53:47Z","updated_at":"2015-05-27T09:03:23Z","pushed_at":"2015-05-28T13:06:11Z","git_url":"git://github.com/MTG/essentia.git","ssh_url":"git@github.com:MTG/essentia.git","clone_url":"https://github.com/MTG/essentia.git","svn_url":"https://github.com/MTG/essentia","homepage":"http://essentia.upf.edu","size":250681,"stargazers_count":211,"watchers_count":211,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":89,"forks":83,"open_issues":89,"watchers":211,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MTG/essentia/pulls/256"},"html":{"href":"https://github.com/MTG/essentia/pull/256"},"issue":{"href":"https://api.github.com/repos/MTG/essentia/issues/256"},"comments":{"href":"https://api.github.com/repos/MTG/essentia/issues/256/comments"},"review_comments":{"href":"https://api.github.com/repos/MTG/essentia/pulls/256/comments"},"review_comment":{"href":"https://api.github.com/repos/MTG/essentia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MTG/essentia/pulls/256/commits"},"statuses":{"href":"https://api.github.com/repos/MTG/essentia/statuses/865d77644f0fe2e2e6be588a597ac4b2c87a4a20"}}}}