Uses binary.js and stream.js to read / write wav files quickly.
This library is deprecated. Synchronous string-based decoding is not a good idea, there are better options available nowadays. Take a look at aurora.js.
For encoding, see Recorderjs.
// Read file contents into a pcm object: var pcm = PCMData.decode(waveData); // Write a wav file (also explains the pcm object) var waveData = PCMData.encode({ sampleRate: 44100, channelCount: 2, bytesPerSample: 1, data: buffer, /* A (typed) array containing the PCM data */ chunks: { // Place the extra chunks here. 'tag ': 'something', 'extb': 'more of something' } });
BSD License
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3