This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
from pprint import pprint | |
from waapi import WaapiClient # pip install waapi-client | |
import numpy as np # pip install numpy | |
import Levenshtein # pip install levenshtein | |
parser = argparse.ArgumentParser(description='Auto-Assign Switch Containers: using WAAPI, for the selected containers, automatically assign each child object to a switch or state from the group.') | |
parser.add_argument("objects", nargs="*", help="GUIDs of target switch containers") | |
args = parser.parse_args() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from waapi import WaapiClient | |
# Connect (default URL) | |
client = WaapiClient() | |
options = { | |
'return': ['name', 'id', 'type', 'path'] | |
} | |
AMH = client.call("ak.wwise.core.object.get", { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2023 Audiokinetic Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from waapi import WaapiClient | |
import pprint | |
# Connect (default URL) | |
client = WaapiClient() | |
# Return all targets | |
args = { | |
"objects":[ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from waapi import WaapiClient | |
# Connect (default URL) | |
client = WaapiClient() | |
# Return all targets | |
args = { | |
"host":"D:\\code\\master1\\Wwise\\SDK\\samples\\IntegrationDemo\\WwiseProject\\ProfilingSession12.prof" | |
} |