버전

menu_open
Wwise SDK 2024.1.0
ak.wwise.debug.generateToneWAV 인자 스키마

스키마

{
"type": "object",
"properties": {
"path": {
"description": "File path to write the generated WAV file. This path normally uses the file extension WAV.",
"type": "string"
},
"bitDepth": {
"description": "Bit depth of the audio file. Default is int16.",
"type": "string",
"enum": [
"int16",
"float32"
]
},
"sampleRate": {
"description": "Sample rate of the audio file. Default is 48000",
"type": "number",
"minimum": 300,
"maximum": 192000
},
"channelConfig": {
"description": "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.",
"type": "string",
"enum": [
"0.1",
"1.0",
"2.0",
"2.1",
"3.0",
"4.0",
"5.1",
"7.1",
"5.1.2",
"7.1.2",
"7.1.4",
"Ambisonics 1st order",
"Ambisonics 2nd order",
"Ambisonics 3rd order",
"Ambisonics 4th order",
"Ambisonics 5th order"
]
},
"setAnonymous": {
"description": "Sets the channel configuration type to anonymous, this overrides the channel config but keeps the number of channels specified.",
"type": "boolean"
},
"sustainTime": {
"description": "Number of seconds of the signal holds at the specified level. Default is 1 second.",
"type": "number",
"minimum": 0
},
"sustainLevel": {
"description": "Decibel attenuation for the sustained signal. Default is 0 dB.",
"type": "number",
"minimum": -100,
"maximum": 0
},
"attackTime": {
"description": "Number of seconds for the signal to reach sustain level. Default is 0 second.",
"type": "number",
"minimum": 0
},
"releaseTime": {
"description": "Number of seconds for the signal to release from sustain level. Default is 0 second.",
"type": "number",
"minimum": 0
},
"waveform": {
"description": "Waveform type. Default is silence.",
"type": "string",
"enum": [
"silence",
"sine",
"triangle",
"square",
"whiteNoise"
]
},
"waveformChannelMask": {
"type": "integer",
"description": "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": {
"description": "Waveform frequency. Default is 440.",
"type": "number",
"minimum": 1,
"maximum": 22000
}
},
"required": [
"path"
],
"additionalProperties": false
}

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

지원이 필요하신가요?

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

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

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

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

Wwise를 시작해 보세요