版本

menu_open
Wwise SDK 2023.1.3
ak.wwise.core.audioSourcePeaks.getMinMaxPeaksInRegion 参数架构

架构

{
"type": "object",
"properties": {
"object": {
"anyOf": [
{
"type": "string",
"pattern": "^(StateGroup|SwitchGroup|SoundBank|GameParameter|Event|Effect|AudioDevice|Trigger|Attenuation|DialogueEvent|Bus|AuxBus|Conversion|ModulatorLfo|ModulatorEnvelope|ModulatorTime|Platform|Language|AcousticTexture|Global):[a-zA-Z0-9_]+$",
"description": "The name of the object qualified by its type or Short ID in the form of type:name or Global:shortId. Only object types that have globally-unique names or Short Ids are supported. Ex: Event:Play_Sound_01, Global:245489792"
},
{
"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}\\}$",
"description": "An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}."
},
{
"type": "string",
"pattern": "^\\\\",
"description": "A project path to a Wwise object, including the category and the work-unit. For example: \\\\Actor-Mixer Hierarchy\\\\Default Work Unit\\\\New Sound SFX."
}
],
"description": "The ID (GUID), name, or path of the audio source object."
},
"timeFrom": {
"type": "number",
"description": "The start time, in seconds, of the section of the audio source for which peaks are required. This number must be smaller than timeTo.",
"minimum": 0
},
"timeTo": {
"type": "number",
"description": "The end time, in seconds, of the section of the audio source for which peaks are required. This number must be larger than timeFrom.",
"minimum": 0
},
"numPeaks": {
"type": "integer",
"description": "The number of peaks that are required (minimum 1).",
"minimum": 1,
"maximum": 4294967295
},
"getCrossChannelPeaks": {
"type": "boolean",
"description": "When true, peaks are calculated globally across channels, instead of per channel."
}
},
"additionalProperties": false,
"required": [
"object",
"timeFrom",
"timeTo",
"numPeaks"
]
}

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅