Comments (5)
If you want to send Sounds to an Aux bus with the API you need to activate the checkbox Use game-defined aux sends
for your specific objects in the Actor-Mixer or Interactive Music Hierarchy in Wwise:
Then you can call Wwise.set_game_obj_aux_send_values. This calls
AK::SoundEngine::SetGameObjectAuxSendValues
.
Example:
func _ready():
var aux_send_values:Array
var aux_send_value:Dictionary
aux_send_value["aux_bus_id"] = AK.AUX_BUSSES.LARGEVERB
aux_send_value["control_value"] = 12.0
aux_send_values.append(aux_send_value)
Wwise.set_game_obj_aux_send_values($"../AkEvent".get_instance_id(), aux_send_values, aux_send_values.size())
First argument ist the (Wwise) GameObject ID, you can get it by calling get_instance_id
on the Godot Object you registered your Wwise GameObject with Wwise.register_game_obj
, or in case you are using the AkEvent node, you can call it on the node itself as you can see in the example above.
Second argument is an array containing dictionaries with info about your aux send. The aux_send_value
dictionary needs two infos, one - the ID of the aux bus, two - a float value in the range [0.0f:16.0f] that represents the amplification factor applied to the sound going through the aux bus.
Third argument is just the size of the array.
Does that answer your question?
from wwise-godot-integration.
Great I'll give it a go! Thanks
from wwise-godot-integration.
I spoke to the music guys, they said they control the AUX sends, but not sure... does this mean I don't need to do anything code side if they do this already?
from wwise-godot-integration.
If they already control them from Wwise you don't need to do anything code side.
from wwise-godot-integration.
Closing as this seems to be solved.
from wwise-godot-integration.
Related Issues (20)
- Using Callbacks in conjunction with a Stop Fade Time causes a crash when exiting the tree HOT 10
- HTML5 support? HOT 1
- Godot 3.5 support HOT 5
- Official support for Wwise version 2021.1.5.7749 or higher HOT 3
- is Godot 3.5 compatible? HOT 1
- Do Audio files need to be within the project? HOT 1
- Error integrating Wwise - AK_InvalidID HOT 3
- Does this integration work with any other version of Wwise? HOT 1
- Console support? HOT 2
- No audio when exporting to HTML HOT 2
- Event ID not found HOT 5
- Spacial Audio issues HOT 1
- Godot 4.x Support HOT 5
- Wiki: suggestions for the `Building the GDExtension Library` page HOT 1
- Error loading extension (Godot 4.0.4, Wwise 2022.1.6) HOT 5
- Add support for Suspend/WakeupFromSuspend in wwise_runtime_manager HOT 2
- Parse error with wwise_id.gd [Godot 4.2, Wwise 2023.1] HOT 3
- InvalidID error while posting events [Godot 4.2, wwise 2023.1] HOT 2
- Error integrating Wwise - AK_InvalidID HOT 1
- set_game_object_output_bus_volume not callable without listener object HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wwise-godot-integration.