take_sound
Take the sound the user's synth is playing — or one of its stored programs — straight from the synth through a relay, with its name. The synth is found among those SynthHub's librarian can talk to (the KnobKraft Orm adaptations, about 90 synths) by the identity and detect messages, then asked for its sound. The person accepts each step at the relay (finding the synth, asking it): tell them first. To share it: ask the user whether they made this sound themselves (never a factory preset, nor one bought or downloaded), then call share_preset with the device, name, hex, librarian and firmware returned here, and own_sound: true. When several synths answer, or none did, call again with port.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "take_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The pairing code the relay page or program shows. | |
| port | No | Output port name (or part of it): look on that port only, for every synth the librarian knows. | |
| program | No | A stored program (from 1) instead of the sound being played. | |
| user_id | No | Your anonymous SynthHub id, if you kept it from an earlier session (see the server instructions). Optional. |