Skip to content

narentcgf889/Streaming-audio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This app aims to stream when user speaking into microphone. Data is send simultaneously to server until client do one of these actions: click stop recording, close browser, or being quite for a while.

The server receives data continuously and appends it into a wav file, it doesn't wait until the actions above happen.

It streams pcm chunks from the browser's mic into a node server through websockets. Those chunks are piped into node-wav FileWriter.

This app use Binary.js for transfer data through websocket. You can check its docs here

To start run:

node app.js

Then go to http://localhost:3700 and make a recording. It should create a wav file in your project's folder.

About

Streaming audio NodeJS app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 98.5%
  • HTML 1.5%