google / google/lyra

Implementing a Python wrapper for Lyra

Open
#107 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
4k
Forks
368
PR merge metrics
No merged PRs in 30d

Description

Hi!

I'm trying to create a python binding for your project that would be easily pip-installable. To do so I am also developing a C binding. This is fairly simple, as it mainly translates C++ vectors into C structs. This is required because C++ name mangling makes it quite hard to export .so libraries directly from C++. I think, from what I gathered, that this is also required for most other programming languages to be able to access the library (I found similar methods for JAVA for example).
Maybe this would be a contribution useful to other people. It would also allow making Lyra to work without using Bazel.

On another side, I'm trying to export the most useful functionalities of the library. I already made wrappers for LyraEncoder and LyraDecoder, but I'm not sure what other functionalities would be useful for people to have access to. I'm planning to tackle SoundStream next.
What other functionalities do you think would be useful to expose?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.