{"action":"created","issue":{"url":"https://api.github.com/repos/jankarres/node-lame/issues/13","repository_url":"https://api.github.com/repos/jankarres/node-lame","labels_url":"https://api.github.com/repos/jankarres/node-lame/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/jankarres/node-lame/issues/13/comments","events_url":"https://api.github.com/repos/jankarres/node-lame/issues/13/events","html_url":"https://github.com/jankarres/node-lame/issues/13","id":388490836,"node_id":"MDU6SXNzdWUzODg0OTA4MzY=","number":13,"title":"decode mp3 to wav, but wav file can not open","user":{"login":"jerrwy","id":6811418,"node_id":"MDQ6VXNlcjY4MTE0MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/6811418?v=4","gravatar_id":"","url":"https://api.github.com/users/jerrwy","html_url":"https://github.com/jerrwy","followers_url":"https://api.github.com/users/jerrwy/followers","following_url":"https://api.github.com/users/jerrwy/following{/other_user}","gists_url":"https://api.github.com/users/jerrwy/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrwy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrwy/subscriptions","organizations_url":"https://api.github.com/users/jerrwy/orgs","repos_url":"https://api.github.com/users/jerrwy/repos","events_url":"https://api.github.com/users/jerrwy/events{/privacy}","received_events_url":"https://api.github.com/users/jerrwy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-07T03:25:34Z","updated_at":"2018-12-07T06:01:50Z","closed_at":null,"author_association":"NONE","body":"`\r\nconst Lame = require(\"node-lame\").Lame;\r\n\r\nconst decoder = new Lame({\r\n    output: \"sun1.wav\",\r\n}).setFile(\"sun.mp3\");\r\n\r\ndecoder\r\n    .decode()\r\n    .then(() => {\r\n      console.log('Encoding finished')\r\n    })\r\n    .catch(error => {\r\n      console.log('Something went wrong', error)\r\n    });\r\n`\r\n\r\n`\r\n>file sun.mp3\r\nsun.mp3: Audio file with ID3 version 2.4.0, contains:TTComp archive, binary, 4K dictionary\r\n\r\n>file sun1.wav\r\nsun1.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 24000 Hz\r\n`\r\n\r\nthe output file sun1.wav can not open。 \r\nwhat is wrong? pls tell me ..\r\n"},"comment":{"url":"https://api.github.com/repos/jankarres/node-lame/issues/comments/445132153","html_url":"https://github.com/jankarres/node-lame/issues/13#issuecomment-445132153","issue_url":"https://api.github.com/repos/jankarres/node-lame/issues/13","id":445132153,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTEzMjE1Mw==","user":{"login":"jerrwy","id":6811418,"node_id":"MDQ6VXNlcjY4MTE0MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/6811418?v=4","gravatar_id":"","url":"https://api.github.com/users/jerrwy","html_url":"https://github.com/jerrwy","followers_url":"https://api.github.com/users/jerrwy/followers","following_url":"https://api.github.com/users/jerrwy/following{/other_user}","gists_url":"https://api.github.com/users/jerrwy/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrwy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrwy/subscriptions","organizations_url":"https://api.github.com/users/jerrwy/orgs","repos_url":"https://api.github.com/users/jerrwy/repos","events_url":"https://api.github.com/users/jerrwy/events{/privacy}","received_events_url":"https://api.github.com/users/jerrwy/received_events","type":"User","site_admin":false},"created_at":"2018-12-07T06:01:50Z","updated_at":"2018-12-07T06:01:50Z","author_association":"NONE","body":"`const Lame = require(\"node-lame\").Lame;\r\n\r\nconst decoder = new Lame({\r\n    output: \"sun1.wav\",\r\n    mp3Input: true\r\n}).setFile(\"sun.mp3\");\r\n\r\ndecoder\r\n    .decode()\r\n    .then(() => {\r\n      console.log('Encoding finished')\r\n    })\r\n    .catch(error => {\r\n      console.log('Something went wrong', error)\r\n    });`\r\n\r\n\r\n\r\nfix it ~"}}
{"actor":{"display_login":"jerrwy"}}