Skip to content

How to send a wav file to the browser? #1976

Answered by miguelgrinberg
shyam3089 asked this question in Q&A
Discussion options

You must be logged in to vote

This isn't a question that is related to Socket.IO. What you need to do is extract the raw audio from the wav file, which is what the Audio object in the browser uses. But I suggest you find a dedicated resource to learn all the details, since neither the server nor the client side are as simplistic as you have them in the code above.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shyam3089
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants