menu
버전
2018.1.11.6987
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
Wwise SDK 2018.1.11
|
Get the min/max peak pairs, in a given region of an audio source, as a collection of binary strings (one per channel). The strings are base-64 encoded 16-bit signed int arrays, with min and max values being interleaved. If getCrossChannelPeaks is true, there will be only one binary string representing peaks across all channels globally.
Graphical User Interface, Command-Line Interface.
Name | Type | Description |
---|---|---|
object * | The ID (GUID), name, or path of the audio source object. | |
timeFrom * | number | The start time, in seconds, of the section of the audio source for which peaks are required. This number must be smaller than timeTo. |
timeTo * | number | The end time, in seconds, of the section of the audio source for which peaks are required. This number must be larger than timeFrom. |
numPeaks * | integer | The number of peaks that are required (minimum 1). |
getCrossChannelPeaks | boolean | When true, peaks will be calculated globally across channels, instead of per channel. |
(Required *)
description : The ID (GUID), name, or path of the audio source object.
Possibilities, one of the following :
1) type : string
pattern : ^(StateGroup|SwitchGroup|SoundBank|GameParameter|Event|Effect|AudioDevice|Trigger|Attenuation|DialogueEvent|Bus|AuxBus|Conversion|ModulatorLfo|ModulatorEnvelope|ModulatorTime|Platform|Language|AcousticTexture):[a-zA-Z_]+[a-zA-Z0-9_]*$
description : The name of the object qualified by its type in the form of type:name. Only object types that have globally-unique names are supported.
2) 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}\}$
3) type : string
pattern : ^\
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
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
type : integer
description : The number of peaks that are required (minimum 1).
minimum : 1
maximum : 4294967295
type : boolean
description : When true, peaks will be calculated globally across channels, instead of per channel.
Name | Type | Description |
---|---|---|
peaksBinaryStrings | array | An array of binary strings. Each binary string represents one channel of min max peaks data. When getCrossChannelPeaks is true there will only be one binary string in this array, representing the min max peaks across all channels. |
numChannels | number | The number of channels of peak data (i.e. the number of strings in peaksBinaryStrings). This will be 1 if getCrossChannelPeaks is true. |
maxAbsValue | number | The maximum value that a peak can take. This can be used to normalize the peaks in the array (between -1, 1), by dividing each by this number. |
peaksArrayLength | number | The number of peaks in the returned min max channel arrays. If peaksArrayLength is less than the numPeaks input argument, this indicates fewer samples were available than numPeaks requested. In this case, the arrays contain all of the sample values within the requested time window. |
peaksDataSize | number | The size of the data in the peaks min max arrays. This can be used (in conjunction with peaksArrayLength) to decode the peaksBinaryStrings to 16 bit integer arrays |
type : array
resultSchema / peaksBinaryStrings / ...
type : string
description : An array of binary strings. Each binary string represents one channel of min max peaks data. When getCrossChannelPeaks is true there will only be one binary string in this array, representing the min max peaks across all channels.
type : number
description : The number of channels of peak data (i.e. the number of strings in peaksBinaryStrings). This will be 1 if getCrossChannelPeaks is true.
type : number
description : The maximum value that a peak can take. This can be used to normalize the peaks in the array (between -1, 1), by dividing each by this number.
type : number
description : The number of peaks in the returned min max channel arrays. If peaksArrayLength is less than the numPeaks input argument, this indicates fewer samples were available than numPeaks requested. In this case, the arrays contain all of the sample values within the requested time window.
type : number
description : The size of the data in the peaks min max arrays. This can be used (in conjunction with peaksArrayLength) to decode the peaksBinaryStrings to 16 bit integer arrays
Get peaks for an audio source object.
Get peaks for an audio source object.
Document version : 1
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요