
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (88)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (10810)
-
ffmpeg : more expressive sample rate automatic selection.
20 mars 2012, par Clément Bœschffmpeg : more expressive sample rate automatic selection.
-
Core : assign rules to contenteditable via `.validate()` and `.rules()…
14 février 2017, par ArkniCore : assign rules to contenteditable via `.validate()` and `.rules()` (#1947)
Fixes #1946
-
how can I set a specific duration for my speech using Google Text to Speech
2 avril, par Alexandre SilkinI went through the documentation of Google Text to Speech SSML. https://developers.google.com/assistant/actions/reference/ssml#prosody


So there is a tag called which as per the documentation of W3 Specification can accept an attribute called duration which is a value in seconds or milliseconds for the desired time to take to read the contained text.


So
<speak><prosody duration="'6s'">Hello, How are you?</prosody></speak>
should take 3 seconds for google text to speech to speak this ! But when i try it here https://cloud.google.com/text-to-speech/ , its not working and also I tried it in rest API.

How can I get the time of each speech segment generated by the Google Text to Speech SSML that´s a little different from the original .srt from witch it was generated from, I was looking for a way to do so with ffmpeg so then I could divide the (tts_generated_speech/original_duration) in order to get the speech_rate_percentage witch I could use for each speech segment, so it would match the original_duration time.


Original post : Is there a way to make Google Text to Speech, speak text for a desired duration ?