Skip to content
Jigwright
HullForge docs

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_compressionWrite

Arguments

NameTypeDescription
sound_wavereqstring
compression_qualityinteger1 to 100. Higher is better quality and a bigger file.
forceboolean
= 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_groupstringSound group. The short form without the SOUNDGROUP_ prefix is accepted too.
SOUNDGROUP_Default | SOUNDGROUP_Effects | SOUNDGROUP_UI | SOUNDGROUP_Music | SOUNDGROUP_Voice

Nearby in Audio:

All 27 tools in Audio — 18 more not listed here.