SwiftstructSoundAnalysis

struct SoundAnalysis.CLAP.TextSession

Members 7

  1. fieldlet session: SoundAnalysis.CLAP.DetectionSession<SoundAnalysis.CLAP.TextEmbeddingComparitor>
  2. funcaddDetector(SoundAnalysis.CLAP.DetectorString) async throws -> ()
  3. funcaddDetectors([SoundAnalysis.CLAP.DetectorString]) async throws -> ()
  4. funcbinaryDetectionResults(id: String, detectionThreshold: Float) -> Combine.AnyPublisher<SoundAnalysis.CLAP.BinaryDetection, Error>
  5. funcremoveDetector(String) async throws -> ()
  6. varvar detectionResults: SoundAnalysis.AnyAsyncSequence<SoundAnalysis.CLAP.Detection> { get }
  7. varvar detectionResultsPublisher: Combine.AnyPublisher<SoundAnalysis.CLAP.Detection, Error> { get }
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>
}