make_sfx
Render a sound effect to a precise moment in an edit: set exact length, land a whoosh's loudest point on a cut, tune pitch, or generate several varied takes as WAV files with onset and peak reported.
Instructions
Make a sound effect for an edit in code, in about a second: one bank sound (sfx_sounds) rendered to the moment, as generated/-vN.wav. dur sets its exact length, apex puts a whoosh's loudest point at that second (land it on a cut), pitch tunes a tonal one (E5, 440). takes gives several renders that differ a little (a key per keystroke). Each file says its onset, peak and the audit (clicks, clipping, cut tails). Use it in render_edit sfx.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session": "<session>",
"sound": "<sound>"
},
"name": "make_sfx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dur | No | Length in seconds. Default the sound's own. | |
| apex | No | Seconds from the file's start to its loudest point (whooshes, risers). | |
| name | No | File name. Default the id. | |
| seed | No | Render seed, to make the same take again. | |
| pitch | No | A note (E5) or Hz, for tonal sounds. | |
| sound | Yes | Id from sfx_sounds, e.g. whoosh_fast/crisp or rec/click/mouse (a real recording: dur cuts it, one take). | |
| takes | No | Renders, 1 to 12. Default 1. | |
| session | Yes | Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work. |