MemoryMap
Creates a non-persistent, memory-mapped file (only in RAM, not on disk), then writes the LED count and data into the file at every frame.
On this page
Input Modes: Discrete 1D
Source Code
This output is useful if you want unrelated processes to be able to read the data. Acts as a Windows equivalent to the SHM output of cnlohr’s ColorChord.
The name of the memory-mapped file will be “ColorChord.NET-[Name]”, and the created mutex will be named “ColorChord.NET-Mutex-[Name]”, where [Name] is the instance name from the configuration.
Notes:
- Number of reading processes is not limited
- Timing/frame rate synchronization is not provided
- Reading processes should also lock the provided Mutex during data reads
Data format is:
[uint32 LEDCount] {[uint8 R] [uint8 G] [uint8 B]} x LEDCount
Configuration
Option Name | Type | Default | Range | Controllable | Description |
---|---|---|---|---|---|
Type | string | “MemoryMap” | ❌ | Required: Specifies this output type. | |
Name | string | Any unique name | ❌ | Required: A unique identifier used to attach controllers. | |
VisualizerName | string | Valid visualizer instance name | ❌ | Required: The Name property of the visualizer instance to attach to. | |
Enable | bool | true | ✅ | Whether to output new data into the mapped file. |