
Product
Unify Your Security Stack with Socket Basics
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
nl.marc-apps:tts-wasm-js
Advanced tools
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.
Kotlin Multiplatform Text-to-Speech library for Android, iOS, macOS and browser (Kotlin/JS & Kotlin/Wasm).
Uses Kotlin Multiplatform with support for the following targets:
Platform | Language | Support |
---|---|---|
Android | Kotlin/JVM | âś… |
Browser | Kotlin/JS | âś… |
Browser | Kotlin/Wasm | âś… |
Browser | JS, TS | ❌ Support ended in v2.0 |
Desktop | Kotlin/JVM | ⚠️ Experimental support |
iOS, MacOS | Kotlin/Native | ⚠️ Experimental support |
Other Kotlin/Native | Kotlin/Native | ❌ |
rememberTextToSpeechOrNull()
(works in multiplatform code!)A build tool like Gradle or Maven.
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")
}
}
}
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>
View documentation generated by Dokka
Go to the /demo directory of this project.
This project is published under the MIT License. Read more about this license in the LICENSE
file.
FAQs
Text-to-Speech library for Kotlin Multiplatform. Supports targets Android, iOS, macOS and browser (js and wasmJs).
We found that nl.marc-apps:tts-wasm-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.
Research
/Security News
The Socket Threat Research Team uncovered a coordinated campaign that floods the Chrome Web Store with 131 rebranded clones of a WhatsApp Web automation extension to spam Brazilian users.