{"_id":"pcm-convert","_rev":"4213505","name":"pcm-convert","description":"Convert pcm data from one format to another","dist-tags":{"latest":"1.6.5"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"time":{"modified":"2026-03-04T17:08:00.000Z","created":"2017-06-25T04:36:27.303Z","1.6.5":"2018-01-06T17:40:16.294Z","1.6.4":"2017-09-25T17:22:00.173Z","1.6.3":"2017-07-19T03:55:04.970Z","1.6.2":"2017-07-19T03:23:03.522Z","1.6.1":"2017-07-19T03:21:29.350Z","1.6.0":"2017-07-01T00:38:01.263Z","1.5.3":"2017-06-29T19:43:34.461Z","1.5.2":"2017-06-29T03:55:04.902Z","1.5.1":"2017-06-28T02:20:21.231Z","1.5.0":"2017-06-27T05:04:52.558Z","1.4.0":"2017-06-27T03:53:26.983Z","1.3.4":"2017-06-26T16:33:26.788Z","1.3.3":"2017-06-26T06:56:42.410Z","1.3.2":"2017-06-26T06:02:03.748Z","1.3.1":"2017-06-26T05:59:55.019Z","1.3.0":"2017-06-26T05:37:12.173Z","1.2.0":"2017-06-25T19:43:46.887Z","1.1.0":"2017-06-25T15:24:43.051Z","1.0.1":"2017-06-25T06:06:37.162Z","1.0.0":"2017-06-25T04:36:27.303Z"},"users":{},"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"versions":{"1.6.5":{"name":"pcm-convert","version":"1.6.5","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","audio-buffer":"^4.0.4","audio-buffer-list":"^4.0.1","audio-context":"^1.0.1","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.3.2","is-audio-buffer":"^1.0.11","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"e14e89202e50909cb699349e2a5fca2332b95099","_id":"pcm-convert@1.6.5","_npmVersion":"5.6.0","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"81b5f2d0c2fb386edb8b9f69ce2374e093aeb7cc","size":5862,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.6.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.6.5.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.6.5.tgz_1515260415389_0.02096574753522873"},"directories":{},"publish_time":1515260416294,"_hasShrinkwrap":false,"_cnpm_publish_time":1515260416294,"_cnpmcore_publish_time":"2021-12-17T03:26:14.999Z"},"1.6.4":{"name":"pcm-convert","version":"1.6.4","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","audio-buffer":"^4.0.1","audio-buffer-list":"^4.0.1","audio-context":"^1.0.1","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.0.0","is-audio-buffer":"^1.0.11","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"ea8be8fd251cab9aa8d3680a46c449be357e7673","_id":"pcm-convert@1.6.4","_shasum":"56f6a04762be122a27e96d4410658cdec339a592","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"56f6a04762be122a27e96d4410658cdec339a592","size":5943,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.6.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.6.4.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.6.4.tgz_1506360119848_0.5735283482354134"},"directories":{},"publish_time":1506360120173,"_hasShrinkwrap":false,"_cnpm_publish_time":1506360120173,"_cnpmcore_publish_time":"2021-12-17T03:26:15.203Z"},"1.6.3":{"name":"pcm-convert","version":"1.6.3","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","audio-buffer":"^4.0.1","audio-buffer-list":"^4.0.1","audio-context":"^1.0.1","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.0.0","is-audio-buffer":"^1.0.11","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"3279110faa3e0a9e714b960c866fa43bdb299ef8","_id":"pcm-convert@1.6.3","_shasum":"816bb5f4067e2a9dd969f8a80a54cfcea8b2e7f3","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"816bb5f4067e2a9dd969f8a80a54cfcea8b2e7f3","size":5947,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.6.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.6.3.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.6.3.tgz_1500436504052_0.8775803595781326"},"directories":{},"publish_time":1500436504970,"_hasShrinkwrap":false,"_cnpm_publish_time":1500436504970,"_cnpmcore_publish_time":"2021-12-17T03:26:15.422Z"},"1.6.2":{"name":"pcm-convert","version":"1.6.2","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","audio-buffer":"^4.0.1","audio-buffer-list":"^4.0.1","audio-context":"^1.0.1","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.0.0","is-audio-buffer":"^1.0.11","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"83d2f552714eb989d1770ddf878f9a1254bfddb9","_id":"pcm-convert@1.6.2","_shasum":"916f385c85a7c911049180139cc4fd4754fecf2d","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"916f385c85a7c911049180139cc4fd4754fecf2d","size":5872,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.6.2.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.6.2.tgz_1500434582565_0.03749890858307481"},"directories":{},"publish_time":1500434583522,"_hasShrinkwrap":false,"_cnpm_publish_time":1500434583522,"_cnpmcore_publish_time":"2021-12-17T03:26:16.098Z"},"1.6.1":{"name":"pcm-convert","version":"1.6.1","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","audio-buffer":"^4.0.1","audio-buffer-list":"^4.0.1","audio-context":"^1.0.1","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.0.0","is-audio-buffer":"^1.0.11","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"34e34cf18a881d7c6d4b9dd15676d14a7fdfc47d","_id":"pcm-convert@1.6.1","_shasum":"f4afe7ed5794b3f2005131261e5bb7f407e70d2d","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"f4afe7ed5794b3f2005131261e5bb7f407e70d2d","size":5879,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.6.1.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.6.1.tgz_1500434488407_0.48126009316183627"},"directories":{},"publish_time":1500434489350,"_hasShrinkwrap":false,"_cnpm_publish_time":1500434489350,"_cnpmcore_publish_time":"2021-12-17T03:26:16.327Z"},"1.6.0":{"name":"pcm-convert","version":"1.6.0","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","audio-buffer":"^4.0.1","audio-buffer-list":"^3.2.1","audio-context":"^1.0.1","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.0.0","is-audio-buffer":"^1.0.11","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"cfa9cc227617d3848cdb6d915195593a6929a2c6","_id":"pcm-convert@1.6.0","_shasum":"68528c6b4c559124bba96bf50d292cf0131be349","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"68528c6b4c559124bba96bf50d292cf0131be349","size":5829,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.6.0.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.6.0.tgz_1498869480241_0.20376299298368394"},"directories":{},"publish_time":1498869481263,"_hasShrinkwrap":false,"_cnpm_publish_time":1498869481263,"_cnpmcore_publish_time":"2021-12-17T03:26:16.546Z"},"1.5.3":{"name":"pcm-convert","version":"1.5.3","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","audio-buffer":"^4.0.1","audio-context":"^1.0.1","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.0.0","is-audio-buffer":"^1.0.11","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"66471913b03e0d4ad798f24bb4e59a58f6365f82","_id":"pcm-convert@1.5.3","_shasum":"c90559b4ceb6fe4c46db105c24ea0e19a3714d1e","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"c90559b4ceb6fe4c46db105c24ea0e19a3714d1e","size":5716,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.5.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.5.3.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.5.3.tgz_1498765413528_0.31212996621616185"},"directories":{},"publish_time":1498765414461,"_hasShrinkwrap":false,"_cnpm_publish_time":1498765414461,"_cnpmcore_publish_time":"2021-12-17T03:26:16.933Z"},"1.5.2":{"name":"pcm-convert","version":"1.5.2","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","audio-buffer":"^4.0.1","audio-context":"^1.0.1","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.0.0","is-audio-buffer":"^1.0.11","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"a8c1c028c3fc4fbcecba351def32332f4fe97f20","_id":"pcm-convert@1.5.2","_shasum":"b67a4ba4d2b0197a72fa7fa1e71ed5cf1c5e8f34","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"b67a4ba4d2b0197a72fa7fa1e71ed5cf1c5e8f34","size":5552,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.5.2.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.5.2.tgz_1498708503867_0.9352640584111214"},"directories":{},"publish_time":1498708504902,"_hasShrinkwrap":false,"_cnpm_publish_time":1498708504902,"_cnpmcore_publish_time":"2021-12-17T03:26:17.153Z"},"1.5.1":{"name":"pcm-convert","version":"1.5.1","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","audio-buffer":"^4.0.1","audio-context":"^1.0.1","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.0.0","is-audio-buffer":"^1.0.11","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"b8d7e6879f3a639ee9067f9a984920c6435ea73b","_id":"pcm-convert@1.5.1","_shasum":"8de9be3d6f72fb67d20ab08729f5c35345ccbd47","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"8de9be3d6f72fb67d20ab08729f5c35345ccbd47","size":5510,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.5.1.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.5.1.tgz_1498616420253_0.023394375341013074"},"directories":{},"publish_time":1498616421231,"_hasShrinkwrap":false,"_cnpm_publish_time":1498616421231,"_cnpmcore_publish_time":"2021-12-17T03:26:17.380Z"},"1.5.0":{"name":"pcm-convert","version":"1.5.0","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","audio-buffer":"^4.0.1","audio-context":"^1.0.1","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.0.0","is-audio-buffer":"^1.0.11","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"9929127587f98dd5d5dcaef8b5ecec4e5fd829f7","_id":"pcm-convert@1.5.0","_shasum":"d9c999f07bcf8105c7b53df0c48e321edacb8b9c","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"d9c999f07bcf8105c7b53df0c48e321edacb8b9c","size":5395,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.5.0.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.5.0.tgz_1498539891593_0.3558337551075965"},"directories":{},"publish_time":1498539892558,"_hasShrinkwrap":false,"_cnpm_publish_time":1498539892558,"_cnpmcore_publish_time":"2021-12-17T03:26:17.613Z"},"1.4.0":{"name":"pcm-convert","version":"1.4.0","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","audio-buffer":"^4.0.1","audio-context":"^1.0.1","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.0.0","is-audio-buffer":"^1.0.11","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"da311371285a763697503c3de7270ba607cb2169","_id":"pcm-convert@1.4.0","_shasum":"db0b699338544d94756a3ccd2533e2af3899e3e6","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"db0b699338544d94756a3ccd2533e2af3899e3e6","size":4927,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.4.0.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.4.0.tgz_1498535605565_0.4995326881762594"},"directories":{},"publish_time":1498535606983,"_hasShrinkwrap":false,"_cnpm_publish_time":1498535606983,"_cnpmcore_publish_time":"2021-12-17T03:26:17.817Z"},"1.3.4":{"name":"pcm-convert","version":"1.3.4","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","tape":"^4.6.3"},"dependencies":{"audio-format":"^2.0.0","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"d0174c69ec4f13a830f15e6ea18ef2bdbf4453c0","_id":"pcm-convert@1.3.4","_shasum":"c9a2cb077387082ccd77c4c2bd385691e80e18b4","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"c9a2cb077387082ccd77c4c2bd385691e80e18b4","size":4462,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.3.4.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.3.4.tgz_1498494805789_0.17886794917285442"},"directories":{},"publish_time":1498494806788,"_hasShrinkwrap":false,"_cnpm_publish_time":1498494806788,"_cnpmcore_publish_time":"2021-12-17T03:26:18.067Z"},"1.3.3":{"name":"pcm-convert","version":"1.3.3","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","tape":"^4.6.3"},"dependencies":{"audio-format":"^1.0.0","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"e5db68792f9c0dea846578d2e80ba4eec5eba125","_id":"pcm-convert@1.3.3","_shasum":"56db7527f11c50878c000ca6b8929f7368630647","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"56db7527f11c50878c000ca6b8929f7368630647","size":4422,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.3.3.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.3.3.tgz_1498460201439_0.16001330409199"},"directories":{},"publish_time":1498460202410,"_hasShrinkwrap":false,"_cnpm_publish_time":1498460202410,"_cnpmcore_publish_time":"2021-12-17T03:26:18.273Z"},"1.3.2":{"name":"pcm-convert","version":"1.3.2","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","tape":"^4.6.3"},"dependencies":{"audio-format":"^1.0.0","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"ca924a0f8c0f66eb34e615624e1ecc2ae4c21ae4","_id":"pcm-convert@1.3.2","_shasum":"e678e74701b491eedfe39498c175d922b6181484","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"e678e74701b491eedfe39498c175d922b6181484","size":4409,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.3.2.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.3.2.tgz_1498456922888_0.5922621726058424"},"directories":{},"publish_time":1498456923748,"_hasShrinkwrap":false,"_cnpm_publish_time":1498456923748,"_cnpmcore_publish_time":"2021-12-17T03:26:18.534Z"},"1.3.1":{"name":"pcm-convert","version":"1.3.1","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","tape":"^4.6.3"},"dependencies":{"audio-format":"^1.0.0","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"4d23a433f97489bef4d395a1bfee180a72fdc503","_id":"pcm-convert@1.3.1","_shasum":"41c3808d615039103a83cb7287a0fcc20192d42e","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"41c3808d615039103a83cb7287a0fcc20192d42e","size":4404,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.3.1.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.3.1.tgz_1498456794082_0.20952073065564036"},"directories":{},"publish_time":1498456795019,"_hasShrinkwrap":false,"_cnpm_publish_time":1498456795019,"_cnpmcore_publish_time":"2021-12-17T03:26:18.742Z"},"1.3.0":{"name":"pcm-convert","version":"1.3.0","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","tape":"^4.6.3"},"dependencies":{"audio-format":"^1.0.0","is-buffer":"^1.1.5","object-assign":"^4.1.1"},"gitHead":"9cd9a9935c1b62038384f54c9ff4c788aeb54e32","_id":"pcm-convert@1.3.0","_shasum":"821223e8e35288556c49c6810a38327acbbe24b6","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"821223e8e35288556c49c6810a38327acbbe24b6","size":4241,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.3.0.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.3.0.tgz_1498455431224_0.17024881741963327"},"directories":{},"publish_time":1498455432173,"_hasShrinkwrap":false,"_cnpm_publish_time":1498455432173,"_cnpmcore_publish_time":"2021-12-17T03:26:18.974Z"},"1.2.0":{"name":"pcm-convert","version":"1.2.0","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","tape":"^4.6.3"},"dependencies":{"is-buffer":"^1.1.5"},"gitHead":"a6154ea61f9707ff921ed2fcb1f7811e6c055a03","_id":"pcm-convert@1.2.0","_shasum":"bbf4f9f273802a15a38437b8575ecbba21e6f11a","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"bbf4f9f273802a15a38437b8575ecbba21e6f11a","size":4655,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.2.0.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.2.0.tgz_1498419825957_0.35289215040393174"},"directories":{},"publish_time":1498419826887,"_hasShrinkwrap":false,"_cnpm_publish_time":1498419826887,"_cnpmcore_publish_time":"2021-12-17T03:26:19.170Z"},"1.1.0":{"name":"pcm-convert","version":"1.1.0","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","tape":"^4.6.3"},"dependencies":{"is-buffer":"^1.1.5"},"gitHead":"5a82b9d0bd67f979dbc85f2f52f63ed5b7db236e","_id":"pcm-convert@1.1.0","_shasum":"53ed85c903fb539849e5190dbe15cb7186881eb2","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"53ed85c903fb539849e5190dbe15cb7186881eb2","size":4528,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.1.0.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.1.0.tgz_1498404282083_0.17071173177100718"},"directories":{},"publish_time":1498404283051,"_hasShrinkwrap":false,"_cnpm_publish_time":1498404283051,"_cnpmcore_publish_time":"2021-12-17T03:26:19.417Z"},"1.0.1":{"name":"pcm-convert","version":"1.0.1","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","tape":"^4.6.3"},"dependencies":{"is-buffer":"^1.1.5"},"gitHead":"f8ae0afd197a3ce3d0169972d44bdc884fab5103","_id":"pcm-convert@1.0.1","_shasum":"ce1500591caf2f479d7ed238e032dee76d8d350d","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"ce1500591caf2f479d7ed238e032dee76d8d350d","size":4285,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.0.1.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.0.1.tgz_1498370796225_0.3995931774843484"},"directories":{},"publish_time":1498370797162,"_hasShrinkwrap":false,"_cnpm_publish_time":1498370797162,"_cnpmcore_publish_time":"2021-12-17T03:26:19.644Z"},"1.0.0":{"name":"pcm-convert","version":"1.0.0","description":"Convert pcm data from one format to another","main":"index.js","scripts":{"test":"node test --harmony"},"repository":{"type":"git","url":"git+https://github.com/audiojs/pcm-convert.git"},"keywords":["audio","pcm","audiojs","dsp"],"author":{"name":"Dima Yv","email":"dfcreative@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"homepage":"https://github.com/audiojs/pcm-convert#readme","devDependencies":{"almost-equal":"^1.1.0","tape":"^4.6.3"},"dependencies":{"is-buffer":"^1.1.5"},"gitHead":"930b2d9bb4882dbdc83664c44ff8a1e2b66050cd","_id":"pcm-convert@1.0.0","_shasum":"d0f71726d5f9d45953146b96cfc20502bf1f5eb1","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"dfcreative","email":"df.creative@gmail.com"},"dist":{"shasum":"d0f71726d5f9d45953146b96cfc20502bf1f5eb1","size":4193,"noattachment":false,"key":"/pcm-convert/-/pcm-convert-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pcm-convert/download/pcm-convert-1.0.0.tgz"},"maintainers":[{"name":"dfcreative","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pcm-convert-1.0.0.tgz_1498365386284_0.29838201380334795"},"directories":{},"publish_time":1498365387303,"_hasShrinkwrap":false,"_cnpm_publish_time":1498365387303,"_cnpmcore_publish_time":"2021-12-17T03:26:19.864Z"}},"readme":"# pcm-convert [![unstable](https://img.shields.io/badge/stability-unstable-green.svg)](http://github.com/badges/stability-badges) [![Build Status](https://img.shields.io/travis/audiojs/pcm-convert.svg)](https://travis-ci.org/audiojs/pcm-convert) [![Greenkeeper badge](https://badges.greenkeeper.io/audiojs/pcm-convert.svg)](https://greenkeeper.io/)\r\n\r\nConvert data from one pcm-format to another.\r\n\r\n## Usage\r\n\r\n[![npm install pcm-convert](https://nodei.co/npm/pcm-convert.png?mini=true)](https://npmjs.org/package/pcm-convert/)\r\n\r\n```js\r\nconst convert = require('pcm-convert')\r\n\r\n//convert data from float32 to uint8 array\r\nlet uint8arr = convert([0, 0.1, 0.1, 0], 'float32', 'uint8')\r\n\r\n//convert interleaved uint8 to planar float32 array\r\nlet float32arr = convert(new Uint8Array([127, 200, 127, 200]), 'uint8 stereo interleaved', 'float32 planar')\r\n\r\n//deinterleave keeping the same data type\r\nlet int8arr = convert(new Int8Array([-100,100,-100,100]), 'interleaved', 'planar')\r\n\r\n//change endianness keeping the same data type\r\nlet float32be = convert(new Float32Array([1,.5,-.5,-1]), 'le', 'be')\r\n\r\n//use objects as formats\r\nlet float64 = convert(float32be, {\r\n\tdtype: 'float32',\r\n\tchannels: 2,\r\n\tinterleaved: false,\r\n\tendianness: 'be'\r\n}, {\r\n\tdtype: 'float64',\r\n\tinterleaved: true,\r\n\tendianness: 'le'\r\n})\r\n\r\n//skip source format string, convert directly to data format\r\nlet uint16 = convert(new Uint8Array([0,255]), 'uint16')\r\n\r\n//put data into target container skipping format strings\r\nconvert(new Uint8Array([0,255]), new Uint16Array(2))\r\n\r\n//full arguments case\r\nlet uint16arr = convert([0, 0, 1, 1], 'float32 le stereo planar', 'uint16 interleaved be', new Uint16Array(4))\r\n```\r\n\r\n## API\r\n\r\n### convert(src, srcFormat?, dstFormat?, dst?)\r\n\r\nTakes data in `src` container and converts from `srcFormat` to `dstFormat`. Format can be whether a string with tags or an object with properties, see [audio-format](https://github.com/audio-format) module. If `srcFormat` is skipped, it is detected from `src`. Optionally a destination container can be provided as `dst`, and in case if `dstFormat` is skipped, it will be detected from `dst`.\r\n\r\n#### Source\r\n\r\nSource format is inferred from `src` data type and extended with `srcFormat` properties. By default source is considered `planar mono le`. Source data types:\r\n\r\n| Type | Dtype |\r\n|---|---|\r\n| `Array` | `float32` |\r\n| `Float32Array` | `float32` |\r\n| `Float64Array` | `float64` |\r\n| `ArrayBuffer` | `uint8` |\r\n| `Buffer` | `uint8` |\r\n| `Uint8Array` | `uint8` |\r\n| `Uint8ClampedArray` | `uint8` |\r\n| `Uint16Array` | `uint16` |\r\n| `Uint32Array` | `uint32` |\r\n| `Int8Array` | `int8` |\r\n| `Int16Array` | `int16` |\r\n| `Int32Array` | `int32` |\r\n\r\n#### Format\r\n\r\nCan be defined as `dtype` string with tags, eg. `'uint8 interleaved mono le'`, `'float64 planar quad'` (some tags can be skipped), or an object with the following properties:\r\n\r\n| Property | Meaning |\r\n|---|---|\r\n| `dtype` | Data type string: `uint8`, `uint16`, `uint32`, `int8`, `int16`, `int32`, `float32`, `float64`, `array` (only `dstFormat`), `arraybuffer` (only `dstFormat`).  |\r\n| `interleaved` | Boolean indicating if data has `interleaved` or `planar` layout. |\r\n| `channels` | Number of channels in source: `mono`, `stereo`, `quad`, `5.1`. |\r\n| `endianness` | `be` or `le`, defaults to OS endianness. |\r\n\r\n\r\n\r\n## Related\r\n\r\n* [audio-format](https://github.com/audiojs/audio-format) - audio format notation parser/stringifier.\r\n* [audio-speaker](https://github.com/audiojs/audio-speaker) - output data to speaker in node.\r\n* [dtype](https://github.com/shama/dtype) - list of standard data types.\r\n\r\n## License\r\n\r\n© 2017 Dima Yv. MIT License\r\n","_attachments":{},"homepage":"https://github.com/audiojs/pcm-convert#readme","bugs":{"url":"https://github.com/audiojs/pcm-convert/issues"},"license":"MIT"}