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

MLX Swift Support and examples

Open BenLumenDigital opened this issue 10 months ago • 7 comments

Added a SwiftUI macOS example of Kokoro

BenLumenDigital avatar Apr 13 '25 17:04 BenLumenDigital

I love this, well done @BenLumenDigital ❤️

This is a great addition!

Blaizzy avatar Apr 13 '25 17:04 Blaizzy

For the project structure I'm thinking we do mlx_audio_swift/ and a folder structure similar to this because we will have to mirror it the same models at the end of the day.

What do you think? Screenshot 2025-04-13 at 7 42 13 PM

Blaizzy avatar Apr 13 '25 17:04 Blaizzy

Also, could you please add unit tests?

Blaizzy avatar Apr 13 '25 17:04 Blaizzy

For the project structure I'm thinking we do mlx_audio_swift/ and a folder structure similar to this because we will have to mirror it the same models at the end of the day.

What do you think? Screenshot 2025-04-13 at 7 42 13 PM

Sorry not quite sure what you mean... feel free to describe a bit more - or create the structure and I'll make it work!

BenLumenDigital avatar Apr 14 '25 10:04 BenLumenDigital

^ I can't see the screenshot above -- could you incorporate it into this branch instead?

It would be nice to stage this a bit as it's difficult to review all the changes due to the size of the patch, ideally with the scaffolding first and then only one model at a time per patch so we can give better feedback. Thanks!

lucasnewman avatar Apr 21 '25 18:04 lucasnewman

@BenLumenDigital hope you enjoyed the holidays

I have renamed the folder and I will run the examples this week.

Blaizzy avatar Apr 21 '25 20:04 Blaizzy

I imagine this could work with iOS as well if there was a fat framework provided for ESpeakNG and some porting effort?

colintheshots avatar Apr 30 '25 14:04 colintheshots