Note that there are some explanatory texts on larger screens.

plurals
  1. POwami recoreder with java
    primarykey
    data
    text
    <p>To use wami recorder with java api wich file is needed. I have it's version with flash which contain index.html as follow</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;!-- swfobject is a commonly used library to embed Flash content --&gt; &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"&gt;&lt;/script&gt; &lt;!-- Setup the recorder interface --&gt; &lt;script type="text/javascript" src="recorder.js"&gt;&lt;/script&gt; &lt;script&gt; function setup() { Wami.setup("wami"); } function record() { status("Recording..."); Wami.startRecording('http://localhost/audiorecording/test.php?name=demo.mp3'); } function play() { Wami.startPlaying("http://localhost/audiorecording/demo.mp3"); alert("It's start playing"); } function stop() { status(""); Wami.stopRecording(); alert("stop"); Wami.stopPlaying(); } function status(msg) { document.getElementById('status').innerHTML = msg; } &lt;/script&gt; &lt;/head&gt; &lt;body onload="setup()"&gt; &lt;input type="button" value="Record" onclick="record()"&gt;&lt;/input&gt; &lt;input type="button" value="Stop" onclick="stop()"&gt;&lt;/input&gt; &lt;input type="button" value="Play" onclick="play()"&gt;&lt;/input&gt; &lt;div id="status"&gt;&lt;/div&gt; &lt;div id="wami"&gt;&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>and one php file as </p> <pre><code>&lt;?php parse_str($_SERVER['QUERY_STRING'], $params); $name = isset($params['name']) ? $params['name'] : 'output.wav'; $content = file_get_contents('php://input'); $fh = fopen($name, 'w') or die("can't open file"); fwrite($fh, $content); fclose($fh); ?&gt; </code></pre> <p>swfobject.js is available online and the other one recoder.js and gui.js is available online</p> <p><a href="https://wami-recorder.googlecode.com/hg/example/client/index.html" rel="nofollow">https://wami-recorder.googlecode.com/hg/example/client/index.html</a></p> <p>the above thing is done by using flash but it's not working on all pc on click of button I got error as that respective function is not available and Wami is not defined Wami.setup("wami"); plz help me out of it or i saw official website of wami where they specify release of 2008 which is java dependent but i am not able to find out how to use it if you have any idea about it so plz reply....... </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload