{"action":"created","comment":{"url":"https://api.github.com/repos/uiri/trebletrouble/pulls/comments/89633248","pull_request_review_id":10167530,"id":89633248,"diff_hunk":"@@ -0,0 +1,133 @@\n+/*  Simple Autocorrelation-based pitch detection program\r\n+        by Perry R. Cook, Princeton U, 2002\r\n+    Takes a wavefile, and determines pitch.\r\n+    Also synthesizes a file psynth.wav, which contains a\r\n+    pitch pulse resynthesis of the estimated pitches.\r\n+*/\r\n+\r\n+#include <stdio.h>\r\n+#include <stdlib.h>\r\n+#include <fcntl.h>\r\n+#include <string.h>\r\n+#include <math.h>\r\n+\r\n+float autocorr(long size,short *data,float *result);\r\n+\r\n+#include \"waveio.h\"\r","path":"bbb/meta-bbb/recipes-core/trebletrouble/files/src/pitch.c","position":16,"original_position":16,"commit_id":"d3eff01df54035d169d969795110af447b522049","original_commit_id":"d3eff01df54035d169d969795110af447b522049","user":{"login":"uiri","id":364765,"avatar_url":"https://avatars.githubusercontent.com/u/364765?v=3","gravatar_id":"","url":"https://api.github.com/users/uiri","html_url":"https://github.com/uiri","followers_url":"https://api.github.com/users/uiri/followers","following_url":"https://api.github.com/users/uiri/following{/other_user}","gists_url":"https://api.github.com/users/uiri/gists{/gist_id}","starred_url":"https://api.github.com/users/uiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uiri/subscriptions","organizations_url":"https://api.github.com/users/uiri/orgs","repos_url":"https://api.github.com/users/uiri/repos","events_url":"https://api.github.com/users/uiri/events{/privacy}","received_events_url":"https://api.github.com/users/uiri/received_events","type":"User","site_admin":false},"body":"Where *is* this file?","created_at":"2016-11-25T15:35:46Z","updated_at":"2016-11-25T15:41:06Z","html_url":"https://github.com/uiri/trebletrouble/pull/58#discussion_r89633248","pull_request_url":"https://api.github.com/repos/uiri/trebletrouble/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/uiri/trebletrouble/pulls/comments/89633248"},"html":{"href":"https://github.com/uiri/trebletrouble/pull/58#discussion_r89633248"},"pull_request":{"href":"https://api.github.com/repos/uiri/trebletrouble/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/uiri/trebletrouble/pulls/58","id":95247682,"html_url":"https://github.com/uiri/trebletrouble/pull/58","diff_url":"https://github.com/uiri/trebletrouble/pull/58.diff","patch_url":"https://github.com/uiri/trebletrouble/pull/58.patch","issue_url":"https://api.github.com/repos/uiri/trebletrouble/issues/58","number":58,"state":"open","locked":false,"title":"Audio","user":{"login":"tchin018","id":22063374,"avatar_url":"https://avatars.githubusercontent.com/u/22063374?v=3","gravatar_id":"","url":"https://api.github.com/users/tchin018","html_url":"https://github.com/tchin018","followers_url":"https://api.github.com/users/tchin018/followers","following_url":"https://api.github.com/users/tchin018/following{/other_user}","gists_url":"https://api.github.com/users/tchin018/gists{/gist_id}","starred_url":"https://api.github.com/users/tchin018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchin018/subscriptions","organizations_url":"https://api.github.com/users/tchin018/orgs","repos_url":"https://api.github.com/users/tchin018/repos","events_url":"https://api.github.com/users/tchin018/events{/privacy}","received_events_url":"https://api.github.com/users/tchin018/received_events","type":"User","site_admin":false},"body":"The most useful files to us in this PR are libfft, tone and app. \r\n\r\ntone.c : Creates a wav sound with freq, and duration as input. The method get_pitch is used to recognize pitch.\r\n\r\nlibfft.c : Fast Fourier Transform routine\r\n\r\napp.c : use freq and duration as input. (This will be changed later to use a wav sound as input instead which will come from some audio recording routine).","created_at":"2016-11-25T04:01:21Z","updated_at":"2016-11-25T15:41:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5caa867ab0e4f4af02e3c49096b833dc509d7d0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/uiri/trebletrouble/pulls/58/commits","review_comments_url":"https://api.github.com/repos/uiri/trebletrouble/pulls/58/comments","review_comment_url":"https://api.github.com/repos/uiri/trebletrouble/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uiri/trebletrouble/issues/58/comments","statuses_url":"https://api.github.com/repos/uiri/trebletrouble/statuses/d3eff01df54035d169d969795110af447b522049","head":{"label":"uiri:audio","ref":"audio","sha":"d3eff01df54035d169d969795110af447b522049","user":{"login":"uiri","id":364765,"avatar_url":"https://avatars.githubusercontent.com/u/364765?v=3","gravatar_id":"","url":"https://api.github.com/users/uiri","html_url":"https://github.com/uiri","followers_url":"https://api.github.com/users/uiri/followers","following_url":"https://api.github.com/users/uiri/following{/other_user}","gists_url":"https://api.github.com/users/uiri/gists{/gist_id}","starred_url":"https://api.github.com/users/uiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uiri/subscriptions","organizations_url":"https://api.github.com/users/uiri/orgs","repos_url":"https://api.github.com/users/uiri/repos","events_url":"https://api.github.com/users/uiri/events{/privacy}","received_events_url":"https://api.github.com/users/uiri/received_events","type":"User","site_admin":false},"repo":{"id":68858126,"name":"trebletrouble","full_name":"uiri/trebletrouble","owner":{"login":"uiri","id":364765,"avatar_url":"https://avatars.githubusercontent.com/u/364765?v=3","gravatar_id":"","url":"https://api.github.com/users/uiri","html_url":"https://github.com/uiri","followers_url":"https://api.github.com/users/uiri/followers","following_url":"https://api.github.com/users/uiri/following{/other_user}","gists_url":"https://api.github.com/users/uiri/gists{/gist_id}","starred_url":"https://api.github.com/users/uiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uiri/subscriptions","organizations_url":"https://api.github.com/users/uiri/orgs","repos_url":"https://api.github.com/users/uiri/repos","events_url":"https://api.github.com/users/uiri/events{/privacy}","received_events_url":"https://api.github.com/users/uiri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uiri/trebletrouble","description":null,"fork":false,"url":"https://api.github.com/repos/uiri/trebletrouble","forks_url":"https://api.github.com/repos/uiri/trebletrouble/forks","keys_url":"https://api.github.com/repos/uiri/trebletrouble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uiri/trebletrouble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uiri/trebletrouble/teams","hooks_url":"https://api.github.com/repos/uiri/trebletrouble/hooks","issue_events_url":"https://api.github.com/repos/uiri/trebletrouble/issues/events{/number}","events_url":"https://api.github.com/repos/uiri/trebletrouble/events","assignees_url":"https://api.github.com/repos/uiri/trebletrouble/assignees{/user}","branches_url":"https://api.github.com/repos/uiri/trebletrouble/branches{/branch}","tags_url":"https://api.github.com/repos/uiri/trebletrouble/tags","blobs_url":"https://api.github.com/repos/uiri/trebletrouble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uiri/trebletrouble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uiri/trebletrouble/git/refs{/sha}","trees_url":"https://api.github.com/repos/uiri/trebletrouble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uiri/trebletrouble/statuses/{sha}","languages_url":"https://api.github.com/repos/uiri/trebletrouble/languages","stargazers_url":"https://api.github.com/repos/uiri/trebletrouble/stargazers","contributors_url":"https://api.github.com/repos/uiri/trebletrouble/contributors","subscribers_url":"https://api.github.com/repos/uiri/trebletrouble/subscribers","subscription_url":"https://api.github.com/repos/uiri/trebletrouble/subscription","commits_url":"https://api.github.com/repos/uiri/trebletrouble/commits{/sha}","git_commits_url":"https://api.github.com/repos/uiri/trebletrouble/git/commits{/sha}","comments_url":"https://api.github.com/repos/uiri/trebletrouble/comments{/number}","issue_comment_url":"https://api.github.com/repos/uiri/trebletrouble/issues/comments{/number}","contents_url":"https://api.github.com/repos/uiri/trebletrouble/contents/{+path}","compare_url":"https://api.github.com/repos/uiri/trebletrouble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uiri/trebletrouble/merges","archive_url":"https://api.github.com/repos/uiri/trebletrouble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uiri/trebletrouble/downloads","issues_url":"https://api.github.com/repos/uiri/trebletrouble/issues{/number}","pulls_url":"https://api.github.com/repos/uiri/trebletrouble/pulls{/number}","milestones_url":"https://api.github.com/repos/uiri/trebletrouble/milestones{/number}","notifications_url":"https://api.github.com/repos/uiri/trebletrouble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uiri/trebletrouble/labels{/name}","releases_url":"https://api.github.com/repos/uiri/trebletrouble/releases{/id}","deployments_url":"https://api.github.com/repos/uiri/trebletrouble/deployments","created_at":"2016-09-21T21:15:34Z","updated_at":"2016-10-18T16:05:14Z","pushed_at":"2016-11-25T04:01:22Z","git_url":"git://github.com/uiri/trebletrouble.git","ssh_url":"git@github.com:uiri/trebletrouble.git","clone_url":"https://github.com/uiri/trebletrouble.git","svn_url":"https://github.com/uiri/trebletrouble","homepage":null,"size":24305,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":0,"default_branch":"master"}},"base":{"label":"uiri:master","ref":"master","sha":"0898fcf34806cc46eacba6bb78fdef16284130c9","user":{"login":"uiri","id":364765,"avatar_url":"https://avatars.githubusercontent.com/u/364765?v=3","gravatar_id":"","url":"https://api.github.com/users/uiri","html_url":"https://github.com/uiri","followers_url":"https://api.github.com/users/uiri/followers","following_url":"https://api.github.com/users/uiri/following{/other_user}","gists_url":"https://api.github.com/users/uiri/gists{/gist_id}","starred_url":"https://api.github.com/users/uiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uiri/subscriptions","organizations_url":"https://api.github.com/users/uiri/orgs","repos_url":"https://api.github.com/users/uiri/repos","events_url":"https://api.github.com/users/uiri/events{/privacy}","received_events_url":"https://api.github.com/users/uiri/received_events","type":"User","site_admin":false},"repo":{"id":68858126,"name":"trebletrouble","full_name":"uiri/trebletrouble","owner":{"login":"uiri","id":364765,"avatar_url":"https://avatars.githubusercontent.com/u/364765?v=3","gravatar_id":"","url":"https://api.github.com/users/uiri","html_url":"https://github.com/uiri","followers_url":"https://api.github.com/users/uiri/followers","following_url":"https://api.github.com/users/uiri/following{/other_user}","gists_url":"https://api.github.com/users/uiri/gists{/gist_id}","starred_url":"https://api.github.com/users/uiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uiri/subscriptions","organizations_url":"https://api.github.com/users/uiri/orgs","repos_url":"https://api.github.com/users/uiri/repos","events_url":"https://api.github.com/users/uiri/events{/privacy}","received_events_url":"https://api.github.com/users/uiri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uiri/trebletrouble","description":null,"fork":false,"url":"https://api.github.com/repos/uiri/trebletrouble","forks_url":"https://api.github.com/repos/uiri/trebletrouble/forks","keys_url":"https://api.github.com/repos/uiri/trebletrouble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uiri/trebletrouble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uiri/trebletrouble/teams","hooks_url":"https://api.github.com/repos/uiri/trebletrouble/hooks","issue_events_url":"https://api.github.com/repos/uiri/trebletrouble/issues/events{/number}","events_url":"https://api.github.com/repos/uiri/trebletrouble/events","assignees_url":"https://api.github.com/repos/uiri/trebletrouble/assignees{/user}","branches_url":"https://api.github.com/repos/uiri/trebletrouble/branches{/branch}","tags_url":"https://api.github.com/repos/uiri/trebletrouble/tags","blobs_url":"https://api.github.com/repos/uiri/trebletrouble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uiri/trebletrouble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uiri/trebletrouble/git/refs{/sha}","trees_url":"https://api.github.com/repos/uiri/trebletrouble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uiri/trebletrouble/statuses/{sha}","languages_url":"https://api.github.com/repos/uiri/trebletrouble/languages","stargazers_url":"https://api.github.com/repos/uiri/trebletrouble/stargazers","contributors_url":"https://api.github.com/repos/uiri/trebletrouble/contributors","subscribers_url":"https://api.github.com/repos/uiri/trebletrouble/subscribers","subscription_url":"https://api.github.com/repos/uiri/trebletrouble/subscription","commits_url":"https://api.github.com/repos/uiri/trebletrouble/commits{/sha}","git_commits_url":"https://api.github.com/repos/uiri/trebletrouble/git/commits{/sha}","comments_url":"https://api.github.com/repos/uiri/trebletrouble/comments{/number}","issue_comment_url":"https://api.github.com/repos/uiri/trebletrouble/issues/comments{/number}","contents_url":"https://api.github.com/repos/uiri/trebletrouble/contents/{+path}","compare_url":"https://api.github.com/repos/uiri/trebletrouble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uiri/trebletrouble/merges","archive_url":"https://api.github.com/repos/uiri/trebletrouble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uiri/trebletrouble/downloads","issues_url":"https://api.github.com/repos/uiri/trebletrouble/issues{/number}","pulls_url":"https://api.github.com/repos/uiri/trebletrouble/pulls{/number}","milestones_url":"https://api.github.com/repos/uiri/trebletrouble/milestones{/number}","notifications_url":"https://api.github.com/repos/uiri/trebletrouble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uiri/trebletrouble/labels{/name}","releases_url":"https://api.github.com/repos/uiri/trebletrouble/releases{/id}","deployments_url":"https://api.github.com/repos/uiri/trebletrouble/deployments","created_at":"2016-09-21T21:15:34Z","updated_at":"2016-10-18T16:05:14Z","pushed_at":"2016-11-25T04:01:22Z","git_url":"git://github.com/uiri/trebletrouble.git","ssh_url":"git@github.com:uiri/trebletrouble.git","clone_url":"https://github.com/uiri/trebletrouble.git","svn_url":"https://github.com/uiri/trebletrouble","homepage":null,"size":24305,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uiri/trebletrouble/pulls/58"},"html":{"href":"https://github.com/uiri/trebletrouble/pull/58"},"issue":{"href":"https://api.github.com/repos/uiri/trebletrouble/issues/58"},"comments":{"href":"https://api.github.com/repos/uiri/trebletrouble/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/uiri/trebletrouble/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/uiri/trebletrouble/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uiri/trebletrouble/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/uiri/trebletrouble/statuses/d3eff01df54035d169d969795110af447b522049"}}}}
{"actor":{"display_login":"uiri"}}