SwiftstructSoundAnalysis

struct SoundAnalysis.CLAP.AudioSession

Members 6

  1. fieldlet session: SoundAnalysis.CLAP.DetectionSession<SoundAnalysis.CLAP.AudioEmbeddingComparitor>
  2. funcaddDetector(SoundAnalysis.CLAP.DetectorAudioFile) async throws -> ()
  3. funcbinaryDetectionResults(id: String, detectionThreshold: Float) -> Combine.AnyPublisher<SoundAnalysis.CLAP.BinaryDetection, Error>
  4. funcremoveDetector(String) async throws -> ()
  5. varvar detectionResults: SoundAnalysis.AnyAsyncSequence<SoundAnalysis.CLAP.Detection> { get }
  6. varvar detectionResultsPublisher: Combine.AnyPublisher<SoundAnalysis.CLAP.Detection, Error> { get }
struct SoundAnalysis.CLAP.AudioSession {
    let session: SoundAnalysis.CLAP.DetectionSession<SoundAnalysis.CLAP.AudioEmbeddingComparitor>

    var detectionResults: SoundAnalysis.AnyAsyncSequence<SoundAnalysis.CLAP.Detection> {
        get
    }
    var detectionResultsPublisher: Combine.AnyPublisher<SoundAnalysis.CLAP.Detection, any Swift.Error> {
        get
    }

    func addDetector(_: SoundAnalysis.CLAP.DetectorAudioFile) async throws
    func removeDetector(_: Swift.String) async throws
    func binaryDetectionResults(id: Swift.String, detectionThreshold: Swift.Float) -> Combine.AnyPublisher<SoundAnalysis.CLAP.BinaryDetection, any Swift.Error>
}