Skip to content

Conversation

@cubny
Copy link
Owner

@cubny cubny commented Jan 13, 2026

Problem

The Lyria RealTime API has a 10-minute session limit. Beyond this, the model starts producing degraded audio that sounds robotic ("R2D2 effect" coined by @marcbarbosa :) or triggers fallback to the synth engine.

Solution

Proactive session rotation: Sessions now automatically rotate before hitting the API limit
Configurable track duration: New --track-duration option (1-9 minutes, default: 9)
Seamless transitions: 3-second buffered audio with crossfade prevents silence during rotation

@cubny cubny merged commit 5ef356a into main Jan 13, 2026
1 check passed
@cubny cubny changed the title ix: proactive session rotation to prevent audio degradation after 10 minutes fix: proactive session rotation to prevent audio degradation after 10 minutes Jan 13, 2026
@cubny cubny deleted the tracks branch January 18, 2026 13:29
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.

2 participants