Skip to content

v3.2.0: Action Line Voice Support

Choose a tag to compare

@stovak stovak released this 13 Mar 21:28
· 47 commits to main since this release
45d791a

SwiftProyecto v3.2.0

✨ Action Line Voice Support

Add optional actionLineVoice field to TTSConfig for configurable action line voice in audio generation.

New Features

  • TTSConfig.actionLineVoice - Separate voice selection for action lines/stage directions
    • Optional String? field (backward compatible)
    • Enables creative audio: different voices for dialogue vs action/parentheticals
    • Powers Produciesta action line voice feature

Implementation Details

// TTSConfig now supports action line voice
let tts = TTSConfig(
    providerId: "apple",
    voiceId: "com.apple.voice.compact.en-US.Samantha",
    languageCode: "en",
    voiceURI: "hablare://apple/...",
    model: "0.6b",
    actionLineVoice: "apple://com.apple.voice.premium.en-US.Ava"  // NEW
)

Testing

  • ✅ 364 tests passing, 0 failures
  • ✅ 3 new test cases added:
    • Parse actionLineVoice from YAML
    • Round-trip serialization
    • Backward compatibility (nil when absent)

Documentation

  • Updated README.md with v3.2.0 features
  • Updated AGENTS.md changelog
  • Updated CLAUDE.md and GEMINI.md versions
  • All documentation synchronized

Backward Compatibility

  • Field is optional with default value nil
  • Existing PROJECT.md files work without modification
  • Codable conformance handles field automatically

Full Changelog: v3.1.1...v3.2.0

🤖 Generated with Claude Code