GithubHelp home page GithubHelp logo

imclab / local-audio-recorder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pauln/local-audio-recorder

0.0 1.0 0.0 1.45 MB

Local audio recorder (no streaming server required). Currently requires Flash Player 10.1 or above.

local-audio-recorder's Introduction

local-audio-recorder

A local audio recorder (no streaming server required). Currently requires Flash Player 10.1 or above.

####Features

  • Records in MP3 or WAV format
  • Sends recordings to your server via HTTP POST
    • POST URL is configurable - send recordings anywhere you need to
    • Field name is configurable to suit your server-side handler
    • Additional fields (with their values) can be specified and will be included
  • Optionally passes the filename and file content to a JavaScript callback instead of performing a POST
  • A default filename can be specified
  • Force a specific filename if desired

####Live demo There is a basic demonstration of using the Local Audio Recorder with a JavaScript callback. This demo requires a browser which supports JavaScript, the HTML5 audio element and Typed Arrays.

####Options The following are the standard options, specified as flashvars. Any additional parameters passed as flashvars will be added to the POST request as extra fields, with names and values as per the flasvars.

  • gateway: URL to send POST request to, or "form" to use a JavaScript callback.
  • filefield: Name of the field to upload the file under, if local-audio-recorder is handling the POST request for you.
  • callback: JavaScript callback; takes two parameters: the file name and the file data.
  • filename: Default file name.
  • forcename: If this parameter is specified (with any value), the file name provided in the "filename" field will be enforced.
  • format: Output format. Set to "wav" to have local-audio-recorder produce a WAV file; otherwise it will default to MP3.

local-audio-recorder's People

Contributors

pauln avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.