Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacobbubu/lame-stream
Nodejs stream2 wrapper of LAME
https://github.com/jacobbubu/lame-stream
Last synced: 14 days ago
JSON representation
Nodejs stream2 wrapper of LAME
- Host: GitHub
- URL: https://github.com/jacobbubu/lame-stream
- Owner: jacobbubu
- Created: 2014-07-16T04:58:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-16T04:58:52.000Z (over 10 years ago)
- Last Synced: 2024-12-13T23:46:41.395Z (about 1 month ago)
- Language: JavaScript
- Size: 512 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
lame-stream
==============### Use ###
```
$ npm install lame-stream
`````` js
var Lame = require('lame-stream')var lame = new Lame()
lame.options({
// accept mp1~3 file as input to stdin
mp1input: null,
mp2input: null,
mp3input: null
})
.from('./recit.mp3')
.to('./recit-out.mp3')
```or
``` js
var fs = require('fs')
var Lame = require('lame-stream')var lame = new Lame()
lame.options({
mp1input: null,
mp2input: null,
mp3input: null
})src = fs.createReadStream('./tone.mp3')
dest = fs.createWriteStream('./tone-out.mp3')src.pipe(lame).pipe(dest)
```Lookup up './examples' for running examples.
### License ###
MIT