SwiftstructSoundAnalysis
struct SoundAnalysis.CLAP.TextSession
Members 7
- field
let session: SoundAnalysis.CLAP.DetectionSession<SoundAnalysis.CLAP.TextEmbeddingComparitor> - func
addDetector(SoundAnalysis.CLAP.DetectorString) async throws -> () - func
addDetectors([SoundAnalysis.CLAP.DetectorString]) async throws -> () - func
binaryDetectionResults(id: String, detectionThreshold: Float) -> Combine.AnyPublisher<SoundAnalysis.CLAP.BinaryDetection, Error> - func
removeDetector(String) async throws -> () - var
var detectionResults: SoundAnalysis.AnyAsyncSequence<SoundAnalysis.CLAP.Detection> { get } - var
var detectionResultsPublisher: Combine.AnyPublisher<SoundAnalysis.CLAP.Detection, Error> { get }
Header
struct SoundAnalysis.CLAP.TextSession { let session: SoundAnalysis.CLAP.DetectionSession<SoundAnalysis.CLAP.TextEmbeddingComparitor> var detectionResults: SoundAnalysis.AnyAsyncSequence<SoundAnalysis.CLAP.Detection> { get } var detectionResultsPublisher: Combine.AnyPublisher<SoundAnalysis.CLAP.Detection, any Swift.Error> { get } func addDetector(_: SoundAnalysis.CLAP.DetectorString) async throws func addDetectors(_: [SoundAnalysis.CLAP.DetectorString]) async throws func removeDetector(_: Swift.String) async throws func binaryDetectionResults(id: Swift.String, detectionThreshold: Swift.Float) -> Combine.AnyPublisher<SoundAnalysis.CLAP.BinaryDetection, any Swift.Error> }