create_modulation_generator_lfo
Creates or updates a USoundModulationGeneratorLFO asset, setting waveform, frequency, amplitude, offset and looping, then saves it. Use it to generate LFO modulation sources for audio in Unreal Engine.
Instructions
Creates a USoundModulationGeneratorLFO asset at package_path/generator_name (or loads the one there), writes waveform, frequency, amplitude and offset, enables looping and saves it, overwriting an existing LFO. An unknown waveform silently becomes Sine but is echoed as sent. Returns generator_path, the written values, created, saved.
Returns: { generator_path, generator_name, waveform, frequency, amplitude, offset, created, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | LFO output offset (default 0.0) | |
| waveform | No | LFO shape, case-insensitive: Sine, UpSaw, DownSaw, Square, Triangle, Exponential, Random (default Sine; any other value also gives Sine) | |
| amplitude | No | LFO amplitude (default 1.0) | |
| frequency | No | LFO frequency in Hz (default 1.0) | |
| package_path | No | Target content package path where the asset is created (default /Game/MCP) | |
| generator_name | Yes | Name of the modulation generator asset |