Ryan Hammond184 downloadsPlays ambient TTRPG music tracks in the background using note front matter.
A lightweight, zero-friction audio controller for Obsidian.md designed specifically for Game Masters who run sessions from a centralized campaign prep note. It decouples the HTML5 audio thread from the user interface, maintaining persistent background playback while you jump between separate note logs, NPC sheets, and monster stat blocks.
Features crossfade transitions, a dual-channel mixer for weather layers, custom inline note link buttons, and an autocompleting, configurable folder structure.
Play, Pause, Skip, Panic Stop) that can be mapped to blank custom keyboard layout combinations out-of-the-box.To save screen real estate for your campaign prep text, the sidebar panel is engineered into a tightly packed, zero-whitespace grid containing the following control sections:
To optimize scanning performance in large vaults, your music notes and hardcoded playlist files should sit under your chosen Audio Folder Root Location specified in the settings tab.
Create a .md card inside your music folder for each track asset. The player uses standard YAML parameters to query and shuffle selections:
---
file_path: Jukebox/Audio/Music/Misty_Isles_Theme.mp3
biome: Marine
tone: Mysterious
intensity: Low
---
To create multi-phase battle scores or continuous themes that play in an exact order, configure a custom playlist file. These never shuffle; they track your path linearly and cycle back to track 1 when finished.
---
type: playlist
playlist_id: dragon-fight
paths:
- Jukebox/Audio/Music/Intro_Roar.mp3
- Jukebox/Audio/Music/Combat_Phase_1.mp3
- Jukebox/Audio/Music/Combat_Phase_2.wav
- Jukebox/Audio/Music/Victory_Fanfare.mp3
---
Keep your mouse cursor inside your adventure notes during play. You can trigger tracks and custom playlist IDs natively right out of your lore parameters using standard markdown formatting:
[⚔️ Boss Battle](ttrpg-music:playlist:dragon-fight)[🕵️ Stealth Cue](ttrpg-music:track:Jukebox/Audio/Music/Suspense_Drone.mp3).obsidian/plugins/obsidian-ttrpg-musicmain.js, manifest.json, styles.css) from our GitHub Releases panel directly into that folder.Clone this repository locally to build or tweak features:
# Install tool configurations and compilers
npm install
# Run the live esbuild watcher to hot-compile changes on save
npm run dev
# Run a code quality lint check
npm run lint
# Compile a minimized, production-ready release
npm run build