Repository navigation
feat(dmx-studio): add standalone MaestroDMX integration - #357
Draft
syntrociety wants to merge 32 commits into
Draft
syntrociety wants to merge 32 commits into
syntrociety wants to merge 32 commits into
Conversation
…point The helper now polls MaestroDMX's MCP endpoint (read-only, port 8888 by default, 0 turns it off) for the show list and the playback state. OSC stays the only path that changes anything on Maestro. The panel uses it to confirm a requested show, show the current cue, mark shows that run on their own, need manual cues or use a laser zone, pick shows from Maestro's list in Tags & shows, and flag routes that point at a show Maestro no longer has. Tests: a fake MCP server covers JSON and SSE replies, caching and the disabled-laser case; the panel check runs against a fake Maestro. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Send the show ahead of the phrase boundary by a configurable lead (Voorloop, default 300 ms, 0-1000) so Maestro has started it on the beat. - Pin the paused start: after a restart nothing is sent until OSC is switched on again, even with a saved address; the panel says so. - Rate each cue 0-100 from Maestro's own cue settings (brightness, intensity, motion, motion speed over lit zones) and show a show's energy range and the playing cue's energy. Blacked-out zones no longer count as lit, also for the laser mark. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Dark theme for every stock control through the Controls palette, accent buttons for the main actions, own tab buttons and header status pills (Maestro, OSC, lead). - Showregie: a show strip with one bar per cue by energy (playing cue white) and a phrase countdown with beat cells per bar. - Energy badges coloured from calm blue via amber to red; Deckmix cards show BPM, a fader bar and mark the deck that sets the tags. - Fix the "Fixtures _output" tab label (escape the mnemonic &). - The panel check also renders the settings screen. - CI builds get a numeric version 1.3.0.<run> so the deck upgrades the mod in place and keeps its settings. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… digits Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A new Helderheid screen lowers a fixture group live, for when the floor says the lights are too bright. Maestro drives a fixture's colour channels and its master dimmer is a static channel, so the helper scales that value (or, without a master dimmer, the colour channels' output range) against a baseline it keeps; 100 % restores the Stage. It applies in every show and cue and stays on Maestro. It is the helper's only MCP write, touches nothing else and saves the active Stage first. Alles sends /global/brightness over OSC for every light, a laser too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Maestro build shared the id dmx-studio with the official DMX Studio, so
an upload of a newer official version would replace it in place, and both
showed up as "DMX Studio". It now ships as maestro-dmx-studio ("Maestro DMX
Studio") with its own folder and panel port (17841), built by
tools/mods/build_maestro_mod.py.
- Helper: the new id runs DMX Studio under its own state directory and, on
its first start, copies the settings saved under dmx-studio (Maestro,
DMX, brightness, Stage backups). It never overwrites settings it has.
- Gateway and UI pack accept both ids: the deck clock and the MaestroDMX
Control Center tab follow whichever is enabled, preferring the new one,
and the tab reloads the panel from that Mod's folder when the id changes.
- CI builds and checks the maestro-dmx-studio package; the panel check
asserts its id, folder and port.
- A non-Linux stub for the ALSA MIDI clock lets the package test on a
development machine.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… parts The MaestroDMX tab used generic Qt controls with its own colours, and its drop-down lists did not open inside the Control Center. It is now built like Engine's Settings tab: the sub-tab bar (PreferencesTabView), a scrolling list per sub-tab (FlickableTabContent) and Engine's own rows (Section, PrefsValueEntry, SwitchEntry, ListEntry, PrefsSliderEntry, PrefsButtonEntry, EmbeddedTextInput with Engine's keyboard), loaded from Engine's qrc at run time. Colours and fonts come from Engine's Style, so day and night mode match, and the page has no background of its own. - Sub-tabs: Show, Decks, Tags, Brightness, Settings and DMX Tools; the connection and OSC state sit above them on every sub-tab. - Long lists (shows, MIDI inputs, fixture profiles) are rows to tap; settings apply at once, and are locked with a note while OSC runs. - Panel.qml talks to the helper and loads MaestroNative.qml; without Engine's parts it loads the earlier panel (LegacyPanel.qml). Its id is `panel`, so Engine's rows reach root.scT() on the main screen. - build_maestro_mod.py --shared-id builds the same under the id dmx-studio, for decks whose UI pack opens the tab only for that id. - The panel check keeps exercising the earlier panel and now also drives the native page against stand-ins for Engine's parts, served at Engine's qrc paths (tools/mods/qrc_pack.py); none of Engine's QML is in the repository. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Qt 5 refuses font and font.capitalization on the same item. Co-Authored-By: Claude Opus 5.5 <[email protected]>
PyQt5's invokeMethod does not emit QML signals that take arguments. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nges The panel check also finds Repeater rows, which have no QObject parent. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…h the tabs Engine's Section places its heading at the top of a fixed 40 px strip, so on the MaestroDMX tab each heading sat against the row above it. NativeSection keeps Engine's font and a quieter colour, puts room above the heading and lines it up with the row text; the first group sits closer to the tab bar, and a group without heading keeps its distance. - Each sub-tab ends with room below its last row. - Show drops its Connection row: the band above the sub-tabs says it. - The deck that follows tags is named in its heading only. - build_maestro_mod.py stops when a QML file of the mod is not packaged: the deck would fall back to the earlier panel. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why / 改了什么、为什么
Refs #340
This adds an optional standalone MaestroDMX integration to DMX Studio. One SC6000 sends lighting commands over Ethernet using deck timing and light tags from both players. The optional Xone:96 MIDI input helps select the playing deck to follow across all four paired deck layers. MaestroDMX still receives the programme audio directly from the mixer.
/show/nameor/showwith a string and/show/playwith no arguments. Prepared track plans use/show/cuewith an integer and follow sampled track position through loops and hot-cue jumps.The Lightstage Viewer stays in its separate repository. This PR is scoped to the EngineX integration.
How it was tested / 怎么验证的
git diff --checkandnode --check docs/site/content.jspassed.9a213f1b. It covered deck clock, OSC, MIDI, existing DMX output, gateway and peer metadata, the Control Center entry and the Qt Quick panel. It also built the mod helpers for armhf and arm64 and the SC6000 clock gateway. Real hardware coverage is limited to the SC6000 setup above.Checklist / 自检清单