SNRComputer
IntroductionClass for calculating input voice signal signal-to-noise ratio (SNR). Methods
compute:error:Computes signal-to-noise ration (SNR) with given WAW file. - (NSNumber* _Nullable)compute:(NSString* _Nonnull)wavPath error:(NSError* _Nullable* _Nullable)error; ParametersReturn ValueComputed SNR. compute:sampleRate:error:Computes signal-to-noise ratio (SNR) with given PCM16 audio samples. - (NSNumber* _Nullable)compute:(NSData* _Nonnull)PCM16Samples sampleRate:(int)sampleRate error:(NSError* _Nullable* _Nullable)error; ParametersReturn ValueComputed SNR. initWithPath:error:Creates SNRComputer instance. - (instancetype _Nullable)initWithPath:(NSString* _Nonnull)initPath error:(NSError* _Nullable* _Nullable)error; Parameters |