
Recherche avancée
Autres articles (88)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
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 ?