mlx-audio icon indicating copy to clipboard operation
mlx-audio copied to clipboard

Is mixing voices possible?

Open odeemi opened this issue 10 months ago • 1 comments

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))

odeemi avatar Mar 03 '25 20:03 odeemi

My pleasure!

That's an interesting idea, I will experiment in the upcoming release or right after.

Blaizzy avatar Mar 04 '25 02:03 Blaizzy