pub struct PipecatSmartTurn {}Expand description
Pipecat Smart Turn v3 detector.
Buffers up to 8 seconds of audio internally. When predict
is called, it takes the last 8s (zero-padded at front if shorter),
extracts Whisper log-mel features, and runs ONNX inference.
Implementations§
Trait Implementations§
Source§impl AudioTurnDetector for PipecatSmartTurn
impl AudioTurnDetector for PipecatSmartTurn
Source§fn push_audio(&mut self, _frame: &AudioFrame<'_>)
fn push_audio(&mut self, _frame: &AudioFrame<'_>)
Feed audio into the internal buffer. Read more
Auto Trait Implementations§
impl Freeze for PipecatSmartTurn
impl RefUnwindSafe for PipecatSmartTurn
impl Send for PipecatSmartTurn
impl Sync for PipecatSmartTurn
impl Unpin for PipecatSmartTurn
impl UnsafeUnpin for PipecatSmartTurn
impl UnwindSafe for PipecatSmartTurn
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more