editor.sound.getInfo
Returns detailed information about a sound asset (type-specific fields vary).
| Name | Type | Required | Description |
asset_path | string | Yes | Sound asset path |
Returns (common)
| Field | Type | Description |
asset_name | string | Asset name |
asset_path | string | Asset path |
asset_type | string | Asset type (SoundCue, SoundWave, SoundClass, SoundSubmix) |
Additional fields for SoundCue
| Field | Type | Description |
duration | number | Duration in seconds |
volume_multiplier | number | Volume multiplier |
pitch_multiplier | number | Pitch multiplier |
max_distance | number | Max audible distance |
num_nodes | number | Number of cue graph nodes |
Additional fields for SoundWave
| Field | Type | Description |
duration | number | Duration in seconds |
num_channels | number | Number of audio channels |
sample_rate | number | Sample rate in Hz |
is_looping | bool | Whether sound loops |
is_streaming | bool | Whether sound streams |
compression_type | string | Compression type |
Additional fields for SoundClass
| Field | Type | Description |
volume | number | Volume |
pitch | number | Pitch |
is_ui_sound | bool | Whether it's a UI sound |
always_play | bool | Whether it always plays |
parent_class | string | Parent class name (if any) |
num_children | number | Number of child classes |
Example Request
{ "jsonrpc": "2.0", "id": 1, "method": "editor.sound.getInfo", "params": { "asset_path": "/Game/Sounds/SC_Explosion" } }
editor.sound.getSoundClasses
Returns all available sound classes.
No parameters.
Returns
| Field | Type | Description |
sound_classes | array | Each: {class_name, asset_path, parent_class} |
count | number | Number of sound classes |
Example Request
{ "jsonrpc": "2.0", "id": 1, "method": "editor.sound.getSoundClasses" }
editor.sound.getSubmixes
Returns all available sound submixes.
No parameters.
Returns
| Field | Type | Description |
submixes | array | Each: {submix_name, asset_path, parent_submix} |
count | number | Number of submixes |
Example Request
{ "jsonrpc": "2.0", "id": 1, "method": "editor.sound.getSubmixes" }
editor.sound.getCueNodes
Returns all nodes in a sound cue graph.
| Name | Type | Required | Description |
asset_path | string | Yes | SoundCue asset path |
Returns
| Field | Type | Description |
nodes | array | Each: {node_name, node_class, max_child_nodes, num_children, connections} |
count | number | Number of nodes |
Example Request
{ "jsonrpc": "2.0", "id": 1, "method": "editor.sound.getCueNodes", "params": { "asset_path": "/Game/Sounds/SC_Explosion" } }
editor.sound.getWaveInfo
Returns detailed information about a SoundWave asset.
| Name | Type | Required | Description |
asset_path | string | Yes | SoundWave asset path |
Returns
| Field | Type | Description |
asset_name | string | Asset name |
asset_path | string | Asset path |
sample_rate | number | Sample rate in Hz |
num_channels | number | Number of channels |
duration | number | Duration in seconds |
compression_type | string | Compression type |
is_looping | bool | Whether sound loops |
is_streaming | bool | Whether sound streams |
volume | number | Volume |
pitch | number | Pitch |
subtitle_text | string | Subtitle text |
sound_class | string | Assigned sound class (if any) |
Example Request
{ "jsonrpc": "2.0", "id": 1, "method": "editor.sound.getWaveInfo", "params": { "asset_path": "/Game/Sounds/SW_Gunshot" } }
editor.sound.setSoundClass
Assigns a sound class to a sound asset.
| Name | Type | Required | Description |
asset_path | string | Yes | Sound asset path |
sound_class_path | string | Yes | SoundClass asset path to assign |
Returns
| Field | Type | Description |
success | bool | Whether sound class was assigned |
Example Request
{
"jsonrpc": "2.0", "id": 1, "method": "editor.sound.setSoundClass",
"params": { "asset_path": "/Game/Sounds/SW_Gunshot", "sound_class_path": "/Game/Audio/SC_SFX" }
}