> For the complete documentation index, see [llms.txt](https://docs.vdo.ninja/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vdo.ninja/advanced-settings/api-and-midi-parameters/midiin.md).

# \&midiin

Allows for receiving of remote MIDI

General Option! ([`&push`](https://docs.vdo.ninja/advanced-settings/setup-parameters/push.md), [`&room`](https://docs.vdo.ninja/advanced-settings/setup-parameters/room.md), [`&view`](https://docs.vdo.ninja/advanced-settings/mixer-scene-parameters/view.md), [`&scene`](https://docs.vdo.ninja/advanced-settings/mixer-scene-parameters/scene.md))

## Aliases

* `&midipull`
* `&mi`

## Options

Examples: `&midiin=2` or `&midiin=IAC%20Driver%20Bus%201`

<table><thead><tr><th width="225">Value</th><th>Description</th></tr></thead><tbody><tr><td><code>0</code></td><td>all MIDI output devices</td></tr><tr><td>(integer value; for example, <code>1</code>)</td><td>MIDI output device index, starting at 1</td></tr><tr><td>(exact device name)</td><td>the MIDI output device with that name</td></tr></tbody></table>

## Details

Allows for receiving of remote MIDI. Device indices start at 1, while an index of 0 or no value means "all". Device names must match exactly and should be URL encoded. If no device matches the name, the name is ambiguous, or an index is out of range, no MIDI output is selected and a warning is written to the browser console.

{% hint style="danger" %}
If testing locally, beware of feedback loops, where the MIDI output is fed back into the MIDI input, causing high CPU usage and a lot of MIDI messages. If testing locally, use two MIDI devices and explicitly select the input and output MIDI devices to avoid these feedback loops.
{% endhint %}

## Related

{% content-ref url="/pages/-MZHbGHBodwMtcW0BQS0" %}
[\&midi](https://docs.vdo.ninja/advanced-settings/api-and-midi-parameters/midi.md)
{% endcontent-ref %}

{% content-ref url="/pages/-Mc\_UXdBJlUZNeFfvMCY" %}
[\&midiout](https://docs.vdo.ninja/advanced-settings/api-and-midi-parameters/midiout.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.vdo.ninja/advanced-settings/api-and-midi-parameters/midiin.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
