The "vngen_vox_modify" Function


vngen_vox_modify(name, pitch_min, pitch_max, volume, duration, [ease]);
namestringThe ID of the vox sound to modify (or keyword all for all vox)
pitch_minreal (0-255)The minimum pitch multiplier, where 1 is default
pitch_maxreal (0-255)The maximum pitch multiplier, where 1 is default
volumereal (0-1)The sound volume, where 1 is default and 0 is silent
durationrealSets the length of the modification transition, in seconds
[ease]integer/macroOptional: Sets the ease mode for the modification transition


Modifies a vox sound previously played with vngen_vox_play with pitch and volume adjustments. As vox is only played during text actions, it is possible modifications will not be audible during transition, however a transition will still be applied.

See Macros & Keywords for a list of available ease modes.


vngen_event() {
vngen_vox_modify("John Doe", 1, 0.75, 1, ease_sin_in_out);