Skip to content

jabbawookiees/wav2speex.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wav2speex.js

This is a very simple wrapper around speex.js. Encodes WAV into speex and puts it in an .ogg format.

Usage is as follows:

Wav2Speex.encode(ArrayBuffer, workerScriptURL, callback)

  • arrayBuffer - An ArrayBuffer with WAV data. Obtainable by reading a file, for example.
  • workerScriptURL - Where wav2speexWorker.js is located
  • callback - This callback function will be passed an ArrayBuffer containing ogg-formatted, speex-encoded data.

This fires an asynchronous Web Worker to do the encoding.

About

Encodes wav to speex and returns it in an .ogg format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published