mlx-audio
mlx-audio copied to clipboard
Is mixing voices possible?
Hi, and thanks for this. Working great as FastAPI endpoint for voice.
Is it somehow possible to mix two different voices with each other in this MLX version? Like:
import torch
bella = torch.load('voices/af_bella.pt', weights_only=True)
sarah = torch.load('voices/af_sarah.pt', weights_only=True)
af = torch.mean(torch.stack([bella, sarah]), dim=0)
assert torch.equal(af, torch.load('voices/af.pt', weights_only=True))
My pleasure!
That's an interesting idea, I will experiment in the upcoming release or right after.