Audio playback path was being resolved during parsing when database may not be ready, causing fallback to non-existent path. Now resolves lazily when stream starts, matching how audio analyzer works. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
556 B
Common Lisp
18 lines
556 B
Common Lisp
;; Audio Configuration - dizzy.mp3
|
|
;;
|
|
;; Defines audio analyzer and playback for a recipe.
|
|
;; Pass to recipe with: --audio configs/audio-dizzy.sexp
|
|
;;
|
|
;; Provides:
|
|
;; - music: audio analyzer for beat/energy detection
|
|
;; - audio-playback: path for synchronized playback
|
|
|
|
(require-primitives "streaming")
|
|
|
|
;; Audio analyzer (provides beat detection and energy levels)
|
|
;; Using friendly name for asset resolution
|
|
(def music (streaming:make-audio-analyzer "woods-audio"))
|
|
|
|
;; Audio playback path (for sync with video output)
|
|
(audio-playback "woods-audio")
|