cubase_audio_import
Import a local WAV, AIFF or FLAC file into a Cubase project without a chooser; it preserves the original and converts, rejects, or ignores sample rate mismatches.
Instructions
Import a local WAV, AIFF or FLAC file into the owned project through native pool/arranger operations, without opening a chooser or running a key command. The original file is preserved and a unique copy is placed in the project Audio folder. Cubase plays a file whose sample rate differs from the project rate without conversion (a 48 kHz file in a 44.1 kHz project runs 8.1 % slow and flat), so the project rate is read from the saved .cpr and compared first: sampleRateMismatch "convert" (default) writes a converted 32-bit float WAV copy and imports that (WAV sources only), "reject" refuses the import, "ignore" imports the file as it is. The result reports projectSampleRate and the conversion. position optionally sets the project cursor through the transport API; otherwise the current cursor is used. trackName optionally renames the single added audio channel. Returns source metadata, native receipt and actual added channels; no automatic replay.
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": {
"session": "<session>",
"audioPath": "<audioPath>",
"confirmImport": "<confirmImport>"
},
"name": "cubase_audio_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | ||
| position | No | ||
| audioPath | Yes | ||
| trackName | No | ||
| confirmImport | Yes | ||
| sampleRateMismatch | No | convert |