JavaSonics

SDK

Documentation


Web Home

SDK Home

Docs

Test PHP

Test ASP

Test ASP.NET

Examples

Demos

Download

Purchase

Support

Forum

Login

Contact Us

Company


JavaSonics ListenUp is no longer for sale.

Embedding ListenUp Recorder in a Web Page.

This page describes how to use the recorder Applet in a web page. It is based on the previous page which describes how to use the player Applet so you should read that first.

YOUR HTML PAGE NEEDS:

First set up your page as you did for the PlayerApplet.

Changes to Java Applet Tag

You can use an <applet> tag to run the ListenUp Applet. This section describes the various elements of an Applet tag.

CODE: To record audio then use code="com.softsynth.javasonics.recplay.RecorderUploadApplet".

ARCHIVE: Use the JavaSonicsListenUp.jar file if you want to record audio using the RecorderApplet or the RecorderUploadApplet. It is a signed JAR file that will put up a security dialog on Apple or when using the Sun Java plugin. If the user grants permission then the record audio feature will be enabled. The OggXiphSpeexJS.jar file in the archive is only needed if you plan to record or play back Speex compressed files.

Example Recorder HTML Code

The parts you are likely to change are in red.

<applet 
    code="com.softsynth.javasonics.recplay.RecorderUploadApplet"
    codebase="../codebase"
    archive="JavaSonicsListenUp.jar,OggXiphSpeexJS.jar"
    name="ListenUpRecorder"
    width="500"
    height="240">

    <!-- URL for the script which receives the uploaded sound file. -->
    <param name="uploadURL" value="handle_upload_simple.php">

    <!-- Name of uploaded sound file. Server can change it if needed. -->
    <param name="uploadFileName" value="whatever.wav">

</applet>

Click Here for a Simple Recording Example!

[Top] [Previous] [Next]

© 2001-2006 Mobileer, Inc.   This page is from the ListenUp SDK. You can download the SDK from here.