Skip to content

Instantly share code, notes, and snippets.

@sletz
Created August 31, 2025 20:03
Show Gist options
  • Select an option

  • Save sletz/a6de52b534d5c85b67083a2539560b75 to your computer and use it in GitHub Desktop.

Select an option

Save sletz/a6de52b534d5c85b67083a2539560b75 to your computer and use it in GitHub Desktop.
faust2wwise
magellan-pro:examples letz$ faust2wwise reverb/dattorro.dsp
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
faust2wwise static compilation tool.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--------- Environment variables ----------
Wwise installation: /Applications/Audiokinetic/Wwise2024.1.4.8780
faust_dsp_dir /usr/local/share/faust
faust_include_dir /usr/local/include
------------------------------------------
------------------------------------------Preliminary Step : setup and validate environment
==========================================
FAUST2WWISE CONFIGURATION
================= Paths ==================
Faust paths:
faust_dsp_dir: /usr/local/share/faust
faust_include_dir: /usr/local/include
archfile /usr/local/share/faust/wwise.cpp
Wwise paths:
wwiseroot /Applications/Audiokinetic/Wwise2024.1.4.8780
wp_script /Applications/Audiokinetic/Wwise2024.1.4.8780/Scripts/Build/Plugins/wp.py
wwise_template_dir -> unresolved yet and will be defined after compiling the dsp file with Faust
patch_version None
Other:
temp_dir /Users/letz/Developpements/faust/examples/dattorro/_temp_
============== Parameters ================
Faust params:
dsp_file /Users/letz/Developpements/faust/examples/reverb/dattorro.dsp
dsp_filename dattorro
json_file /Users/letz/Developpements/faust/examples/reverb/dattorro.dsp.json
output_dir /Users/letz/Developpements/faust/examples/dattorro
faust_options []
Wwise params:
platform Mac
configuration Release
arch arm64
plugin_interface --> unresolved yet and will be defined after compiling the dsp file with Faust
============= Error Codes ================
ERR_INVALID_INPUT 2
ERR_ENVIRONMENT 3
ERR_FAUST_COMPILE 4
ERR_JSON_PARSE 5
ERR_GENERATION 6
ERR_INTEGRATION 7
ERR_CONFIGURATION 8
ERR_BUILD 9
========== Plugin Configuration ==========
unresolved yet and will be defined after compiling the dsp file with Faust
==========================================
OK : Preliminary step was completed successfully!
------------------------------------------Step 1: Compiling Faust DSP to C++
Running command: faust -json -I /usr/local/include -a /usr/local/share/faust/wwise.cpp /Users/letz/Developpements/faust/examples/reverb/dattorro.dsp -o /Users/letz/Developpements/faust/examples/dattorro/_temp_/dattorro.cpp
Parsing json configuration file..
PLUGIN_NAME changed to Dattorro
OK : /Users/letz/Developpements/faust/examples/reverb/dattorro.dsp.json was parsed successfully!
========== PLUGIN CONFIGURATION ==========
plugin_type effect
plugin_name Dattorro
plugin_suffix FX
num_inputs 2
num_outputs 2
author Jakob Zerbian
description Dattorro demo application.
plugin_interface in-place
wwise_template_dir /usr/local/share/faust/wwise/default/effect (in-place)
==========================================
OK : DSP compiling step was completed successfully!
------------------------------------------Step 2: Generating Wwise plugin project
Running command: python /Applications/Audiokinetic/Wwise2024.1.4.8780/Scripts/Build/Plugins/wp.py new --effect --name Dattorro --display-name Dattorro --author Jakob Zerbian --description Dattorro demo application. --no-prompt
Generating project structure for Dattorro
OK : Generation step was completed successfully!
------------------------------------------Step 3: Integration Step
Architecture File Integration
OK : Copied Faust DSP to: /Users/letz/Developpements/faust/examples/dattorro/Dattorro/SoundEnginePlugin/faustdsp.cpp
Replacing generated files with custom templates...
Replacing specific SoundEnginePlugin files...
OK : Replaced: SoundEnginePlugin/DattorroFX.h with SoundEnginePlugin/ProjectNameFX.h
OK : Replaced: SoundEnginePlugin/DattorroFX.cpp with SoundEnginePlugin/ProjectNameFX.cpp
OK : Replaced: SoundEnginePlugin/DattorroFXParams.h with SoundEnginePlugin/ProjectNameFXParams.h
OK : Replaced: SoundEnginePlugin/DattorroFXParams.cpp with SoundEnginePlugin/ProjectNameFXParams.cpp
OK : Replaced: WwisePlugin/DattorroPlugin.cpp with WwisePlugin/ProjectNamePlugin.cpp
OK: Custom templates applied successfully!
Integrating parameters...
OK : Succesfully extracted parameters from /Users/letz/Developpements/faust/examples/reverb/dattorro.dsp.json file.
OK : Properties are injected successfully into xml file
Modifying Lua build script for Faust includes...
OK : Updated Lua build script with Faust include paths
OK : Integration step was completed successfully!
------------------------------------------Step 4: Configuring project files
Running command: python /Applications/Audiokinetic/Wwise2024.1.4.8780/Scripts/Build/Plugins/wp.py premake Mac
Using Scripts/Premake script
Generating solutions for Dattorro...
Premaking for Mac
Project path: /Users/letz/Developpements/faust/examples/dattorro/Dattorro/
Generated plugin.entitlements... [New]
Building configurations...
Running action 'xcode4'...
Generated Dattorro_Mac.xcworkspace/contents.xcworkspacedata... [New]
Generated SoundEnginePlugin/Dattorro_Mac_shared.xcodeproj/project.pbxproj... [New]
Generated SoundEnginePlugin/Dattorro_Mac_static.xcodeproj/project.pbxproj... [New]
Summary: 4 new, 0 updated, 0 without changes. 4 total.
Premake Command: ['/Applications/Audiokinetic/Wwise2024.1.4.8780/Tools/Mac/bin/premake5', '--scripts=/Applications/Audiokinetic/Wwise2024.1.4.8780/SDK/source/Build;/Applications/Audiokinetic/Wwise2024.1.4.8780/Scripts/Premake;/Applications/Audiokinetic/Wwise2024.1.4.8780/Scripts/Build', '--file=/Applications/Audiokinetic/Wwise2024.1.4.8780/Scripts/Build/Plugins/premakePlugins.lua', 'xcode4', '--os=macosx', '--plugindir=/Users/letz/Developpements/faust/examples/dattorro/Dattorro', '--authoring=no', '--codesign=yes']
OK : Configuring step was completed successfully!
------------------------------------------Step 5: Building plugin
Running command: python /Applications/Audiokinetic/Wwise2024.1.4.8780/Scripts/Build/Plugins/wp.py build -c Release -x arm64 Mac
Error: Command failed: python /Applications/Audiokinetic/Wwise2024.1.4.8780/Scripts/Build/Plugins/wp.py build -c Release -x arm64 Mac
Building Dattorro for Mac in Release...
Loading toolchain vers file from /Applications/Audiokinetic/Wwise2024.1.4.8780/Scripts/ToolchainSetup/Mac/ToolchainVers.txt
Fetching toolchain environment from /Applications/Audiokinetic/Wwise2024.1.4.8780/Scripts/ToolchainSetup/Mac/GetToolchainEnv.py
Applying toolchain envvar for build command: DEVELOPER_DIR=/Applications/Xcode16.app/Contents/Developer
Build Command: ['xcodebuild', '-workspace', 'Dattorro_Mac.xcworkspace', '-scheme', 'Dattorro', '-configuration', 'Release', '-quiet', 'ARCHS=arm64', 'VALID_ARCHS=arm64']
xcrun: error: missing DEVELOPER_DIR path: /Applications/Xcode16.app/Contents/Developer
Exiting with error code 9
An error occurred during execution.
Please review the console output above to identify the issue.
For help, refer to the Troubleshooting Guide:
https://github.com/grame-cncm/faust/blob/master-dev/architecture/wwise/README.md#troubleshooting
If the error is not listed there, check the GitHub issues or consider reporting it:
https://github.com/grame-cncm/faust/issues
magellan-pro:examples letz$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment