n3d_stream_finish: Finish a Stream

View source: R/stream.R

n3d_stream_finishR Documentation

Finish a Stream

Description

Scores the remaining buffered audio, including the look-ahead frames of the previous chunk, and closes the session.

Usage

n3d_stream_finish(stream)

Arguments

stream

A session from n3d_stream.

Value

A matrix of speaker probabilities for the remaining frames.

See Also

n3d_stream for a complete example.

Examples


if (n3d_exists()) {
  s <- n3d_stream(load_n3d())
  n3d_stream_push(s, numeric(32000))
  dim(n3d_stream_finish(s))
}


n3d documentation built on Oct. 14, 2026, 5:08 p.m.