Skip to content

Commit

Permalink
Add interactive music support
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
reduz committed Mar 12, 2024
1 parent 810f127 commit 43b78cd
Show file tree
Hide file tree
Showing 22 changed files with 3,303 additions and 0 deletions.
1 change: 1 addition & 0 deletions editor/icons/FadeCross.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions editor/icons/FadeDisabled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions editor/icons/FadeIn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions editor/icons/FadeOut.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions modules/interactive_music/SCsub
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/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")
Loading

0 comments on commit 43b78cd

Please sign in to comment.