The "vngen_audio_modify" Function
#
SyntaxArgument | Type | Description |
---|---|---|
id | real/string | The ID of the sound to modify (or keyword all for all sounds) |
pitch | real | The pitch multiplier, where 1 is default |
volume | real (0-1) | The sound volume, where 1 is default and 0 is silent |
duration | real | Sets the length of the modification transition, in seconds |
[ease] | integer/macro | Optional: Sets the ease mode for the modification transition |
[start] | real | Optional: Sets the starting point to clip the sound, in seconds |
[end] | real | Optional: Sets the ending point to clip the sound, in seconds |
[full] | boolean | Optional: Enables or disables playing from the current position before clipping |
note
Clip arguments are a group. All three must be input together, or not at all.
#
DescriptionModifies a sound previously played with VNgen audio actions (except vox audio, which uses a separate function for modifications) with pitch, volume, and optional real-time clipping adjustments. As this script is itself an action, generally it is only practical to modify looped sound effects and music.
See Macros & Keywords for a list of available ease modes.