Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

nl.marc-apps:tts-compose-iosx64

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nl.marc-apps:tts-compose-iosx64

Kotlin Multiplatform Text-to-Speech library for Android and browser (Kotlin/JS & Kotlin/Wasm). This library will enable you to use Text-to-Speech in multiplatform Kotlin projects.

Source
mavenMaven
Version
3.0.0
Version published
Maintainers
1
Source

TextToSpeechKt

Kotlin Multiplatform Text-to-Speech library for Android, iOS, macOS and browser (Kotlin/JS & Kotlin/Wasm).

Gradle deployment Quality Gate Status Maven Central License

:notebook_with_decorative_cover: Table of Contents

:star2: About the Project

:space_invader: Tech Stack

Uses Kotlin Multiplatform with support for the following targets:

PlatformLanguageSupport
AndroidKotlin/JVM
BrowserKotlin/JS
BrowserKotlin/Wasm
BrowserJS, TSSupport ended in v2.0
DesktopKotlin/JVM⚠️ Experimental support
iOS, MacOSKotlin/Native⚠️ Experimental support
Other Kotlin/NativeKotlin/Native

:dart: Features

  • Create the engine with Kotlin Coroutines
  • Await speech synthesis completion using Kotlin Coroutines
  • Modify the volume or mute the volume entirely
  • Modify the voice pitch
  • Modify the voice rate
  • Compose support with rememberTextToSpeechOrNull() (works in multiplatform code!)

:toolbox: Getting Started

:bangbang: Prerequisites

A build tool like Gradle or Maven.

:gear: Installation

Gradle

Configure the Maven Central repository:

repositories {
    mavenCentral()
}

And add the library to your dependencies:

dependencies {
    implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
    implementation("nl.marc-apps:tts:2.5.0")

    // Optional: Extensions for Compose
    implementation("nl.marc-apps:tts-compose:2.5.0")
}

Or

kotlin {
    sourceSets {
        commonMain.dependencies { 
            implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
            implementation("nl.marc-apps:tts:2.5.0")

            // Optional: Extensions for Compose 
            implementation("nl.marc-apps:tts-compose:2.5.0")
        }
    }
}

Make sure to configure the latest stable version: Maven Central

Apache Maven

Add the library to your dependencies:

<dependency>
    <groupId>org.jetbrains.kotlinx</groupId>
    <artifactId>kotlinx-coroutines-core</artifactId>
    <version>1.8.0</version>
</dependency>
<dependency>
    <groupId>nl.marc-apps</groupId>
    <artifactId>tts</artifactId>
    <version>2.5.0</version>
</dependency>
<!-- Optional: Extensions for Compose -->
<dependency>
    <groupId>nl.marc-apps</groupId>
    <artifactId>tts-compose</artifactId>
    <version>2.5.0</version>
</dependency>

Make sure to configure the latest stable version: Maven Central

:eyes: Usage

Documentation files

View documentation generated by Dokka

Demo projects

Go to the /demo directory of this project.

:warning: License

This project is published under the MIT License. Read more about this license in the LICENSE file.

:gem: Acknowledgements

FAQs

Package last updated on 20 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts