Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Implement compressed audio recording and import #94

@Lingomat

Description

@Lingomat

In order to share work directly from Aikuma, the audio will need to be compressed. This forked recorder.js is active and supports recording directly to ogg opus.
https://github.com/chris-rudmin/Recorderjs

I'm happy to accept ogg opus as our preferred format. The best performance going, broad standards support as an official web standard (thanks to no patent nonsense) and there are performant client-side encoder libraries.

If the user has imported an mp3 or M4A file, we don't need to (shouldn't) do anything, but it's probably better to encode a wav immediately.

Steps:

  1. Record New: Replace /mattdiamond/Recorderjs with /chris-rudmin/Recorderjs
  2. Insert basic options into settings view (bitrate)
  3. Implement a wav -> Opus compression (/Rillke/opusenc.js)
  4. Support having more than one source file where one is an archive, the other compressed.

Note: I tried the opus compression on my laptop and it encoded at 25X real-time. It's likely to be 10X on a mainstream device. Acceptable.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions