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

Interpolation between two audio clips? #68

Open
jhurliman opened this issue Aug 8, 2023 · 1 comment
Open

Interpolation between two audio clips? #68

jhurliman opened this issue Aug 8, 2023 · 1 comment
Labels
question Further information is requested

Comments

@jhurliman
Copy link

❓ Questions

I'm curious about using EnCodec to interpolate between audio clips in latent space. However, model.encode(inputs["input_values"], inputs["padding_mask"]) returns discrete integer codes and not a continuous vector representation. Is interpolation possible?

@jhurliman jhurliman added the question Further information is requested label Aug 8, 2023
@jhurliman
Copy link
Author

My understanding of the code is the embedding creation and quantization are done together when calling model.encode(), making interpolation challenging. I reimplemented encoding and decoding with embedding generation and quantization broken out as separate steps in my repository at https://github.com/jhurliman/music-interpolation. This is not using the quantization at all so effectively only the SEANet encoder-decoder, but with the ability to use the pre-trained "facebook/encodec_*khz" models.

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

No branches or pull requests

1 participant