{"action":"created","issue":{"url":"https://api.github.com/repos/cosmir/openmic-2018/issues/31","repository_url":"https://api.github.com/repos/cosmir/openmic-2018","labels_url":"https://api.github.com/repos/cosmir/openmic-2018/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/cosmir/openmic-2018/issues/31/comments","events_url":"https://api.github.com/repos/cosmir/openmic-2018/issues/31/events","html_url":"https://github.com/cosmir/openmic-2018/pull/31","id":361836376,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NzA3MzQ1","number":31,"title":"added a little helper function to vggish to get features from waveforms","user":{"login":"bmcfee","id":1190540,"node_id":"MDQ6VXNlcjExOTA1NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/1190540?v=4","gravatar_id":"","url":"https://api.github.com/users/bmcfee","html_url":"https://github.com/bmcfee","followers_url":"https://api.github.com/users/bmcfee/followers","following_url":"https://api.github.com/users/bmcfee/following{/other_user}","gists_url":"https://api.github.com/users/bmcfee/gists{/gist_id}","starred_url":"https://api.github.com/users/bmcfee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmcfee/subscriptions","organizations_url":"https://api.github.com/users/bmcfee/orgs","repos_url":"https://api.github.com/users/bmcfee/repos","events_url":"https://api.github.com/users/bmcfee/events{/privacy}","received_events_url":"https://api.github.com/users/bmcfee/received_events","type":"User","site_admin":false},"labels":[{"id":1026381047,"node_id":"MDU6TGFiZWwxMDI2MzgxMDQ3","url":"https://api.github.com/repos/cosmir/openmic-2018/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-19T16:48:55Z","updated_at":"2018-09-19T16:49:15Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/cosmir/openmic-2018/pulls/31","html_url":"https://github.com/cosmir/openmic-2018/pull/31","diff_url":"https://github.com/cosmir/openmic-2018/pull/31.diff","patch_url":"https://github.com/cosmir/openmic-2018/pull/31.patch"},"body":"Now you can get features directly from waveforms by saying\r\n\r\n```python\r\ntimes, features = openmic.vggish.waveform_to_features(data, rate, compress=True|False)\r\n```\r\n\r\nwith `compress=True` (default), the outputs are whitened and quantized.  With `compress=False` they are left as is from the model.\r\n\r\nThis should simplify doing one-off feature extraction in our notebook demos, even if it's less efficient than going through featurefy."},"comment":{"url":"https://api.github.com/repos/cosmir/openmic-2018/issues/comments/422875998","html_url":"https://github.com/cosmir/openmic-2018/pull/31#issuecomment-422875998","issue_url":"https://api.github.com/repos/cosmir/openmic-2018/issues/31","id":422875998,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjg3NTk5OA==","user":{"login":"bmcfee","id":1190540,"node_id":"MDQ6VXNlcjExOTA1NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/1190540?v=4","gravatar_id":"","url":"https://api.github.com/users/bmcfee","html_url":"https://github.com/bmcfee","followers_url":"https://api.github.com/users/bmcfee/followers","following_url":"https://api.github.com/users/bmcfee/following{/other_user}","gists_url":"https://api.github.com/users/bmcfee/gists{/gist_id}","starred_url":"https://api.github.com/users/bmcfee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmcfee/subscriptions","organizations_url":"https://api.github.com/users/bmcfee/orgs","repos_url":"https://api.github.com/users/bmcfee/repos","events_url":"https://api.github.com/users/bmcfee/events{/privacy}","received_events_url":"https://api.github.com/users/bmcfee/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T16:49:15Z","updated_at":"2018-09-19T16:49:15Z","author_association":"COLLABORATOR","body":"NB: tests pass and coverage is good locally, i anticipate no problems even if travis takes forever."}}
{"actor":{"display_login":"bmcfee"}}