https://github.com/pqml/export-web-audio
Export clean samples to avoid crackling sounds with the WebAudioAPI on iOS
https://github.com/pqml/export-web-audio
Last synced: 2 months ago
JSON representation
Export clean samples to avoid crackling sounds with the WebAudioAPI on iOS
- Host: GitHub
- URL: https://github.com/pqml/export-web-audio
- Owner: pqml
- License: mit
- Created: 2017-03-20T14:04:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-20T17:30:48.000Z (about 8 years ago)
- Last Synced: 2025-01-27T08:34:45.945Z (3 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# export-web-audio
### Export clean samples to avoid crackling sounds with the WebAudioAPI on iOS
## Requirements
+ Node version >= 4
+ npm cersion >= 2
+ `ffmpeg` CLI installed
+ On OSX you can use `brew` to install it easily with `brew install ffmpeg`
## CLI Usage
#### installation
```
npm install -g export-web-audio
```#### usage
```
export-web-audio
export-web-audio INPUT
export-web-audio INPUT -o
export-web-audio INPUT -b --quiet --overwriteOptions:
-h, --help Show this screen.
-o, --output Output file or directory
-b, --bitrate Encoding bitrate (default: 128kbps)
-q, --quiet Suppress log messages
-y, --overwrite Overwrite output files if they already exist```
## Node.js Usage
#### installation
```
npm install -S export-web-audio
```#### usage
```js
var exportWebAudio = require('export-web-audio')
exportWebAudio(options)
```### options
+ **`options.input`**
+ Input file or directory
+ *default `process.cwd()`*+ **`options.output`**
+ Output file or directory
+ *default `process.cwd()`*+ **`options.bitrate`**
+ Set the encoding bitrate
+ *default `128`*+ **`options.overwrite`**
+ Overwrite output files if they already exist
+ *default `false`*+ **`options.quiet`**
+ Don't display any log messages
+ *default `false`*
## License
[MIT](https://tldrlegal.com/license/mit-license).