If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since september. Please use hippie2000@webnmail.de instead.

0
U

Property:avmspeechd (avmcmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> avmspeechd (avmcmd) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Gallery

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Info
  
Name-Collision - multiple objects in this wiki use the name avmspeechd!
avmspeechd (avmcmd) Online Speech-Service dispatcher daemon.
avmspeechd (process) Text-to-Speech online synthesizer daemon.

AVM-Command

Goto:   Events  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

avmspeechd is a Text-to-Speech online synthesizer daemon, AVM calls it AVM Speech-Service.

It is a frontend to the online speech synthesis API running on AVM servers. Features:

  • 7 languages - de, en, it, es, pl, nl, fr
  • 2 genders - male / female
  • 2 channel mixer - speech can be mixed with a Ringtone
  • 3 codecs - WAV, G.722, Speex
  • Creates an OAuth 2.0 device token derived from avm_root_ca.pem
  • Creates an OAuth 2.0 MyFRITZ! token which implies it requires registration

The last 2 assumptions are based on these error strings:

[AVM Speech - E] Could not register oauth2 state callback for MyFRITZ!
[AVM Speech - E] Could not register oauth2 state callback for device certificate!

avmspeechd is triggered by its client api libavmspeech_client.so, which is used by dect_manager and the shell tool tts_conv.
tts_conv is used by the telefon plugin libtam.so to improve the speech quality of the TAM messages.

AVM also improved the offline speech synthesis Audio-Files in 7.39 so avmspeechd is likely an opt-in service.

fw 7.39 help:

root@fritz:/var/mod/root# avmspeechd -?

usage: avmspeechd [options]

options:
  -?                 - print this help
  -d                 - run service as daemon. (NOTSET)
  -s                 - stop service. (NOTSET)

Events

Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this command. Last update: 2023-02-07 06:39 GMT.
The owners of Event-Sinks and Event-Sources are manual research, which may be incomplete or even wrong.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.
A ** in the Mod column marks info from Supportdata2 probes, which by their nature will stay way more incomplete.
A - in the Mod column marks manual research, the Firmware then shows where the item occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
Endpoint sock me_avmspeechd_ipc_oauth2.ctl 10* 7.24 - 7.51 avmipc endpoint of avmspeechd AVM
Listens to avmipc NW_IPC_EVT_OAUTH_COM_CONTROLLER 9** 7.39 - 7.51 TODO AVM
Listens to avmipc NW_IPC_STA_OAUTH_SERVICE_STATES 9** 7.39 - 7.51 TODO AVM
3 event relations for this command

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.39 source files:

$ strings /bin/avmspeechd | grep -e '\.c$' -e '\.cpp$'

src/cache/cache.c
src/server/server.c
src/server/packet_handler/service_info.c
src/server/packet_handler/text_conversion.c
src/service_api/request.c
src/service_api/request_url_generator.c
src/utils/url_utils.c  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2023-02-07 07:21 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Started by serv avmspeechd.service 28 7.24 - 7.51 supervisor service for avmspeechd. AVM
Runs as proc avmspeechd (process) 10* 7.24 - 7.51 Online Speech-Service dispatcher daemon. AVM
Serving sock avmspeechd_sock_if_0 10* 7.24 - 7.51 TODO AVM
Serving sock me_avmspeechd_ipc_oauth2.ctl 10* 7.24 - 7.51 avmipc endpoint of avmspeechd AVM
Depends on lib ld.so 8 7.24 - 7.51 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 28 7.24 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libavmhmac.so 28 7.24 - 7.51 HMAC / SHA / MD5 hashing. AVM
Depends on lib libc.so 28 7.24 - 7.51 Standard C library Linux
Depends on lib libewnwlinux.so 28 7.24 - 7.51 Linux networking functions AVM
Depends on lib liboauth2.so 28 7.24 - 7.51 OAuth v2.0 authentificator Linux
Depends on lib libpthread.so 7 7.24 - 7.50 POSIX threading library Linux
Depends on lib libsvctl.so 28 7.24 - 7.51 supervisor notification library AVM
Depends on lib libwebsrv.so 28 7.24 - 7.51 HTTP / HTTPS webserver and tools. AVM
13 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2023-02-07 05:56 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 4040 7.39 /bin, /lib/supportdata.d 401 - 29.4k
FRITZ!Box 4060 7.26 - 7.39 /bin, /lib/supportdata.d 401 - 29.4k
FRITZ!Box 5530 Fiber (main) 7.24 /bin, /lib/supportdata.d 401 - 35.3k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.39 /bin, /lib/supportdata.d 401 - 29.4k
FRITZ!Box 6490 Cable (arm) 7.39 /bin, /lib/supportdata.d 401 - 25.3k
FRITZ!Box 6490 Cable (atom) 7.39 /bin, /lib/supportdata.d 401 - 25.3k
FRITZ!Box 6590 Cable (arm) 7.39 /bin, /lib/supportdata.d 401 - 25.3k
FRITZ!Box 6590 Cable (atom) 7.39 /bin, /lib/supportdata.d 401 - 25.3k
FRITZ!Box 6591 Cable (arm) 7.39 /bin, /lib/supportdata.d 401 - 37.5k
FRITZ!Box 6591 Cable (atom) 7.39 /bin, /lib/supportdata.d 401 - 37.5k
FRITZ!Box 6660 Cable (arm) 7.28 - 7.39 /bin, /lib/supportdata.d 401 - 37.5k
FRITZ!Box 6660 Cable (atom) 7.28 - 7.39 /bin, /lib/supportdata.d 401 - 37.5k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.50 /bin, /lib/supportdata.d 401 - 37.5k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.50 /bin, /lib/supportdata.d 401 - 37.5k
FRITZ!Box 6850 LTE 7.39 /bin, /lib/supportdata.d 401 - 35.4k
FRITZ!Box 6850 5G 7.39 /bin, /lib/supportdata.d 401 - 29.4k
FRITZ!Box 6890 LTE 7.39 /bin, /lib/supportdata.d 401 - 35.4k
FRITZ!Box 6890 LTE v1 7.39 /bin, /lib/supportdata.d 401 - 35.4k
FRITZ!Box 6890 LTE v2 7.39 /bin, /lib/supportdata.d 401 - 35.4k
FRITZ!Box 7490 (main) 7.39 - 7.51 /bin, /lib/supportdata.d 401 - 31.4k
FRITZ!Box 7510 7.39 /bin, /lib/supportdata.d 401 - 29.4k
FRITZ!Box 7520 7.39 - 7.50 /bin, /lib/supportdata.d 401 - 29.4k
FRITZ!Box 7520 v2 (arm) 7.39 - 7.50 /bin, /lib/supportdata.d 401 - 29.4k
FRITZ!Box 7530 7.39 - 7.51 /bin, /lib/supportdata.d 401 - 29.4k
FRITZ!Box 7530 AX 7.24 - 7.39 /bin, /lib/supportdata.d 401 - 29.5k
FRITZ!Box 7590 7.39 - 7.51 /bin, /lib/supportdata.d 401 - 35.4k
FRITZ!Box 7590 AX 7.24 - 7.39 /bin, /lib/supportdata.d 401 - 35.4k
FRITZ!Smart Gateway 7.39 - 7.51 /bin, /lib/supportdata.d 401 - 29.4k
28 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2023-02-07 07:21 GMT.

Firmware Symbol
7.24 - 7.51 cache_create_entry
7.24 - 7.51 cache_get_count_entries
7.24 - 7.51 cache_get_entry
7.24 - 7.51 cache_get_memory_stats
7.24 - 7.51 cache_initialize
7.24 - 7.51 cache_shutdown
7.24 - 7.51 generate_request_url
7.24 - 7.51 handle_packet_service_info
7.24 - 7.51 handle_packet_text_conversion
7.39 - 7.51 is_authentication_ready
7.24 is_myfritz_ready
7.24 - 7.51 main
7.24 - 7.51 request_text_to_speech
7.24 - 7.51 server_start
7.24 - 7.51 server_stop
7.24 - 7.51 server_update
7.24 - 7.51 url_encode_utf8_string
17 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.