AudioTagging class

Constructors

AudioTagging.new({required AudioTaggingConfig config})
factory
AudioTagging.fromPtr({required Pointer<SherpaOnnxAudioTagging> ptr, required AudioTaggingConfig config})

Properties

config AudioTaggingConfig
final
hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<SherpaOnnxAudioTagging>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compute({required OfflineStream stream, required int topK}) List<AudioEvent>
createStream() OfflineStream
The user has to invoke stream.free() on the returned instance to avoid memory leak
free() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited