audio_synthesize
Generate WAV audio files from scratch using mathematical waveforms. Supports sine, square, sawtooth, triangle, noise with adjustable frequency, duration, volume, and effects like envelopes, reverb, and filters.
Instructions
Generate audio procedurally using synthesis.
Creates WAV files from scratch using mathematical waveforms. No external audio files needed. Supports envelopes, reverb, filtering, and fade effects.
Args: output_path: Absolute path for the output WAV file. waveform: Waveform type (sine, square, sawtooth, triangle, noise). Default sine. frequency: Base frequency in Hz. Default 440 (A4 note). duration: Duration in seconds. Default 1.0. volume: Amplitude 0-1. Default 0.5. effects: Optional effects dict with keys: - envelope: {"attack", "decay", "sustain", "release"} in seconds - fade_in: Fade in duration in seconds - fade_out: Fade out duration in seconds - reverb: {"room_size", "damping", "wet_level"} - lowpass: Cutoff frequency in Hz
Returns: Dict with success status and output_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | ||
| waveform | No | sine | |
| frequency | No | ||
| duration | No | ||
| volume | No | ||
| effects | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||