psirenny / opus-encode

Encode audio buffer streams to ogg opus.
The Unlicense
8 stars 2 forks source link

Working in the browser? #1

Open nuthinking opened 5 years ago

nuthinking commented 5 years ago

I was expecting this to work also in the browser but I get fs.readFileSync is not a function

lamchiminhmark commented 5 years ago

I am getting this very same issue.

rowntreerob commented 4 years ago

generic webapps using microphone ( web-audio ) which need encode step should look at encode in a worklet. however, this preferred arch not an option if 'fs' module is a dependency. what about webpack loader for wasm?