2.5.0 • Published 8 years ago

raw-media-recorder v2.5.0

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

Raw Media Recorder

Record audio from your microphone into AudioBuffer, useful when your browser (hi Safari 👋) doesn't support MediaRecorder or you don't want to decode from Opus.

Install

yarn add raw-media-recorder

or

npm install raw-media-recorder

Usage

let recorder = new RawMediaRecorder(new AudioContext())
recorder.onstart = () => {
    // Indicate recording, for example
    // this.setState({ recording: true })
}
recorder.onstop = () => {
    // On recording stoped, for example
    // this.setState({ recording: false })
}
recorder.ondata = data => {
    // Data recorder as AudioBuffer
}

// Start recording
recorder.start()

// Stop recording
recorder.stop()
2.5.0

8 years ago

2.4.0

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.0

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.4.3

8 years ago

1.4.2

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago