버전

menu_open

ak.wwise.core.object.attenuationCurveChanged


Sent when an attenuation curve is changed.

Supported by

Graphical User Interface, Command-Line Interface.

Options

Name Type Description
return array Data to be returned for every attenuation curve change.
platform string The ID (GUID) of the platform.

Options Details


return

description : Data to be returned for every attenuation curve change.
type : array

optionsSchema / return / ...

items

Possibilities, one of the following :

1) type : string
description : Specifies one or many of the built-in accessors for Wwise objects.
Possible values : "id", "name", "notes", "type", "shortId", "classId", "category", "filePath", "workunit", "parent", "owner", "path", "isPlayable", "childrenCount", "sound:convertedWemFilePath", "sound:originalWavFilePath", "soundbank:bnkFilePath", "music:transitionRoot", "music:playlistRoot", "audioSource:playbackDuration", "audioSource:maxDurationSource", "audioSource:trimValues", "audioSource:language", "workunit:isDefault", "workunit:type", "workunit:isDirty", "switchContainerChild:context"

2) type : string
description : Specifies one or many property names for Wwise objects. Specifying a single @ returns the value of the property for the associated object. Specifying a double @@ returns the value of the property for the source of override. Refer to Wwise Objects Reference.
pattern : ^@@?[_a-zA-Z0-9]+$

platform

description : The ID (GUID) of the platform.
type : string
pattern : ^\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}$


Publications Format

Name Type Description
attenuation * object The attenuation object owning the curve.
curveType * string The curve type that changed.
Possible values : "VolumeDryUsage", "VolumeWetGameUsage", "VolumeWetUserUsage", "LowPassFilterUsage", "HighPassFilterUsage", "SpreadUsage", "FocusUsage"

(Required *)

Publications Format Details


attenuation

description : The attenuation object owning the curve.
type : object

Name Type Description
id string The ID (GUID) of the object.
name string The name of the object.
notes string The notes of the object.
type string The type of the object. Refer to Wwise Objects Reference for more information on the types available.
path string The path of the object from the project root. Ex: '\\Actor-Mixer Hierarchy\\Default Work Unit\\Sound1'
parent object The parent of the object in the hierarchy.
owner object The owner of the object. This applies to objects being locally owned by other objects, such as custom effects, custom attenuations, etc.
isPlayable boolean True if the object can be played in Transport.
shortId integer The short ID of the object.
classId integer The class ID of the object.
category string The category of the object. Ex: 'Actor-Mixer Hierarchy'
filePath string The path to the file containing the object. The path can be a work-unit file, or a project file.
workunit object The parent workunit containing the object. The 'id' and the 'name' will be returned.
childrenCount number The number of children for the object.
music:transitionRoot object The music transition root containing all other music transitions recursively.
music:playlistRoot object The music playlist root containing all other music playlist items recursively. This applies to Music Playlist Containers only.
sound:originalWavFilePath string Absolute path to the original wav file. Only valid for Sound and Audio Source objects.
sound:convertedWemFilePath string Absolute path to the converted wem file. Specify the platform in the options. Only valid for Sound and Audio Source objects.
soundbank:bnkFilePath string Absolute path to the generated SoundBank file associated with the SoundBank object. Only valid for SoundBank objects.
audioSource:playbackDuration object The duration root that contains the min and max durations and duration type
audioSource:maxDurationSource object  
audioSource:trimValues object  
audioSource:language object Language associated to the audio source. This only applies to Audio Source objects directly.
workunit:isDefault boolean True if the work unit is the default.
workunit:type string The type of the Work Unit. Please note that, like Work Units, physical folders have the type "WorkUnit". Physical folders will have the workunit:type "folder".
Possible values : "folder", "rootFile", "nestedFile"
workunit:isDirty boolean True if a Work Unit or a Project (wproj file) is dirty, meaning it is modified but not saved.
switchContainerChild:context object The context object associated with the child of a Switch Container. This object holds the properties associated with the child that are context-dependent for the Switch Container (for example: property for the 1st only checkbox).


publishSchema / attenuation / ...

id

description : The ID (GUID) of the object.
type : string
pattern : ^\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}$

publishSchema / attenuation / ...

name

type : string
description : The name of the object.

publishSchema / attenuation / ...

notes

type : string
description : The notes of the object.

publishSchema / attenuation / ...

type

type : string
description : The type of the object. Refer to Wwise Objects Reference for more information on the types available.

publishSchema / attenuation / ...

path

type : string
description : The path of the object from the project root. Ex: '\\Actor-Mixer Hierarchy\\Default Work Unit\\Sound1'

publishSchema / attenuation / ...

parent

type : object

Name Type Description
id string The ID (GUID) of the object.
name string The name of the object.

description : The parent of the object in the hierarchy.

publishSchema / attenuation / ...

owner

type : object

Name Type Description
id string The ID (GUID) of the object.
name string The name of the object.

description : The owner of the object. This applies to objects being locally owned by other objects, such as custom effects, custom attenuations, etc.

publishSchema / attenuation / ...

isPlayable

type : boolean
description : True if the object can be played in Transport.

publishSchema / attenuation / ...

shortId

type : integer
description : The short ID of the object.

publishSchema / attenuation / ...

classId

description : The class ID of the object.
type : integer
minimum : 0
maximum : 4294967295

publishSchema / attenuation / ...

category

type : string
description : The category of the object. Ex: 'Actor-Mixer Hierarchy'

publishSchema / attenuation / ...

filePath

type : string
description : The path to the file containing the object. The path can be a work-unit file, or a project file.

publishSchema / attenuation / ...

workunit

type : object

Name Type Description
id string The ID (GUID) of the object.
name string The name of the object.

description : The parent workunit containing the object. The 'id' and the 'name' will be returned.

publishSchema / attenuation / ...

childrenCount

type : number
description : The number of children for the object.

publishSchema / attenuation / ...

music:transitionRoot

type : object

Name Type Description
id string The ID (GUID) of the object.

description : The music transition root containing all other music transitions recursively.

publishSchema / attenuation / ...

music:playlistRoot

type : object

Name Type Description
id string The ID (GUID) of the object.

description : The music playlist root containing all other music playlist items recursively. This applies to Music Playlist Containers only.

publishSchema / attenuation / ...

sound:originalWavFilePath

type : string
description : Absolute path to the original wav file. Only valid for Sound and Audio Source objects.

publishSchema / attenuation / ...

sound:convertedWemFilePath

type : string
description : Absolute path to the converted wem file. Specify the platform in the options. Only valid for Sound and Audio Source objects.

publishSchema / attenuation / ...

soundbank:bnkFilePath

type : string
description : Absolute path to the generated SoundBank file associated with the SoundBank object. Only valid for SoundBank objects.

publishSchema / attenuation / ...

audioSource:playbackDuration

type : object

Name Type Description
playbackDurationMin number The minimum possible time playback can take
playbackDurationMax number The maximum possible time playback can take
playbackDurationType string The type of duration.

description : The duration root that contains the min and max durations and duration type

publishSchema / attenuation / ...

audioSource:maxDurationSource

type : object

Name Type Description
id string The ID (GUID) of the audio source object with longest duration.
trimmedDuration number The duration in seconds of the longest trimmed source.


publishSchema / attenuation / ...

audioSource:trimValues

type : object

Name Type Description
trimBegin number The time value in seconds of the start trim
trimEnd number The time value in seconds of the end trim


publishSchema / attenuation / ...

audioSource:language

type : object
description : Language associated to the audio source. This only applies to Audio Source objects directly.

Name Type Description
id string The ID (GUID) of the Language object to which the Audio Source object is associated.
name string The name of the Language object to which the Audio Source object is associated.


publishSchema / attenuation / ...

workunit:isDefault

type : boolean
description : True if the work unit is the default.

publishSchema / attenuation / ...

workunit:type

type : string
description : The type of the Work Unit. Please note that, like Work Units, physical folders have the type "WorkUnit". Physical folders will have the workunit:type "folder".
Possible values : "folder", "rootFile", "nestedFile"

publishSchema / attenuation / ...

workunit:isDirty

type : boolean
description : True if a Work Unit or a Project (wproj file) is dirty, meaning it is modified but not saved.

publishSchema / attenuation / ...

switchContainerChild:context

type : object

Name Type Description
id string The ID (GUID) of the object.

description : The context object associated with the child of a Switch Container. This object holds the properties associated with the child that are context-dependent for the Switch Container (for example: property for the 1st only checkbox).


publishSchema / attenuation / ...

patternProperties


^@@?[_a-zA-Z0-9]+$

description : Specifies the property or reference value. A single @ specifies the value of the property for the associated object. A double @@ specifies the value of the property using the source of override. Refer to Wwise Objects Reference for more information on the properties and references for all types available.
Possibilities, one of the following :

1) type : string

2) type : number

3) type : boolean

4) type : object

Name Type Description
id string The ID (GUID) of the object.
name string The name of the object.


curveType

type : string
Possible values : "VolumeDryUsage", "VolumeWetGameUsage", "VolumeWetUserUsage", "LowPassFilterUsage", "HighPassFilterUsage", "SpreadUsage", "FocusUsage"
description : The curve type that changed.



Detailed JSON Schema


Options :

{
    "type": "object", 
    "required": [], 
    "properties": {
        "return": {
            "description": "Data to be returned for every attenuation curve change.", 
            "type": "array", 
            "items": {
                "anyOf": [
                    {
                        "type": "string", 
                        "description": "Specifies one or many of the built-in accessors for Wwise objects.", 
                        "enum": [
                            "id", 
                            "name", 
                            "notes", 
                            "type", 
                            "shortId", 
                            "classId", 
                            "category", 
                            "filePath", 
                            "workunit", 
                            "parent", 
                            "owner", 
                            "path", 
                            "isPlayable", 
                            "childrenCount", 
                            "sound:convertedWemFilePath", 
                            "sound:originalWavFilePath", 
                            "soundbank:bnkFilePath", 
                            "music:transitionRoot", 
                            "music:playlistRoot", 
                            "audioSource:playbackDuration", 
                            "audioSource:maxDurationSource", 
                            "audioSource:trimValues", 
                            "audioSource:language", 
                            "workunit:isDefault", 
                            "workunit:type", 
                            "workunit:isDirty", 
                            "switchContainerChild:context"
                        ]
                    }, 
                    {
                        "type": "string", 
                        "description": "Specifies one or many property names for Wwise objects. Specifying a single @ returns the value of the property for the associated object. Specifying a double @@ returns the value of the property for the source of override.", 
                        "pattern": "^@@?[_a-zA-Z0-9]+$"
                    }
                ]
            }
        }, 
        "platform": {
            "description": "The ID (GUID) of the platform.", 
            "type": "string", 
            "pattern": *Must be a valid GUID*
        }
    }, 
    "additionalProperties": false
}


Publication schema :

{
    "type": "object", 
    "properties": {
        "attenuation": {
            "description": "The attenuation object owning the curve.", 
            "type": "object", 
            "properties": {
                "id": {
                    "description": "The ID (GUID) of the object.", 
                    "type": "string", 
                    "pattern": *Must be a valid GUID*
                }, 
                "name": {
                    "type": "string", 
                    "description": "The name of the object."
                }, 
                "notes": {
                    "type": "string", 
                    "description": "The notes of the object."
                }, 
                "type": {
                    "type": "string", 
                    "description": "The type of the object."
                }, 
                "path": {
                    "type": "string", 
                    "description": "The path of the object from the project root. Ex: '\\Actor-Mixer Hierarchy\\Default Work Unit\\Sound1'"
                }, 
                "parent": {
                    "type": "object", 
                    "properties": {
                        "id": {
                            "description": "The ID (GUID) of the object.", 
                            "type": "string", 
                            "pattern": *Must be a valid GUID*
                        }, 
                        "name": {
                            "type": "string", 
                            "description": "The name of the object."
                        }
                    }, 
                    "description": "The parent of the object in the hierarchy."
                }, 
                "owner": {
                    "type": "object", 
                    "properties": {
                        "id": {
                            "description": "The ID (GUID) of the object.", 
                            "type": "string", 
                            "pattern": *Must be a valid GUID*
                        }, 
                        "name": {
                            "type": "string", 
                            "description": "The name of the object."
                        }
                    }, 
                    "description": "The owner of the object. This applies to objects being locally owned by other objects, such as custom effects, custom attenuations, etc."
                }, 
                "isPlayable": {
                    "type": "boolean", 
                    "description": "True if the object can be played in Transport."
                }, 
                "shortId": {
                    "type": "integer", 
                    "description": "The short ID of the object."
                }, 
                "classId": {
                    "description": "The class ID of the object.", 
                    "type": "integer", 
                    "minimum": 0, 
                    "maximum": 4294967295
                }, 
                "category": {
                    "type": "string", 
                    "description": "The category of the object. Ex: 'Actor-Mixer Hierarchy'"
                }, 
                "filePath": {
                    "type": "string", 
                    "description": "The path to the file containing the object. The path can be a work-unit file, or a project file."
                }, 
                "workunit": {
                    "type": "object", 
                    "properties": {
                        "id": {
                            "description": "The ID (GUID) of the object.", 
                            "type": "string", 
                            "pattern": *Must be a valid GUID*
                        }, 
                        "name": {
                            "type": "string", 
                            "description": "The name of the object."
                        }
                    }, 
                    "description": "The parent workunit containing the object. The 'id' and the 'name' will be returned."
                }, 
                "childrenCount": {
                    "type": "number", 
                    "description": "The number of children for the object."
                }, 
                "music:transitionRoot": {
                    "type": "object", 
                    "properties": {
                        "id": {
                            "description": "The ID (GUID) of the object.", 
                            "type": "string", 
                            "pattern": *Must be a valid GUID*
                        }
                    }, 
                    "description": "The music transition root containing all other music transitions recursively."
                }, 
                "music:playlistRoot": {
                    "type": "object", 
                    "properties": {
                        "id": {
                            "description": "The ID (GUID) of the object.", 
                            "type": "string", 
                            "pattern": *Must be a valid GUID*
                        }
                    }, 
                    "description": "The music playlist root containing all other music playlist items recursively. This applies to Music Playlist Containers only."
                }, 
                "sound:originalWavFilePath": {
                    "type": "string", 
                    "description": "Absolute path to the original wav file. Only valid for Sound and Audio Source objects."
                }, 
                "sound:convertedWemFilePath": {
                    "type": "string", 
                    "description": "Absolute path to the converted wem file. Specify the platform in the options. Only valid for Sound and Audio Source objects."
                }, 
                "soundbank:bnkFilePath": {
                    "type": "string", 
                    "description": "Absolute path to the generated SoundBank file associated with the SoundBank object. Only valid for SoundBank objects."
                }, 
                "audioSource:playbackDuration": {
                    "type": "object", 
                    "properties": {
                        "playbackDurationMin": {
                            "type": "number", 
                            "description": "The minimum possible time playback can take"
                        }, 
                        "playbackDurationMax": {
                            "type": "number", 
                            "description": "The maximum possible time playback can take"
                        }, 
                        "playbackDurationType": {
                            "type": "string", 
                            "description": "The type of duration."
                        }
                    }, 
                    "description": "The duration root that contains the min and max durations and duration type"
                }, 
                "audioSource:maxDurationSource": {
                    "type": "object", 
                    "properties": {
                        "id": {
                            "description": "The ID (GUID) of the audio source object with longest duration.", 
                            "type": "string", 
                            "pattern": *Must be a valid GUID*
                        }, 
                        "trimmedDuration": {
                            "type": "number", 
                            "description": "The duration in seconds of the longest trimmed source."
                        }
                    }
                }, 
                "audioSource:trimValues": {
                    "type": "object", 
                    "properties": {
                        "trimBegin": {
                            "type": "number", 
                            "description": "The time value in seconds of the start trim"
                        }, 
                        "trimEnd": {
                            "type": "number", 
                            "description": "The time value in seconds of the end trim"
                        }
                    }
                }, 
                "audioSource:language": {
                    "type": "object", 
                    "description": "Language associated to the audio source. This only applies to Audio Source objects directly.", 
                    "properties": {
                        "id": {
                            "description": "The ID (GUID) of the Language object to which the Audio Source object is associated.", 
                            "type": "string", 
                            "pattern": *Must be a valid GUID*
                        }, 
                        "name": {
                            "type": "string", 
                            "description": "The name of the Language object to which the Audio Source object is associated."
                        }
                    }
                }, 
                "workunit:isDefault": {
                    "type": "boolean", 
                    "description": "True if the work unit is the default."
                }, 
                "workunit:type": {
                    "type": "string", 
                    "description": "The type of the Work Unit. Please note that, like Work Units, physical folders have the type \"WorkUnit\". Physical folders will have the workunit:type \"folder\".", 
                    "enum": [
                        "folder", 
                        "rootFile", 
                        "nestedFile"
                    ]
                }, 
                "workunit:isDirty": {
                    "type": "boolean", 
                    "description": "True if a Work Unit or a Project (wproj file) is dirty, meaning it is modified but not saved."
                }, 
                "switchContainerChild:context": {
                    "type": "object", 
                    "properties": {
                        "id": {
                            "description": "The ID (GUID) of the object.", 
                            "type": "string", 
                            "pattern": *Must be a valid GUID*
                        }
                    }, 
                    "description": "The context object associated with the child of a Switch Container. This object holds the properties associated with the child that are context-dependent for the Switch Container (for example: property for the 1st only checkbox)."
                }
            }, 
            "patternProperties": {
                "^@@?[_a-zA-Z0-9]+$": {
                    "description": "Specifies the property or reference value. A single @ specifies the value of the property for the associated object. A double @@ specifies the value of the property using the source of override.", 
                    "anyOf": [
                        {
                            "type": "string"
                        }, 
                        {
                            "type": "number"
                        }, 
                        {
                            "type": "boolean"
                        }, 
                        {
                            "type": "object", 
                            "properties": {
                                "id": {
                                    "description": "The ID (GUID) of the object.", 
                                    "type": "string", 
                                    "pattern": *Must be a valid GUID*
                                }, 
                                "name": {
                                    "type": "string", 
                                    "description": "The name of the object."
                                }
                            }
                        }
                    ]
                }
            }, 
            "additionalProperties": false
        }, 
        "curveType": {
            "type": "string", 
            "enum": [
                "VolumeDryUsage", 
                "VolumeWetGameUsage", 
                "VolumeWetUserUsage", 
                "LowPassFilterUsage", 
                "HighPassFilterUsage", 
                "SpreadUsage", 
                "FocusUsage"
            ], 
            "description": "The curve type that changed."
        }
    }, 
    "required": [
        "attenuation", 
        "curveType"
    ], 
    "additionalProperties": false
}

Document version : 1


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요