62 lines
3.7 KiB
Markdown
62 lines
3.7 KiB
Markdown
# Adaptive Music — 0.5.0 development
|
|
|
|
Independent open-source project by **CheddahBoxMB**, targeting Foundry VTT **v14.371**
|
|
and Music Assistant **2.10.6**, independent of game system and other modules.
|
|
This is a development release; it has not been exercised inside an actual Foundry
|
|
world. No production installation or external service is changed by building it.
|
|
|
|
Install `adaptive-music.zip` through Foundry's normal module manifest mechanism.
|
|
[INSTALL.md](INSTALL.md) covers manual Gitea publication, installation, updates and
|
|
isolated testing. The configured repository is **planned, not confirmed**. No
|
|
connection to it was made. An uploaded, anonymously readable manifest and release
|
|
asset are required before Foundry installation by URL can work.
|
|
|
|
The standard module includes native playlist playback, persistent separate scene
|
|
ambient/combat/boss/native fallback assignments, global defaults, manual overrides,
|
|
combat automation and the existing snapshot/restore controller. The GM setup menu
|
|
configures native ownership and assignments. Automation defaults off. Only
|
|
explicitly owned native music playlists are eligible; sound effects are out of scope.
|
|
|
|
The new **experimental GM browser host** shares the validated MA provider/catalog
|
|
code, uses the bundled official Sendspin SDK's PCM decoder and Web Audio, and
|
|
sends audio to invited listeners with WebRTC. Supported Foundry module sockets carry
|
|
only encrypted bounded signaling, never continuous audio. GM credentials remain in
|
|
GM memory and are visible to that browser's user; players receive individual
|
|
expiring audio capabilities. No Docker, VM, LXC, external module, permanent sandbox,
|
|
core patch, OS service or public MA endpoint is required by the module.
|
|
|
|
This path is a developer API experiment, not a completed one-click MA setup.
|
|
The existing DEV receiver's private identity/pairing, private browser-reachable TLS,
|
|
authentication-log review and MA ingestion of the approved synthetic sequences are
|
|
still prerequisites. Real catalog entries can be displayed/assigned, but only the
|
|
authorized synthetic sequences are enabled for experimental MA playback. The
|
|
companion implementation remains optional experimental source and is preserved at
|
|
local branch `experimental/companion-0.4.0`; it is not needed for native playback.
|
|
|
|
Measured in Chromium: the official decoder and WebRTC delivered synthetic 440 Hz
|
|
PCM to **two** listener contexts, with first signal at **1.757 s** and approximately
|
|
**42.3 kbit/s** aggregate GM RTP payload. This used a loopback signaling shim, not
|
|
Foundry or MA. WAN/NAT/TURN, inter-listener synchronization, audible MA output and
|
|
nonempty live queue restoration remain unverified. Crossfade and simultaneous
|
|
ambient layers are not implemented. GM loss ends forwarding; seamless failover or
|
|
crash restoration is not promised.
|
|
|
|
Build a complete manual release bundle locally, without Git credentials or a remote:
|
|
|
|
```sh
|
|
python3 scripts/release.py
|
|
# To prepare the same release for GitHub instead:
|
|
python3 scripts/release.py --repository https://github.com/OWNER/REPOSITORY --output dist/github
|
|
```
|
|
|
|
Output: `dist/releases/v0.5.0/adaptive-music-release-v0.5.0.zip`, containing the
|
|
installable module, standalone manifest, source archive, documentation, licenses
|
|
and SHA256 checksums. The manifest uses a stable branch URL and a version-specific
|
|
release download. Build automation validates both but does not publish anything.
|
|
Prebuilt browser assets are included; end users do not need Node/npm or Python.
|
|
|
|
For contributor commands and evidence see [TESTING.md](TESTING.md),
|
|
[PROGRESS.md](PROGRESS.md), [ARCHITECTURE.md](ARCHITECTURE.md) and
|
|
[SECURITY.md](SECURITY.md). MIT project license; upstream MIT/Apache notices and
|
|
full dependency licenses are retained in `THIRD-PARTY-NOTICES` and `licenses/`.
|