# Virtual Addressing

Vitrual Addressing allows Mimic to automatically assign new output addresses based on what's actually available so you don't have to think about it. \
\
The one area where this features are not automated, is understanding the full range of device-programmed addresses, at least not implicitily.\
\
However the sheer volume of addresses available (16\*128\*2) per-device means all you need to know is which channels your device is using. Let's say it's all of Channel 1 and a bit of Channel 2.

Just toggle off Channel 1 and Channel 2 to be safe and still have 14 channels of CC and Note addresses free for Mimic to use.\
\
Mimic will loop back from Channel 16/127 to Channel 1/0 and give you a prompt to let you know this is happening, useful if you've not toggled off those device-used Channels yet.\
\
Mimic will skip ahead in auto-addressing any outputs that have been Macro'd, or added via Custom MIDI, or used already by VCC/VNote, OR skipped by the channel toggles in Device settings.\
\
TLDR: Toggle off the channels your device already uses, and crack on.

#### **How it works:**

* Set a Global Start Address for CC and Note which all Devices use unless manually configured:

<div align="left"><figure><img src="/files/F15wYYq8Ka41ydEpdvAr" alt="" width="224"><figcaption></figcaption></figure></div>

* Alternatively, right-click your Device and choose Set AutoMapping:

<div align="left"><figure><img src="/files/RQAg2o1mlGbtQpU0AGqX" alt="" width="398"><figcaption></figcaption></figure></div>

* In the Popup, choose specific start place and ideally, toggle-off channels the device already uses:

<div align="left"><figure><img src="/files/Hcp3XnptjTX1MLVjjSZo" alt="" width="357"><figcaption></figcaption></figure></div>

{% hint style="success" %}
Note that in this example the Note Channel 2 is toggled off, but the start Channel is 2, all that will happen here is the actual first available address is now Channel 3 C-2 for Notes.
{% endhint %}

#### Result

Each time you select +Next Virtual CC or +Next Virtual Note on an Action, the registry assigns the next unused address above your start point.

* Virtual Addressing skips used addresses and continues from the next available. Custom MIDI addressing warns you if you choose an already used address, but you can still use it. **So use Custom MIDI if you intentionally want to map 2 haptics to the same address.**
* Addresses are assigned sequentially and persist with your session file

**In Macro Groups:** when a group uses Next VCC output, each member gets the next sequential address automatically. For example, an 8-fader group starting at CH14 CC0 would assign CH14 CC0 through CH14 CC7.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://midi-mimic.gitbook.io/midi-mimic/virtual-addressing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
