gabrielpoca / browser-pcm-stream Goto Github PK
View Code? Open in Web Editor NEWStream pcm from the browser's microphone through websockets to a node server and save to wav file.
License: GNU General Public License v3.0
Stream pcm from the browser's microphone through websockets to a node server and save to wav file.
License: GNU General Public License v3.0
On safari the AudioContext doesn't work.
"createMediaStreamSource is not a function"
So is there any polyfill or something that can help me in making it work on Safari browser?
Hi again Gabriel,
Do you know how can I record more than one stream in a request? In other words, I want record a stream always that I click in START RECORDING.
Since now, Thank you!
Hi,
there are 2 major issues we notice with the default created demo2.wav file:
Are those known issues?
Thank you
Phil
Hi.. I am using your code.. its great btw. But I cannot seem to find a way to record audio twice without having to refresh the page.. can you help?
I download the package in my MAC
and run node App.js
http://localhost:3700 did response.
However, the audio failed to record.... The output file is only 44 bytes.
Looking at debugger of chrome, I got following error:
WebSocket connection to 'ws://null/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
createScriptProcessor is also deprecated but still continues to be supported by browsers. Request for an update with createAudioWorker, which shall be the replacement as per W3C editor draft (link pasted below)
After start, i'm visiting localhost:3700 and obtain the follow error:
WebSocket connection to 'ws://null/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
The wav file is created but it is always empty.
Please add a license to your code. It looks like a great place to start, but I don't know if I can use it.
Hi,
I would like to know how change the Sample Rate in the project. I tried change the variable "SampleRate" in the "app.js" file, but it did not work. After I tried change the same variable in "writer.js" file, in the "wav" lib of NodeJs. But it did not work too. What Can I do?
Since now, I thank so much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.