mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
43b78cd2ad
This PR adds 3 types of audio streams used for interactive music support. * AudioStreamInteractive: Allows setting several sub-streams and transition between them with many options. * AudioStreamPlaylist: Allows sequential or shuffled playback of a list of streams. * AudioStreamSynchronized: Allows synchronous playback of several streams, the volume of each can be controlled. Theese three stream types can be combined to create complex, layered interactive music and transitions between them, similar to software such as WWise.
12 lines
302 B
Python
12 lines
302 B
Python
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_interactive_music = env_modules.Clone()
|
|
|
|
# Godot's own source files
|
|
env_interactive_music.add_source_files(env.modules_sources, "*.cpp")
|
|
if env.editor_build:
|
|
env_interactive_music.add_source_files(env.modules_sources, "editor/*.cpp")
|