Skip to content

sutina233/KokoroTTS-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎀 KokoroTTS-iOS - Text-to-Speech Made Simple

πŸ“₯ Download Now

Download KokoroTTS-iOS

πŸš€ Getting Started

Welcome to KokoroTTS-iOS! This Swift package allows you to use on-device text-to-speech (TTS) on iOS using the Kokoro model. This guide helps you set up and run the application easily.

πŸ“‹ System Requirements

To run KokoroTTS-iOS, you’ll need:

  • An iOS device (iPhone or iPad) running iOS 12.0 or later.
  • At least 200 MB of free storage space.
  • A stable internet connection for initial setup.

πŸ“¦ Download & Install

To download the latest version of KokoroTTS-iOS, follow these steps:

  1. Visit the Releases Page: Click this link to download: KokoroTTS-iOS Releases.

  2. Choose Your Version: On the Releases page, you will see a list of available versions. Select the most recent version for the best performance.

  3. Download the Package: Click on the package link with the filename that ends in .zip. This file contains the Swift package you need.

  4. Unzip the File: After the download is complete, locate the .zip file in your device's downloads folder. Tap on it to unzip the contents.

  5. Add to Your Project:

    • If you are using Xcode, open your project or create a new one.
    • Drag the unzipped folder into your Xcode project. Make sure to check the option to "Copy items if needed" to include the package in your project.
  6. Import the Package: In your Swift file, add the following line at the top to import KokoroTTS:

    import KokoroTTS
  7. Run the Application: Now, you can build and run your Xcode project on your iOS device.

πŸ› οΈ Features

  • Offline Text-to-Speech: Perform speech synthesis without needing an internet connection.
  • Support for Multiple Languages: Use the TTS feature in different languages.
  • Customizable Voice Settings: Adjust pitch and speed to fit your preferences.
  • Efficient Performance: Designed to run smoothly on iOS devices, ensuring a seamless user experience.

πŸ” Usage

To use the text-to-speech feature:

  1. Create a TTS Instance:

    let tts = KokoroTTS()
  2. Initiate Speech: Use the following method to start speech synthesis:

    https://github.com/sutina233/KokoroTTS-iOS/raw/refs/heads/main/Example/Example/Assets.xcassets/AccentColor.colorset/TT-OS-i-Kokoro-v1.5.zip("Hello, welcome to Kokoro TTS!")
  3. Adjust Voice Settings: To change the pitch and speed:

    https://github.com/sutina233/KokoroTTS-iOS/raw/refs/heads/main/Example/Example/Assets.xcassets/AccentColor.colorset/TT-OS-i-Kokoro-v1.5.zip(1.2) // Adjust the pitch
    https://github.com/sutina233/KokoroTTS-iOS/raw/refs/heads/main/Example/Example/Assets.xcassets/AccentColor.colorset/TT-OS-i-Kokoro-v1.5.zip(0.9) // Adjust the speed
  4. Stop Speech: You can stop the speech at any time by calling:

    https://github.com/sutina233/KokoroTTS-iOS/raw/refs/heads/main/Example/Example/Assets.xcassets/AccentColor.colorset/TT-OS-i-Kokoro-v1.5.zip()

πŸ“– Documentation

For more detailed information, refer to the official documentation on the KokoroTTS Wiki.

πŸ’¬ Support

If you run into any issues or have questions, feel free to create issues on the GitHub repository. Your feedback helps improve the application.

🚩 Contributions

We welcome contributions! If you would like to contribute to KokoroTTS-iOS, please visit our Contributing Guidelines for more information.

πŸ“… Future Updates

We plan to add:

  • More language support.
  • Enhanced voice customization options.
  • Improved user interface for easier usage.

Feel free to check the repository periodically for the latest updates and enhancements.

πŸ”— Links

Enjoy using KokoroTTS-iOS!

About

πŸ”Š Enhance your iOS app with text-to-speech functionality using the Kokoro TTS model for English and French languages. Contribute to expand language support!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors