Skip to content

Reference audio (WAV/MP3), CI build + test-generation#1

Merged
lmangani merged 1 commit intomasterfrom
audio-reference
Feb 28, 2026
Merged

Reference audio (WAV/MP3), CI build + test-generation#1
lmangani merged 1 commit intomasterfrom
audio-reference

Conversation

@lmangani
Copy link

  • Add unified audio loader (audio.h, audio_loader.cpp, wav.h): WAV and MP3 to stereo 48kHz float; MP3 via header-only minimp3, no temp files
  • dit-vae: reference_audio path uses load_audio_48k_stereo; VAE encoder for timbre conditioning (requires VAE GGUF with encoder weights)
  • Request API: task_type, reference_audio, src_audio, audio_cover_strength, repainting_start/end; docs in README and docs/MODES.md
  • GitHub Actions: build.yml (Ubuntu + macOS on push/PR); test-generation.yml (manual + release only, short text2music/cover/full-pipeline tests)
  • CI fixtures: tests/fixtures/ci-text2music.json, ci-cover.json (cover uses text2music WAV as reference)

- Add unified audio loader (audio.h, audio_loader.cpp, wav.h): WAV and MP3
  to stereo 48kHz float; MP3 via header-only minimp3, no temp files
- dit-vae: reference_audio path uses load_audio_48k_stereo; VAE encoder
  for timbre conditioning (requires VAE GGUF with encoder weights)
- Request API: task_type, reference_audio, src_audio, audio_cover_strength,
  repainting_start/end; docs in README and docs/MODES.md
- GitHub Actions: build.yml (Ubuntu + macOS on push/PR); test-generation.yml
  (manual + release only, short text2music/cover/full-pipeline tests)
- CI fixtures: tests/fixtures/ci-text2music.json, ci-cover.json (cover uses
  text2music WAV as reference)

Made-with: Cursor
@lmangani lmangani merged commit 04d9ced into master Feb 28, 2026
2 checks passed
@lmangani lmangani deleted the audio-reference branch February 28, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant