|
1.
|
|
|
Voice
|
|
|
|
语音
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:6
|
|
2.
|
|
|
Ren'Py includes support for playing back voice in conjunction with dialogue. This is done through the voice statement, which gives the voice filename to play::
|
|
|
|
Ren'py可支持与对话内容相关联的语音的播放。它通过给voice语句提供语音文件名实现播放:
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:8
|
|
3.
|
|
|
Normally, a playing voice is stopped at the start of the next interaction. The voice sustain statement can sustain voice playback through an interaction. ::
|
|
|
|
通常情况下,语音播放会在下一个动作开始时停止。语音持续语句可以实现动作后继续播放语音的效果。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:15
|
|
4.
|
|
|
The :var:`config.voice_filename_format` variable allows you to customize the voice filename, making it possible to omit directories and extensions.
|
|
|
|
使用:var:`config.voice_filename_format`变量可使您自定义语音文件名,使其能够省掉目录名和扩展名。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:25
|
|
5.
|
|
|
Voice Tags
|
|
|
|
语音标签
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:29
|
|
6.
|
|
|
Ren'Py includes a voice tag system that makes it possible to selectively mute or unmute a character's voice. To take advantage of this system, supply a voice_tag argument to each :func:`Character`, and use the :func:`SetVoiceMute` or :func:`ToggleVoiceMute` actions to allow the player to toggle the voice.
|
|
|
|
Ren'py包含语音标签系统以便您可以有选择性地屏蔽角色的语音。若要很好地利用此系统,给每个 :func:`Character`提供voice_tag参数并使用:func:`SetVoiceMute`或:func:`ToggleVoiceMute`动作来允许播放器触发语音。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:31
|
|
7.
|
|
|
For example::
|
|
|
|
例如:
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:37
|
|
8.
|
|
|
Automatic Voice
|
|
|
|
自动语音
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:62
|
|
9.
|
|
|
Ren'Py includes support for automatically determining the voice file to play, making it possible to play back voice without having to put voice statements before each line of dialogue.
|
|
|
|
Ren'py支持自动确定需要播放的语音文件,使您无需在每行对话之前都输入voice语句就能够实现语音播放。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:64
|
|
10.
|
|
|
This is done by creating voice files that match the identifier for each line of dialogue. To determine the identifiers to use , first export the dialogue to a spreadsheet by choosing from the launcher "Extract Dialogue", "Tab-delimited Spreadsheet (dialogue.tab)", and "Continue". This will produce a file, dialogue.tab, that can be loaded in a spreadsheet program.
|
|
|
|
它需要通过创建符合每行对话的识别符的语音文件来实现。要确定使用的识别符,请在启动器中点击“导出对话”、“Tab-delimited Spreadsheet (dialogue.tab)”(暂未汉化)以及“继续”来输出语音文件信息到电子表格中。这将会生成一个名为dialogue.tab的文件,可使用电子表格软件打开。
|
|
Translated and reviewed by
Huang Junjie
|
|
|
|
Located in
../../source/voice.rst:68
|