TuSDKAudioPitchEngine Class Reference

Inherits from NSObject
Conforms to TuSDKAudioEngine
Declared in TuSDKAudioPitchEngine.h

  pitchType

改变音频音调 [速度设置将失效] pitch 0 > pitch [大于1时声音升调,小于1时为降调]

@property (nonatomic) TuSDKSoundPitchType pitchType

Availability

v3.0

Declared In

TuSDKAudioPitchEngine.h

  speed

改变音频播放速度 [变速不变调, 音调设置将失效] speed 0 > speed

@property (nonatomic) float speed

Availability

v3.0

Declared In

TuSDKAudioPitchEngine.h

  delegate

@property (nonatomic, weak) id<TuSDKAudioPitchEngineDelegate> delegate

Availability

v3.0

Declared In

TuSDKAudioPitchEngine.h

– initWithInputAudioInfo:

TuSDKAudioPitchEngine初始化

- (instancetype)initWithInputAudioInfo:(TuSDKAudioTrackInfo *)inputInfo

Parameters

inputInfo

音频输入样式

Return Value

TuSDKAudioPitchEngine

Availability

v3.0

Declared In

TuSDKAudioPitchEngine.h