encodec icon indicating copy to clipboard operation
encodec copied to clipboard

Real-time usage example, and permissive licensing question

Open josephrocca opened this issue 2 years ago • 9 comments

❓ Questions

Thanks for releasing this - very exciting work! I have two questions:

  • Do you have examples for real-time usage, or is it currently only set up for conversion of pre-recorded audio files at this time?
  • Lyra V2 is permissively licensed (Apache-2.0), and I'm in the process of getting an open-source demo of it working on the web so that people can use it in their web applications. Would you consider using a permissive license (e.g. CC-BY/MIT/Apache) so that your work can more broadly benefit the open source ecosystem? I'd love to create a JS package for this that anyone can use in their web app.

josephrocca avatar Oct 26 '22 10:10 josephrocca

We are considering the possibility of releasing this code under MIT, but it will take a bit of time to get the legal approval.

At the moment we do not provide an API for real streaming, although this is on our todo.

adefossez avatar Oct 26 '22 12:10 adefossez

To add to the freedom to use the IP question: Patent rights are not licensed under the current license. Did you apply for one or more patents before releasing this? Could you comment on the patent situation please.

kwinz avatar Oct 28 '22 15:10 kwinz

Huge thanks to all authors for releasing this fantastic work!!

I too am curious about licensing. Is there any update on releasing under MIT?

chrisdonahue avatar Dec 02 '22 15:12 chrisdonahue

As others have mentioned, thanks for the work!

I know these things take time, but are you able to update us on whether there is still any willpower pursuing a more permissive license?

Stack-Attack avatar Feb 15 '23 06:02 Stack-Attack

It looks like this issue can be closed as of 2 weeks ago, as the code and model weights are apparently relicensed to MIT. Could the authors confirm this is correct? @adefossez

https://github.com/facebookresearch/encodec/commit/349b72939f57cb3bc7b60906c0ee8228c849485d

pzelasko avatar May 11 '23 12:05 pzelasko

Same question here: Are the model weights MIT licensed, or does that refer to the code only?

dakl avatar Jun 12 '23 11:06 dakl

That PR looks like it is releasing the code only MIT.

A bit confused by the licensing as well. Audiocraft weights are not under commercial license, but HF transformers is?

sjkoelle avatar Aug 04 '23 15:08 sjkoelle

Thanks for releasing this under MIT License! Could you (dual-) license this under https://opensource.org/license/bsdpluspatent/ ?

The libary's use is limited with a license which covers just part of the IP rights. Thanks in advance!

kwinz avatar Feb 20 '24 13:02 kwinz

I hope the question raised by OP still remains, example of real-time streaming usage of encodec.

stonelazy avatar Jun 07 '24 01:06 stonelazy