Tutorial: Samsung Galaxy offline speech to text setup [Android 13]

Liste des GroupesRevenir à m android 
Sujet : Tutorial: Samsung Galaxy offline speech to text setup [Android 13]
De : marion (at) *nospam* facts.com (Marion)
Groupes : comp.mobile.android
Date : 26. Jun 2025, 05:41:49
Autres entêtes
Organisation : BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID : <103ij2d$1oo$1@nnrp.usenet.blueworldhosting.com>
User-Agent : ForteAgent/8.00.32.1272
I was playing about with text-to-speech & speech-to-text engines.
By accident I had lost the keyboard microphone for offline speech to text.

Off the cuff, here's what I just did on a Galaxy A-series on Android 13.
I write this so that others, with a Samsung phone can do the same.

Trust me, it's confusing as all hell on a Samsung Galaxy phone.
Most of the menus are NOT what they appear to be.
In fact, incredulously in today's day, most of the menu names are WRONG.

When they say Text-to-Speech, they usually ALSO mean Speech-To-Text.
It's a leftover GUI, apparently, from the olden days of Android.

And, you have to do things in a very specific order.
However, the end result is offline speech to text in your keyboard app.

TUTORIAL: Enable offline dictation using OpenBoard keyboard using
Google's *offline* Speech Services (which does offline STT & TTS).

Note: If you know of a *better* offline speech services engine, say so.

1. Use Muntashirakon to ensure that the OpenBoard keyboard is installed.
   <https://github.com/MuntashirAkon/AppManager>
   If necessary, install OpenBoard (or whatever keyboard you prefer).
   <https://github.com/openboard-team/openboard>

2. Use Muntashirakon to ensure that "Speech Recognition and Synthesis
   from Google" is installed. (com.google.android.tts). If not, install it.
   <https://play.google.com/store/apps/details?id=com.google.android.tts>

   Note that for the Pixel, com.google.android.tts is called something
   different ("Speech Services by Google"); but it's the same package.

3. Verify "Speech Recognition and Synthesis from Google" is set up
   Settings > Apps > Search >
   Speech Recognition and Synthesis from Google"
   It should say it's "Installed" & that it has "Microphone" permissions

4. Set Default Keyboard to OpenBoard:
   Settings > General management > Keyboard list and default >
   Default keyboard > OpenBoard > Choose input method > English (US)

5. Enable "Google Voice Typing"
   Settings > General management > Keyboard list and default >
   Google Voice Typing (toggle ON).

6. Tap on the words "Google Voice Typing" (to enter its settings).
   Under "Offline speech" tap "Add a language, Manage offline languages"
   If necessary, download an offline language pack of your choosing.
   If desired, temporarily enable Wi-Fi/mobile data.
   Find "English (United States)" (or your desired language).
   If it's not "Installed" (e.g., you see a file size like "95MB"),
   tap to download it. Turn off "Auto update languages" if desired.
   Once downloaded, you may immediately disable Wi-Fi/mobile data.

7. Set your Preferred Speech Engine:
   Settings > General management > Text-to-speech > Preferred engine >
   Speech Recognition and Synthesis from Google

8. In the "Preferred engine" activity, tap the gear icon
   which is next to "Speech Recognition and Synthesis from Google"
   This takes you to "Google TTS Options."
   Note the name is very misleading as it covers STT options also.
   Confirm the settings are as desired, for example click on
   "Install voice data" and choose your language in "Google TTS voice data"
   Google TTS voice data = English (United States)
  
9. Choose a voice to download (this is for TTS and not for STT though).
   Settings > General management > Text-to-speech > Preferred engine >
   Gear icon > Google TTS Options > Install voice data >
   English (United States) >
   {VoiceI,VoiceII,VoiceIII,VoiceIV,VoiceV,VoiceVI,VoiceVII,VoiceVIII}

10. Configure OpenBoard Voice Input (this enables the microphone icon).
    First configure the system-wide language.
    Settings > General management > Languages = English (United States)
    Then configure the keyboard language.
    Settings > General management > OpenBoard settings = English (US)
    Lastly enable the keyboard microphone icon.
    Settings > General management > OpenBoard settings > Preferences >
    Voice input key = on

11. Manage conflicting voice inputs if they exist.
    Settings > General management > Keyboard list and default.
    If present and enabled, disable "Samsung Voice Input."

12. Grant microphone permissions to the keyboard & to the speech engine.
    Settings > Apps > OpenBoard > Permissions > Microphone >
    Allow only while using the app.

    Settings > Apps > Speech Recognition and Synthesis from Google >
    Permissions > Microphone > Allow only while using the app

Once that's set up, reboot the phone and test offline speech to text.
 a. Perform a full phone reboot.
 b. Enable Airplane Mode.
 c. Open any app with a text input field (e.g., PulseSMS).
 d. Bring up the OpenBoard keyboard.
 e. Tap the microphone icon on the OpenBoard keyboard.
 f. Speak. Your words should appear as text without an internet connection.

This summary captures the specific navigation paths and key toggles that
proved to be the solution on my Android 13 Samsung Galaxy A32-5G phone.

As it was written ad hoc, to help others, please let me know if I erred.

Improvements?
If you know of a better offline STT/TTS engine, please let us know.

I'm not aware of a single engine that is both, but I am aware of
separate engines such as Vosk (STT) & Piper, RHVoice & eSpeak (TTS)
which can be combined to do what "Speech Recognition and Synthesis from
Google" alone does (i.e., it does both STT & TTS completely offline).

Date Sujet#  Auteur
26 Jun 25 o Tutorial: Samsung Galaxy offline speech to text setup [Android 13]1Marion

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal