Comments (10)
We don't include Convolution by default, since it is not a stock plugin.
You would need to build the binaries yourself and include the convolution plugin like in the example command you posted. Do you need any help with that?
from wwise-godot-integration.
Aha this now makes sense! I am going to give it a try and come back to you if I have any issues! Thank you!
from wwise-godot-integration.
Is there a user friendly guide on all the steps required that I can follow? I see there is a pre-requisite to building the original Godot bindings.
from wwise-godot-integration.
I'll start here
https://docs.godotengine.org/en/latest/development/compiling/index.html
from wwise-godot-integration.
you don't need to compile whole Godot. Check this tutorial: https://www.youtube.com/watch?v=u4OmyevtdUQ
The steps in brief: clone this repo, then build the cpp bindings:
cd godot-cpp
scons platform=windows target=debug generate_bindings=yes -j4 (number of cpu cores)
scons platform=windows target=release generate_bindings=yes -j4 (number of cpu cores)
then cd to wwise-gdnative and execute scons again:
scons target=debug platform=windows wwise_sdk="%WWISESDK%" plugins=convolution target_path=bin/
scons target=release platform=windows wwise_sdk="%WWISESDK%" plugins=convolution target_path=bin/
from wwise-godot-integration.
Nice thanks!
scons target=release platform=osx wwise_sdk=/Applications/Audiokinetic/Wwise\ 2021.1.2.7629/SDK plugins=convolution target_path=bin/
scons: Reading SConscript files ...
Wwise SDK headers path: /Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/include/
Wwise SDK libs path: /Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/Mac/Release/lib/
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/wwise_gdnative.os -c -std=c++14 -g -O3 -arch x86_64 -fPIC -DAK_OPTIMIZED -DAK_CONVOLUTION -I. -I/Users/shaunstone/Personal/wwise-godot-integration/godot-cpp/godot-headers -I/Users/shaunstone/Personal/wwise-godot-integration/godot-cpp/include -I/Users/shaunstone/Personal/wwise-godot-integration/godot-cpp/include/core -I/Users/shaunstone/Personal/wwise-godot-integration/godot-cpp/include/gen -Isrc "-I/Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/include" "-I/Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/samples/SoundEngine/POSIX" src/wwise_gdnative.cpp
src/wwise_gdnative.cpp:851:17: error: no member named 'occlusion' in 'AkAcousticSurface'
akSurfaces[0].occlusion = occlusionValue;
~~~~~~~~~~~~~ ^
src/wwise_gdnative.cpp:948:22: error: no viable overloaded '='
portalParams.Extent = akExtent;
~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
/Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/include/AK/SpatialAudio/Common/AkSpatialAudio.h:160:8: note:
candidate function (the implicit copy assignment operator) not viable: no known
conversion from 'AkVector' to 'const AkExtent' for 1st argument
struct AkExtent
^
/Applications/Audiokinetic/Wwise 2021.1.2.7629/SDK/include/AK/SpatialAudio/Common/AkSpatialAudio.h:160:8: note:
candidate function (the implicit move assignment operator) not viable: no known
conversion from 'AkVector' to 'AkExtent' for 1st argument
src/wwise_gdnative.cpp:1697:18: error: no member named 'uDiffractionFlags' in
'AkSpatialAudioInitSettings'
spatialSettings.uDiffractionFlags = static_cast<unsigned int>(
~~~~~~~~~~~~~~~ ^
src/wwise_gdnative.cpp:1700:18: error: no member named 'fDiffractionShadowAttenFactor' in
'AkSpatialAudioInitSettings'
spatialSettings.fDiffractionShadowAttenFactor = static_cast<float>(getPlatf...
~~~~~~~~~~~~~~~ ^
src/wwise_gdnative.cpp:1703:18: error: no member named 'fDiffractionShadowDegrees' in
'AkSpatialAudioInitSettings'
spatialSettings.fDiffractionShadowDegrees = static_cast<float>(getPlatformP...
~~~~~~~~~~~~~~~ ^
src/wwise_gdnative.cpp:1721:18: error: no member named 'bEnableDirectPathDiffraction' in
'AkSpatialAudioInitSettings'
spatialSettings.bEnableDirectPathDiffraction = static_cast<bool>(getPlatfor...
~~~~~~~~~~~~~~~ ^
src/wwise_gdnative.cpp:1724:18: error: no member named 'bEnableTransmission' in
'AkSpatialAudioInitSettings'
spatialSettings.bEnableTransmission = static_cast<bool>(
~~~~~~~~~~~~~~~ ^
7 errors generated.
scons: *** [src/wwise_gdnative.os] Error 1
scons: building terminated because of errors
from wwise-godot-integration.
It is trying to use SDK 2021.1.2.7629 but we support 2019.2.1.7250. If you have both installed you can replace %WWISESDK%
with the path to the correct SDK.
from wwise-godot-integration.
Got you, thanks! I will change to the one supported!
from wwise-godot-integration.
All working now! Brilliant thanks as always!
from wwise-godot-integration.
Great to hear! Cheers!
from wwise-godot-integration.
Related Issues (20)
- Stuck with AK_Fail ID error HOT 7
- Godot 4 ? HOT 2
- 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
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.