Wwise SDK 2024.1.1
|
Generate a WAV file playing a tone with a simple envelope and save it to the specified location. This is provided as a utility to generate test WAV files.
Name | タイプ | 概要 |
---|---|---|
path * | string | File path to write the generated WAV file. This path normally uses the file extension WAV. |
bitDepth | string | Bit depth of the audio file. Default is int16. 可能な値:
|
sampleRate | number | Sample rate of the audio file. Default is 48000 Range: [300,192000] |
channelConfig | string | Channel configuration of the audio file. Default is 1.0. Please use the silence waveform for the ambisonics configurations, as the other tone signals will be incompatible with the format. 可能な値:
|
setAnonymous | boolean | Sets the channel configuration type to anonymous, this overrides the channel config but keeps the number of channels specified. |
sustainTime | number | Number of seconds of the signal holds at the specified level. Default is 1 second. 範囲: [0,*] |
sustainLevel | number | Decibel attenuation for the sustained signal. Default is 0 dB. 範囲: [-100,0] |
attackTime | number | Number of seconds for the signal to reach sustain level. Default is 0 second. 範囲: [0,*] |
releaseTime | number | Number of seconds for the signal to release from sustain level. Default is 0 second. 範囲: [0,*] |
waveform | string | Waveform type. Default is silence. 可能な値:
|
waveformChannelMask | integer | Specifies which channels receive waveform data. The channel mask is a bit field where each bit represents a channel. The least significant bit represents the channel at index zero. The bits with 0 are silent. When not specified, the default outputs waveform data on all channels. |
frequency | number | Waveform frequency. Default is 440. 範囲: [1,22000] |
(必須*)
Wwise Authoring APIの詳細は、 Wwise Authoring API (WAAPI)を使用する を参照してください。