A Kurmanji text-to-speech engine for Android. It registers as a system TTS engine, so TalkBack, Select to Speak and any app that uses Android's text-to-speech can speak Kurmanji with the Dengjen neural voices. Speech runs on the phone; the network is used only to download a voice.
- Install the app and open Dengjen.
- Download a Kurmanji voice. The list comes from the same Piper voice catalogue that
dengjen voices installuses on Linux. - Tap Open text-to-speech settings, choose Dengjen as the preferred engine and set the language to Kurdish.
- TalkBack now reads Kurmanji text with Dengjen.
Only Kurmanji voices are offered: other languages need eSpeak NG data, which the engine library does not ship yet (ZirekHQ/dengjen#541). Phones need a 64-bit ARM or x86 CPU (32-bit ARM is ZirekHQ/dengjen#542).
Prerequisites: JDK 17 and the Android SDK (platform 36).
scripts/fetch-aars.sh # the engine AARs from the release pinned in dengjen.lock
./gradlew lint testDebugUnitTest assembleDebug
adb install app/build/outputs/apk/debug/app-debug.apkTo move to a newer engine release, change version in dengjen.lock and copy the core and tts digests from that release's SHA256SUMS-android.txt.
tts/DengjenTtsService.kt: theTextToSpeechService. Maps Android's rate and pitch onto the engine's scales (Prosody.kt), streams PCM sentence by sentence and stops when the framework callsonStop.voices/: the catalogue parser, the resumable, digest-checked download into the samepiper/<key>/layout the Linux voice manager uses, and the repository the screen and the service share.ui/: the voice manager screen and the small activities Android's TTS settings call (check data, sample text).
GPL-3.0-or-later, the same as the engine. See LICENSE.