# editor.sound.effect.remove

Source: https://docs.lightair.app/developers/remote-api/editor.sound.effect.remove

> Removes a sound effect from a clip.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Editor. Script plugins need the `project.write` permission.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `clip` | `string` | yes | The clip's id, from editor.timeline.get. |
| `effect` | `string` | yes | The effect's id or kind. |
| `canvas` | `string` | no | A canvas's id or name, shown first. Default: the canvas shown. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `effects` | `{ id: string, kind: string, name: string, on: boolean, settings: object }[]` | no | The clip's sound effects left. |

## Errors

Not found (-32004) when the clip has no such effect. A state error (-32005) when no Editor project is open, or the open one is read-only because a newer Lightair made it. Invalid params (-32602) for a clip id that can't be read; not found (-32004) for a clip that isn't on the canvas.

## Events

- `editor.changed`

## From an AI agent

The MCP server's `editor_sound (action: effect_remove)` reaches this method.

## Related

- [editor.sound.effect.add](https://docs.lightair.app/developers/remote-api/editor.sound.effect.add.md)
