|
7.
|
|
|
For example::
|
|
|
|
::
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/voice.rst:37
|
|
8.
|
|
|
Automatic Voice
|
|
|
|
자동 음성
|
|
Translated and reviewed by
baekansi
|
|
|
|
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.
|
|
|
|
렌파이에는 대사 스크립트 전에 일일히 voice 문을 입력하지 않아도 음성을 재생하도록 할 수 있는 음성파일 자동 정의 기능이 있습니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
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)", "계속하기"를 선택해 대사를 스프레드시트 프로그램에서 불러올 수 있는 스프레드시트 파일로 추출해야 합니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/voice.rst:68
|
|
11.
|
|
|
The first column of the spreadsheet is the identifier to use, with other columns giving more information about the dialogue.
|
|
|
|
스프레드시트에 있는 첫 번째 열이 바로 식별자입니다. 다른 열에는 그 대사에 대한 정보가 적혀있습니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/voice.rst:74
|
|
12.
|
|
|
To make Ren'Py automatically play voices, set :var:`config.auto_voice` to a string containing `{id}`. When dialogue occurs, `{id}` is replaced with the dialogue identifier, forming a filename. If the filename exists, it is played.
|
|
|
|
렌파이에서 음성을 자동으로 재생하도록 하려면 :var:`config.auto_voice` 에 `{id}` 가 포함된 문자열 값을 설정하십시오. 대사가 나타나면 `{id}` 가 대사 식별자로 교체되어 파일 이름이 됩니다. 그 파일 이름과 같은 파일이 존재한다면 해당 음성 파일이 재생됩니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/voice.rst:77
|
|
13.
|
|
|
For example, if we have::
|
|
|
|
::
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/voice.rst:82
|
|
14.
|
|
|
And the dialogue identifier is ``demo_minigame_03fc91ef``, then when the corresponding line is shown, Ren'Py will look for the file ``voice/demo_minigame_03fc91ef.ogg``. If the file exists, Ren'Py will play it.
|
|
|
|
예를 들면 위 예제에서 대사 식별자는 ``demo_minigame_03fc91ef`` 이며, 식별자와 동일한 행이 나타나면 렌파이는 ``voice/demo_minigame_03fc91ef.ogg`` 파일을 검색합니다. 파일이 있다면 렌파이에서 재생됩니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/voice.rst:86
|
|
15.
|
|
|
Voice Functions
|
|
|
|
음성 함수
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/voice.rst:93
|
|
16.
|
|
|
Plays `filename` on the voice channel. The equivalent of the voice statement.
|
|
|
|
`filename` 을 voice 채널에서 재생합니다. voice 문에 상응하는 함수입니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/inc/voice:5
|