Scaffold OBS audio stem source
This commit is contained in:
parent
0c39921f96
commit
71234f04ce
12 changed files with 522 additions and 9 deletions
|
|
@ -157,9 +157,11 @@ a named invariant that the native runtime cannot protect yet.
|
|||
aligned-source stem names with the actuator program.
|
||||
`MimirObsStemPublicationState` consumes the Fensalir stem bus without copying
|
||||
audio and validates ready/missing/unconfigured lanes against the
|
||||
alignment-actuator OBS stem profile. Actual OBS device/plugin routing remains
|
||||
the next output cut before those stems become separately mixable program
|
||||
outputs.
|
||||
alignment-actuator OBS stem profile. `MimirObsStemSharedMemoryPublisher` now
|
||||
publishes those validated stems into a fixed Windows shared-memory ABI, and
|
||||
`native/obs_stem_source` is the first OBS source plugin that reads one named
|
||||
stem and submits it to OBS as an audio source. Local plugin compilation still
|
||||
needs an OBS/libobs SDK installation.
|
||||
- `MimirRuntime` no longer submits the legacy direct `AquariumSplineFrame`
|
||||
spectrum dashboard. Live spectrum visualization authority is the
|
||||
`AquariumFieldEvidenceFrame`: Mimir declares the rolling resource, emits a
|
||||
|
|
|
|||
45
docs/obs-stem-plugin.md
Normal file
45
docs/obs-stem-plugin.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# OBS Stem Plugin
|
||||
|
||||
The production audio path is a Mimir/Fensalir-owned stem bus plus a narrow OBS
|
||||
source plugin.
|
||||
|
||||
## Authority
|
||||
|
||||
- Mimir/Fensalir own timing, alignment, DSP, and stem identity.
|
||||
- OBS owns broadcast mixing and scene composition.
|
||||
- The plugin reads already-processed stem samples. It does not synchronize raw
|
||||
sources, estimate clocks, or decide which stem is true.
|
||||
|
||||
## Current Contract
|
||||
|
||||
`MimirObsStemSharedMemoryPublisher` writes the latest validated
|
||||
`MimirObsStemPublicationSnapshot` into a Windows shared-memory map named
|
||||
`Local\MimirObsStemBus` by default. The native OBS plugin in
|
||||
`native/obs_stem_source` exposes one audio input source. Add one source per stem
|
||||
and set:
|
||||
|
||||
```text
|
||||
Shared memory map: Local\MimirObsStemBus
|
||||
Stem id: aligned_source_0
|
||||
```
|
||||
|
||||
Use `aligned_source_0` through `aligned_source_5` for the first actuator-stage
|
||||
source lanes.
|
||||
|
||||
## Build
|
||||
|
||||
The plugin requires an OBS/libobs development package that provides
|
||||
`libobsConfig.cmake`.
|
||||
|
||||
```powershell
|
||||
cmake -S .\native\obs_stem_source -B .\native\obs_stem_source\build -Dlibobs_DIR=<path-to-libobs-cmake>
|
||||
cmake --build .\native\obs_stem_source\build --config Release
|
||||
```
|
||||
|
||||
This workstation currently does not have the libobs SDK installed, so CMake
|
||||
configuration stops at `find_package(libobs)`. The managed shared-memory
|
||||
publisher is still verified by:
|
||||
|
||||
```powershell
|
||||
dotnet run --no-build --project .\src\Mimir.BufferSmoke\Mimir.BufferSmoke.csproj -- --obs-stem-shared-memory-smoke
|
||||
```
|
||||
Loading…
Reference in a new issue