{"action":"created","comment":{"url":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/comments/69339351","id":69339351,"diff_hunk":"@@ -0,0 +1,99 @@\n+// Copyright 2016 Google Inc.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+//      http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+//\n+////////////////////////////////////////////////////////////////////////////////\n+\n+syntax = \"proto3\";\n+\n+package tensorflow.magenta;\n+\n+\n+// A message for describing a music sequence in terms that are similar to sheet\n+// music.\n+// It is expected that this message will be populated from a NoteSequence proto\n+// that was derived from a score-based sequence (e.g., ABC or MusicXML).\n+//\n+// This representation is loosely inspired by the MuseScore internal\n+// representation format.\n+// Tick values are from https://musescore.org/plugin-development/tick-length-values\n+// A whole note is 1920 ticks and a 1/64 note is 30 ticks (1920/30).\n+message Score {\n+  // Vertically-aligned staff elements.\n+  repeated Segment segments = 1;\n+  // Additional information about the tracks in the score.\n+  repeated TrackInfo track_infos = 2;\n+}\n+\n+// Contains additional information about a track.\n+// As in MuseScore, a staff has 4 voices and there maybe multiple staves.\n+// Therefore: voice = track % 4, staff = track / 4\n+message TrackInfo {\n+  // The track index.\n+  int32 track = 1;\n+  // A text description of the track. Examples: \"Soprano\" or \"Trumpet\".\n+  string name = 2;\n+}\n+\n+// tick values from: ","path":"magenta/protobuf/score.proto","position":48,"original_position":48,"commit_id":"3fa85bd9af7fc573bcf7603d5619eb8c05e0e158","original_commit_id":"3fa85bd9af7fc573bcf7603d5619eb8c05e0e158","user":{"login":"cghawthorne","id":23426,"avatar_url":"https://avatars.githubusercontent.com/u/23426?v=3","gravatar_id":"","url":"https://api.github.com/users/cghawthorne","html_url":"https://github.com/cghawthorne","followers_url":"https://api.github.com/users/cghawthorne/followers","following_url":"https://api.github.com/users/cghawthorne/following{/other_user}","gists_url":"https://api.github.com/users/cghawthorne/gists{/gist_id}","starred_url":"https://api.github.com/users/cghawthorne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cghawthorne/subscriptions","organizations_url":"https://api.github.com/users/cghawthorne/orgs","repos_url":"https://api.github.com/users/cghawthorne/repos","events_url":"https://api.github.com/users/cghawthorne/events{/privacy}","received_events_url":"https://api.github.com/users/cghawthorne/received_events","type":"User","site_admin":false},"body":"Move comments to reasonable place","created_at":"2016-07-01T18:31:23Z","updated_at":"2016-07-01T18:31:23Z","html_url":"https://github.com/czhuang/magenta-autofill/pull/1#discussion_r69339351","pull_request_url":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/comments/69339351"},"html":{"href":"https://github.com/czhuang/magenta-autofill/pull/1#discussion_r69339351"},"pull_request":{"href":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/1","id":76014219,"html_url":"https://github.com/czhuang/magenta-autofill/pull/1","diff_url":"https://github.com/czhuang/magenta-autofill/pull/1.diff","patch_url":"https://github.com/czhuang/magenta-autofill/pull/1.patch","issue_url":"https://api.github.com/repos/czhuang/magenta-autofill/issues/1","number":1,"state":"open","locked":false,"title":"New score proto","user":{"login":"cghawthorne","id":23426,"avatar_url":"https://avatars.githubusercontent.com/u/23426?v=3","gravatar_id":"","url":"https://api.github.com/users/cghawthorne","html_url":"https://github.com/cghawthorne","followers_url":"https://api.github.com/users/cghawthorne/followers","following_url":"https://api.github.com/users/cghawthorne/following{/other_user}","gists_url":"https://api.github.com/users/cghawthorne/gists{/gist_id}","starred_url":"https://api.github.com/users/cghawthorne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cghawthorne/subscriptions","organizations_url":"https://api.github.com/users/cghawthorne/orgs","repos_url":"https://api.github.com/users/cghawthorne/repos","events_url":"https://api.github.com/users/cghawthorne/events{/privacy}","received_events_url":"https://api.github.com/users/cghawthorne/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-01T17:46:39Z","updated_at":"2016-07-01T18:31:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be2ed97dde1763faabe9bab03f2e8a15541ea660","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/1/commits","review_comments_url":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/1/comments","review_comment_url":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/comments{/number}","comments_url":"https://api.github.com/repos/czhuang/magenta-autofill/issues/1/comments","statuses_url":"https://api.github.com/repos/czhuang/magenta-autofill/statuses/3fa85bd9af7fc573bcf7603d5619eb8c05e0e158","head":{"label":"cghawthorne:scoreproto","ref":"scoreproto","sha":"3fa85bd9af7fc573bcf7603d5619eb8c05e0e158","user":{"login":"cghawthorne","id":23426,"avatar_url":"https://avatars.githubusercontent.com/u/23426?v=3","gravatar_id":"","url":"https://api.github.com/users/cghawthorne","html_url":"https://github.com/cghawthorne","followers_url":"https://api.github.com/users/cghawthorne/followers","following_url":"https://api.github.com/users/cghawthorne/following{/other_user}","gists_url":"https://api.github.com/users/cghawthorne/gists{/gist_id}","starred_url":"https://api.github.com/users/cghawthorne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cghawthorne/subscriptions","organizations_url":"https://api.github.com/users/cghawthorne/orgs","repos_url":"https://api.github.com/users/cghawthorne/repos","events_url":"https://api.github.com/users/cghawthorne/events{/privacy}","received_events_url":"https://api.github.com/users/cghawthorne/received_events","type":"User","site_admin":false},"repo":{"id":61489403,"name":"magenta","full_name":"cghawthorne/magenta","owner":{"login":"cghawthorne","id":23426,"avatar_url":"https://avatars.githubusercontent.com/u/23426?v=3","gravatar_id":"","url":"https://api.github.com/users/cghawthorne","html_url":"https://github.com/cghawthorne","followers_url":"https://api.github.com/users/cghawthorne/followers","following_url":"https://api.github.com/users/cghawthorne/following{/other_user}","gists_url":"https://api.github.com/users/cghawthorne/gists{/gist_id}","starred_url":"https://api.github.com/users/cghawthorne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cghawthorne/subscriptions","organizations_url":"https://api.github.com/users/cghawthorne/orgs","repos_url":"https://api.github.com/users/cghawthorne/repos","events_url":"https://api.github.com/users/cghawthorne/events{/privacy}","received_events_url":"https://api.github.com/users/cghawthorne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cghawthorne/magenta","description":"Magenta: Music and Art Generation with Machine Intelligence","fork":true,"url":"https://api.github.com/repos/cghawthorne/magenta","forks_url":"https://api.github.com/repos/cghawthorne/magenta/forks","keys_url":"https://api.github.com/repos/cghawthorne/magenta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cghawthorne/magenta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cghawthorne/magenta/teams","hooks_url":"https://api.github.com/repos/cghawthorne/magenta/hooks","issue_events_url":"https://api.github.com/repos/cghawthorne/magenta/issues/events{/number}","events_url":"https://api.github.com/repos/cghawthorne/magenta/events","assignees_url":"https://api.github.com/repos/cghawthorne/magenta/assignees{/user}","branches_url":"https://api.github.com/repos/cghawthorne/magenta/branches{/branch}","tags_url":"https://api.github.com/repos/cghawthorne/magenta/tags","blobs_url":"https://api.github.com/repos/cghawthorne/magenta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cghawthorne/magenta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cghawthorne/magenta/git/refs{/sha}","trees_url":"https://api.github.com/repos/cghawthorne/magenta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cghawthorne/magenta/statuses/{sha}","languages_url":"https://api.github.com/repos/cghawthorne/magenta/languages","stargazers_url":"https://api.github.com/repos/cghawthorne/magenta/stargazers","contributors_url":"https://api.github.com/repos/cghawthorne/magenta/contributors","subscribers_url":"https://api.github.com/repos/cghawthorne/magenta/subscribers","subscription_url":"https://api.github.com/repos/cghawthorne/magenta/subscription","commits_url":"https://api.github.com/repos/cghawthorne/magenta/commits{/sha}","git_commits_url":"https://api.github.com/repos/cghawthorne/magenta/git/commits{/sha}","comments_url":"https://api.github.com/repos/cghawthorne/magenta/comments{/number}","issue_comment_url":"https://api.github.com/repos/cghawthorne/magenta/issues/comments{/number}","contents_url":"https://api.github.com/repos/cghawthorne/magenta/contents/{+path}","compare_url":"https://api.github.com/repos/cghawthorne/magenta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cghawthorne/magenta/merges","archive_url":"https://api.github.com/repos/cghawthorne/magenta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cghawthorne/magenta/downloads","issues_url":"https://api.github.com/repos/cghawthorne/magenta/issues{/number}","pulls_url":"https://api.github.com/repos/cghawthorne/magenta/pulls{/number}","milestones_url":"https://api.github.com/repos/cghawthorne/magenta/milestones{/number}","notifications_url":"https://api.github.com/repos/cghawthorne/magenta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cghawthorne/magenta/labels{/name}","releases_url":"https://api.github.com/repos/cghawthorne/magenta/releases{/id}","deployments_url":"https://api.github.com/repos/cghawthorne/magenta/deployments","created_at":"2016-06-19T16:29:37Z","updated_at":"2016-06-19T16:29:38Z","pushed_at":"2016-07-01T17:42:32Z","git_url":"git://github.com/cghawthorne/magenta.git","ssh_url":"git@github.com:cghawthorne/magenta.git","clone_url":"https://github.com/cghawthorne/magenta.git","svn_url":"https://github.com/cghawthorne/magenta","homepage":"","size":4556,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"czhuang:master","ref":"master","sha":"6c4c3068352b49bc06bd7e8b63a7fd0fd47e1e3d","user":{"login":"czhuang","id":4357392,"avatar_url":"https://avatars.githubusercontent.com/u/4357392?v=3","gravatar_id":"","url":"https://api.github.com/users/czhuang","html_url":"https://github.com/czhuang","followers_url":"https://api.github.com/users/czhuang/followers","following_url":"https://api.github.com/users/czhuang/following{/other_user}","gists_url":"https://api.github.com/users/czhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/czhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czhuang/subscriptions","organizations_url":"https://api.github.com/users/czhuang/orgs","repos_url":"https://api.github.com/users/czhuang/repos","events_url":"https://api.github.com/users/czhuang/events{/privacy}","received_events_url":"https://api.github.com/users/czhuang/received_events","type":"User","site_admin":false},"repo":{"id":62347136,"name":"magenta-autofill","full_name":"czhuang/magenta-autofill","owner":{"login":"czhuang","id":4357392,"avatar_url":"https://avatars.githubusercontent.com/u/4357392?v=3","gravatar_id":"","url":"https://api.github.com/users/czhuang","html_url":"https://github.com/czhuang","followers_url":"https://api.github.com/users/czhuang/followers","following_url":"https://api.github.com/users/czhuang/following{/other_user}","gists_url":"https://api.github.com/users/czhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/czhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czhuang/subscriptions","organizations_url":"https://api.github.com/users/czhuang/orgs","repos_url":"https://api.github.com/users/czhuang/repos","events_url":"https://api.github.com/users/czhuang/events{/privacy}","received_events_url":"https://api.github.com/users/czhuang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/czhuang/magenta-autofill","description":"Magenta: Music and Art Generation with Machine Intelligence","fork":true,"url":"https://api.github.com/repos/czhuang/magenta-autofill","forks_url":"https://api.github.com/repos/czhuang/magenta-autofill/forks","keys_url":"https://api.github.com/repos/czhuang/magenta-autofill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/czhuang/magenta-autofill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/czhuang/magenta-autofill/teams","hooks_url":"https://api.github.com/repos/czhuang/magenta-autofill/hooks","issue_events_url":"https://api.github.com/repos/czhuang/magenta-autofill/issues/events{/number}","events_url":"https://api.github.com/repos/czhuang/magenta-autofill/events","assignees_url":"https://api.github.com/repos/czhuang/magenta-autofill/assignees{/user}","branches_url":"https://api.github.com/repos/czhuang/magenta-autofill/branches{/branch}","tags_url":"https://api.github.com/repos/czhuang/magenta-autofill/tags","blobs_url":"https://api.github.com/repos/czhuang/magenta-autofill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/czhuang/magenta-autofill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/czhuang/magenta-autofill/git/refs{/sha}","trees_url":"https://api.github.com/repos/czhuang/magenta-autofill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/czhuang/magenta-autofill/statuses/{sha}","languages_url":"https://api.github.com/repos/czhuang/magenta-autofill/languages","stargazers_url":"https://api.github.com/repos/czhuang/magenta-autofill/stargazers","contributors_url":"https://api.github.com/repos/czhuang/magenta-autofill/contributors","subscribers_url":"https://api.github.com/repos/czhuang/magenta-autofill/subscribers","subscription_url":"https://api.github.com/repos/czhuang/magenta-autofill/subscription","commits_url":"https://api.github.com/repos/czhuang/magenta-autofill/commits{/sha}","git_commits_url":"https://api.github.com/repos/czhuang/magenta-autofill/git/commits{/sha}","comments_url":"https://api.github.com/repos/czhuang/magenta-autofill/comments{/number}","issue_comment_url":"https://api.github.com/repos/czhuang/magenta-autofill/issues/comments{/number}","contents_url":"https://api.github.com/repos/czhuang/magenta-autofill/contents/{+path}","compare_url":"https://api.github.com/repos/czhuang/magenta-autofill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/czhuang/magenta-autofill/merges","archive_url":"https://api.github.com/repos/czhuang/magenta-autofill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/czhuang/magenta-autofill/downloads","issues_url":"https://api.github.com/repos/czhuang/magenta-autofill/issues{/number}","pulls_url":"https://api.github.com/repos/czhuang/magenta-autofill/pulls{/number}","milestones_url":"https://api.github.com/repos/czhuang/magenta-autofill/milestones{/number}","notifications_url":"https://api.github.com/repos/czhuang/magenta-autofill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/czhuang/magenta-autofill/labels{/name}","releases_url":"https://api.github.com/repos/czhuang/magenta-autofill/releases{/id}","deployments_url":"https://api.github.com/repos/czhuang/magenta-autofill/deployments","created_at":"2016-06-30T22:54:37Z","updated_at":"2016-06-30T22:56:06Z","pushed_at":"2016-07-01T17:46:39Z","git_url":"git://github.com/czhuang/magenta-autofill.git","ssh_url":"git@github.com:czhuang/magenta-autofill.git","clone_url":"https://github.com/czhuang/magenta-autofill.git","svn_url":"https://github.com/czhuang/magenta-autofill","homepage":"","size":12231,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/1"},"html":{"href":"https://github.com/czhuang/magenta-autofill/pull/1"},"issue":{"href":"https://api.github.com/repos/czhuang/magenta-autofill/issues/1"},"comments":{"href":"https://api.github.com/repos/czhuang/magenta-autofill/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/czhuang/magenta-autofill/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/czhuang/magenta-autofill/statuses/3fa85bd9af7fc573bcf7603d5619eb8c05e0e158"}}}}
{"actor":{"display_login":"cghawthorne"}}