sonic_record_file
Record a Sonic Pi .rb file to WAV by starting Sonic Pi, running the file for a fixed duration, and saving the audio output.
Instructions
Start Sonic Pi if needed, record a .rb file for a fixed duration, and save WAV output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| bit_depth | No | ||
| no_inputs | No | ||
| overwrite | No | ||
| root_path | No | ||
| buffer_name | No | ||
| output_path | Yes | ||
| save_timeout | No | ||
| shutdown_after | No | ||
| duration_seconds | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||