1.0.15 • Published 4 years ago

web-audio-wave-recorder v1.0.15

Weekly downloads
376
License
MIT
Repository
github
Last release
4 years ago

web-audio-wave-recorder

Record wav files using Web Audio APIs

Unfortunately, MediaRecorder does not support wav files (technically linear PCM encoding). This uses the older and less fluent AudioContext API, manually dealing with audio buffers and .wav header construction.

API

start(options: RecordingOptions): Promise<RecordingState>

Takes optional recording options and starts recording.

stop(recordingState: RecordingState): Promise<Blob>

Takes required recording state and returns a blob of type audio/wav.

Prior art

Author

© 2019 Tom Vincent git@tlvince.com (https://tlvince.com)

License

Released under the MIT license.

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago