Skip to content
 
 

Repository files navigation

MLX Audio TTS examples for macOS

This is an example of using MLX Audio to run local TTS models.

Steps to run:

  • Open project in Xcode
  • Copy your .tensorfile to relevant Resources folder (Kokoro and Orpheus)
  • Change project signing in "Signing and Capabilities" project settings
  • Run the App

nSpeak framework is embedeed for Kokoro already.

Kokoro

  • Expected tensorfile: kokoro-v1_0.safetensors

Implemented and working. Based on Kokoro TTS for iOS. All credit to mlalma for that work!

Uses MLX Swift and eSpeak NG. M1 chip or better is requied.

Orpheus

  • Expected tensorfile: orpheus-3b-0.1-ft-4bit.safetensors

Test implementation - not working. Unexpected layer shapes.

About

A text-to-speech (TTS), speech-to-text (STT) and speech-to-speech (STS) library built on Apple's MLX framework, providing efficient speech analysis on Apple Silicon.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages