Outils pour utilisateurs

Outils du site


en:yaml:medias

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
en:yaml:medias [2026/09/06 19:04] – 4.14 : le texte TTS est lu sans affichage hors Discord cyrilfiestaen:yaml:medias [2026/10/19 01:24] (Version actuelle) – Wiki 4.17 : corrections apres audit des exemples et traductions cyrilfiesta
Ligne 15: Ligne 15:
 Supported formats for linting and exports: ''.mp3'', ''.ogg'', ''.wav'', ''.flac'', ''.m4a''. Supported formats for linting and exports: ''.mp3'', ''.ogg'', ''.wav'', ''.flac'', ''.m4a''.
  
-Without an audio extension, the content of ''%%<<…>>%%'' is read aloud without being displayed:+Without an audio extension, the content of ''%%<<...>>%%'' is read aloud without being displayed:
 <code yaml> <code yaml>
 text: "<<Welcome to the adventure!>>" text: "<<Welcome to the adventure!>>"
 </code> </code>
 Discord uses native TTS messages, which remain visible; Web, Desktop and standalone exports use the device's speech synthesis without displaying the content. The Terminal has no speech synthesis and ignores it. To display the text too, write it normally in addition to the tag. Discord uses native TTS messages, which remain visible; Web, Desktop and standalone exports use the device's speech synthesis without displaying the content. The Terminal has no speech synthesis and ignores it. To display the text too, write it normally in addition to the tag.
 +
 +**Play N times** (0 means loop indefinitely):
 +
 +<code yaml>
 +text: "<<3:https://example.com/sounds/alarm.mp3>>"
 +</code>
 +
 +For continuous playback:
 +
 +<code yaml>
 +text: "<<0:https://example.com/sounds/music.mp3>>"
 +</code>
 +
 +**Stop all sounds**:
  
 <code yaml> <code yaml>
-<<3:https://example.com/sounds/alarm.mp3>> +text: "<<stop>>"
-<<0:https://example.com/sounds/music.mp3>> +
-<<stop>>+
 </code> </code>
  
en/yaml/medias.txt · Dernière modification : de cyrilfiesta