sc_record_stop
Stop audio recording in SuperCollider to finalize your sound capture session and save the recorded file.
Instructions
Stop recording audio
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:181-188 (registration)Registration of the 'sc_record_stop' tool in the tools array, including name, description, and empty input schema.{ name: 'sc_record_stop', description: 'Stop recording audio', inputSchema: { type: 'object', properties: {}, }, },
- src/index.ts:458-471 (handler)Handler implementation for 'sc_record_stop' that checks if the server is booted and executes the SuperCollider command to stop recording.case 'sc_record_stop': { if (!scServer.getBooted()) { return { content: [{ type: 'text', text: 'Error: SuperCollider server is not running.' }], isError: true, }; } await scServer.executeCode('Server.default.stopRecording;'); return { content: [{ type: 'text', text: 'Recording stopped' }], }; }