audio_synthesize
Generate audio files procedurally using mathematical waveforms, with support for envelopes, reverb, filtering, and fade effects. Creates WAV files without external audio files.
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 |
|---|---|---|---|
| volume | No | ||
| effects | No | ||
| duration | No | ||
| waveform | No | sine | |
| frequency | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||