Why a config cannot be segmented with.
272 {
274 return std::format(
"sample_rate {} is not the {} Hz the network runs at; convert the input first, for example with Kinesis::Discrete::resample",
276 }
278 return "voicing_threshold must be finite and greater than 0";
279 }
282 }
const Config & config() const
The stored config struct of type Config, or its defaults when none was set.
The speech intervals of a whole mono 16 kHz recording.
std::string diagnose_interval_scan(const IntervalScanConfig &config)
Why a config cannot be scanned.
Kinesis::Discrete::IntervalScanConfig interval_scan_config(const IntervalScanSettings &settings, uint32_t length)
The host scan configuration of one column's settings over a stream of the given length.
IntervalExtractorConfig speech_scan_settings(const SpeechSettings &speech, size_t samples)
The interval scan settings of speech runs, for a recording of the given length.