Set Sound Wave Compression
Set a sound wave's compression quality and sound group. Compression quality is a PRIVATE property and is changed through reflection. Changing it forces the asset to be re-cooked, which is the cost nobody sees until a build takes an hour longer.
hf_set_sound_wave_compressionWriteArguments
| Name | Type | Description |
|---|---|---|
sound_wavereq | string | |
compression_quality | integer | 1 to 100. Higher is better quality and a bigger file. |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
sound_group | string | Sound group. The short form without the SOUNDGROUP_ prefix is accepted too. SOUNDGROUP_Default | SOUNDGROUP_Effects | SOUNDGROUP_UI | SOUNDGROUP_Music | SOUNDGROUP_Voice |
Related tools
Nearby in Audio:
- Describe Sound Mix
- Describe Submix
- Remove Sound Cue Node
- Set Attenuation
- Set Sound Class Parent
- Set Sound Mix Adjuster
- Set Sound Settings
- Set Submix Effect Chain
All 27 tools in Audio — 18 more not listed here.