Skip to main content
Glama

render_audio

Convert Pyxel sound or music to WAV format and analyze audio waveforms to extract note sequences with timing, frequency, and volume data for game development verification.

Instructions

Render a Pyxel sound or music to WAV and return waveform analysis.

Runs the script to set up sounds (without starting the game loop), then renders the specified sound or music to WAV and analyzes the audio. Returns note sequence with timing, frequency, and volume data.

Args: script_path: Absolute path to the .py script to run. sound_index: Sound slot to render, 0-63 (default: 0). Ignored when music_index is set. duration_sec: Duration in seconds. 0 = auto-detect from sound length (10s for music). timeout: Maximum seconds to wait for the script (default: 10). music_index: Music slot to render, 0-7. When set (>=0), renders the full multi-channel music mix instead of a single sound.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
script_pathYes
sound_indexNo
duration_secNo
timeoutNo
music_indexNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kitao/pyxel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server