Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added MP3 file support #79

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

mayppong
Copy link

Added MP3 audio type support using Lame library as inspired by nusofthq.
I ended up having to rename the exportWAV to exportAudio so that the function for export can be the same between WAV and MP3 worker. It breaks compatibility but makes the code easier to read and understand between the two workers.

Based off of the code from welll/record-encode-audio-from-browser, I’ve
clean it up and integrate it to this code using similar function names
and coding style. Will update the README and make a pull request to be
merged back!
Get it ready for a pull request.
Because I just found out that akrennmair/libmp3lame-js is licensed
under LGPL which is in conflict with the original license of the
project. The license note should reflect this.
Also add a quick note to warn about licensing conflict, and clarify the
separate worker for different output format.
@fluke
Copy link

fluke commented Jul 31, 2015

Does this work on all platforms?

@mayppong
Copy link
Author

mayppong commented Aug 2, 2015

What do you mean by platform? I've tested it using Chrome browser on OSX and Windows and they seem to work fine.

That said, everything here is done in JavaScript so it should work on any browser. Please note that there maybe some special licensing requirements for MP3 encoding though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants