|
5.
|
|
|
WAV (uncompressed PCM only)
|
|
|
|
WAV (только несжатый PCM)
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/audio.rst:12
|
|
6.
|
|
|
Ren'Py supports an arbitrary number of audio channels. Three are defined by default:
|
|
|
|
Ren'Py поддерживает неограниченное число аудио-каналов. По умолчанию определены три:
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/audio.rst:14
|
|
7.
|
|
|
music - A channel for music playback.
|
|
|
|
music - канал для воспроизведения музыки.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/audio.rst:17
|
|
8.
|
|
|
sound - A channel for sound effects.
|
|
|
|
sound - канал для звуковых эффектов.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/audio.rst:18
|
|
9.
|
|
|
voice - A channel for voice.
|
|
|
|
voice - канал для голоса.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/audio.rst:19
|
|
10.
|
|
|
New channels can be registered with :func:`renpy.music.register_channel`.
|
|
|
|
Новые каналы можно зарегистрировать через :func:`renpy.music.register_channel`.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/audio.rst:21
|
|
11.
|
|
|
The 'Music Volume', 'Sound Volume', and 'Voice Volume' settings of the in-game preferences menu are used to set individual volumes for these channels.
|
|
|
|
Опции "Громкость музыки", "Громкость звука" и "Громкость голоса" в игровом меню настроек могут быть использованы для установки громкости каждого из этих каналов по отдельности.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/audio.rst:23
|
|
12.
|
|
|
Sounds can also be set to play when buttons, menu choices, or imagemaps enter their hovered or activated states. See :ref:`Button Style Properties <button-style-properties>`. Two configuration variables, :var:`config.main_menu_music` and :var:`config.game_menu_music` allow for the given music files to be played as the main and game menu music, respectively.
|
|
|
|
Звуки могут также проигрываться при нажатий кнопок, выборе пунктов меню или карт изображений. Смотрите :ref:`Свойства стилей кнопок <button-style-properties>`. Две переменные, :var:`config.main_menu_music` и :var:`config.game_menu_music` могут быть использованы для воспроизведения определенных музыкальных файлов в главном и игровом меню.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/audio.rst:27
|
|
13.
|
|
|
In-game, the usual way to play music and sound in Ren'Py is using the three music/sound statements.
|
|
|
|
В игре, музыка и звуки обычно воспроизводятся Ren'Py с использованием трех операторов.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/audio.rst:34
|
|
14.
|
|
|
Play Statement
|
|
|
|
Оператор play
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/audio.rst:38
|