read_audio
Convert a Pyxel sound or music slot into a WAV file and extract measurable audio data for inspection.
Instructions
Render one Pyxel sound or music slot to WAV and return measurable audio data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| target | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| path | No | ||
| notes | No | ||
| errors | Yes | ||
| channels | No | ||
| warnings | No | ||
| sample_rate | No | ||
| peak_amplitude | No | ||
| duration_seconds | No |