{"action":"closed","issue":{"url":"https://api.github.com/repos/akabekobeko/examples-electron/issues/17","labels_url":"https://api.github.com/repos/akabekobeko/examples-electron/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/akabekobeko/examples-electron/issues/17/comments","events_url":"https://api.github.com/repos/akabekobeko/examples-electron/issues/17/events","html_url":"https://github.com/akabekobeko/examples-electron/issues/17","id":110202081,"number":17,"title":"音楽プレーヤーのサンプルを実装する","user":{"login":"akabekobeko","id":1257526,"avatar_url":"https://avatars.githubusercontent.com/u/1257526?v=3","gravatar_id":"","url":"https://api.github.com/users/akabekobeko","html_url":"https://github.com/akabekobeko","followers_url":"https://api.github.com/users/akabekobeko/followers","following_url":"https://api.github.com/users/akabekobeko/following{/other_user}","gists_url":"https://api.github.com/users/akabekobeko/gists{/gist_id}","starred_url":"https://api.github.com/users/akabekobeko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akabekobeko/subscriptions","organizations_url":"https://api.github.com/users/akabekobeko/orgs","repos_url":"https://api.github.com/users/akabekobeko/repos","events_url":"https://api.github.com/users/akabekobeko/events{/privacy}","received_events_url":"https://api.github.com/users/akabekobeko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akabekobeko/examples-electron/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/akabekobeko/examples-electron/milestones/4","html_url":"https://github.com/akabekobeko/examples-electron/milestones/audio-player","labels_url":"https://api.github.com/repos/akabekobeko/examples-electron/milestones/4/labels","id":1342353,"number":4,"title":"audio-player","description":null,"creator":{"login":"akabekobeko","id":1257526,"avatar_url":"https://avatars.githubusercontent.com/u/1257526?v=3","gravatar_id":"","url":"https://api.github.com/users/akabekobeko","html_url":"https://github.com/akabekobeko","followers_url":"https://api.github.com/users/akabekobeko/followers","following_url":"https://api.github.com/users/akabekobeko/following{/other_user}","gists_url":"https://api.github.com/users/akabekobeko/gists{/gist_id}","starred_url":"https://api.github.com/users/akabekobeko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akabekobeko/subscriptions","organizations_url":"https://api.github.com/users/akabekobeko/orgs","repos_url":"https://api.github.com/users/akabekobeko/repos","events_url":"https://api.github.com/users/akabekobeko/events{/privacy}","received_events_url":"https://api.github.com/users/akabekobeko/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":3,"state":"open","created_at":"2015-10-07T11:05:17Z","updated_at":"2015-10-19T12:22:13Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-10-07T11:11:40Z","updated_at":"2015-10-19T12:22:13Z","closed_at":"2015-10-19T12:22:13Z","body":"NW.js で実装した [examples-nw/audio-player](https://github.com/akabekobeko/examples-nw/tree/master/audio-player) を Electron に移植する。\r\n\r\n音声ファイルのメタデータ読み込みは Main プロセス、再生などは Renderer といった設計分離のサンプルとしてよさそうなので。NW.js のように ffmpeg 組み込みが必要か？など環境面も調査する。\r\n\r\nあと NW.js 版では音声ファイルのバイナリ読み込みとデコードも Web Audio API で実装したが、この方法だとメモリ一括展開となるためロスレス AAC のように巨大なファイルでエラーになる。これを防ぐため [AudioContext.createMediaElementSource()](https://developer.mozilla.org/ja/docs/Web/API/AudioContext/createMediaElementSource) を試す。"}}