Nauman Zafar
Nauman Zafar

Reputation: 1103

HTML5 Audio Recording

I wanted to use the plugin for Audio Capturing in a recent project. I found Matt Diamond's effort with a demo here as most of the articles point here . I tried recreating this very same demo locally but no luck.

I included every dependency like demo's. Aslo changed the WorkerPath in recorder.js but nothing seems to work.

Please share your experiences. Any pointer to solution is highly appreciated.

Thanks.

Upvotes: 3

Views: 2087

Answers (3)

Max Uppenkamp
Max Uppenkamp

Reputation: 974

We did this for a project a while back, there are a few flags you need to enable in chrome in order for this to work, Legacy Audio Pipelining is one of them. If you need the rest, i can check.

Upvotes: 0

Asim K T
Asim K T

Reputation: 18154

Can you please try with this HTML:

https://raw.githubusercontent.com/mattdiamond/Recorderjs/master/examples/example_simple_exportwav.html

and this JS:

https://raw.githubusercontent.com/mattdiamond/Recorderjs/master/dist/recorder.js

This have no save button either. But it will show the status of the JS.

The example is taken from the official repo of recorderJS (https://github.com/mattdiamond/Recorderjs).

I think you missed some script from your example.

Upvotes: 2

sandrina-p
sandrina-p

Reputation: 4170

I think you need to have a localhost on your machine to that works. If you don't know how to do it, it's not hard. I have a OSX and i use MAMP, it works for Windows as well. All you need to do is:

1- install MAMP

2- copy the files to MAMP/htdocs/

3- open MAMP and start servers

4- access //localhost:8888 or //localhost and that's it.

Let me know if it works.

Btw, where did you downloaded the project files? I don't find them, to test on my computer.

Upvotes: 0

Related Questions