synth-execute
Generate and execute SynthDef code to produce sound. Input SynthDef details and duration for playback, ideal for real-time audio synthesis and testing.
Instructions
SynthDefのコードを生成し、そのコードを実行して音を出します。 コードは{}でくくるようにしてください。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
duration | No | 再生時間(ミリ秒)。デフォルトは5000(5秒) | |
synth | Yes | 再生するシンセの情報 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"duration": {
"description": "再生時間(ミリ秒)。デフォルトは5000(5秒)",
"type": "number"
},
"synth": {
"additionalProperties": false,
"description": "再生するシンセの情報",
"properties": {
"code": {
"description": "シンセのコード",
"type": "string"
},
"name": {
"description": "シンセの名前",
"type": "string"
}
},
"required": [
"name",
"code"
],
"type": "object"
}
},
"required": [
"synth"
],
"type": "object"
}