public class VoicePrintCompareRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| VoicePrintCompareRequest() | 
| VoicePrintCompareRequest(VoicePrintCompareRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDestAudioData()Get 对比目标音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2M | 
| Long | getSampleRate()Get 音频采样率,目前仅支持16k,请填写16000 | 
| String | getSrcAudioData()Get 对比源音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2M | 
| Long | getVoiceFormat()Get 音频格式 0: pcm, 1: wav;pcm和wav音频无损压缩,识别准确度更高 | 
| void | setDestAudioData(String DestAudioData)Set 对比目标音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2M | 
| void | setSampleRate(Long SampleRate)Set 音频采样率,目前仅支持16k,请填写16000 | 
| void | setSrcAudioData(String SrcAudioData)Set 对比源音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2M | 
| void | setVoiceFormat(Long VoiceFormat)Set 音频格式 0: pcm, 1: wav;pcm和wav音频无损压缩,识别准确度更高 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic VoicePrintCompareRequest()
public VoicePrintCompareRequest(VoicePrintCompareRequest source)
public Long getVoiceFormat()
public void setVoiceFormat(Long VoiceFormat)
VoiceFormat - 音频格式 0: pcm, 1: wav;pcm和wav音频无损压缩,识别准确度更高public Long getSampleRate()
public void setSampleRate(Long SampleRate)
SampleRate - 音频采样率,目前仅支持16k,请填写16000public String getSrcAudioData()
public void setSrcAudioData(String SrcAudioData)
SrcAudioData - 对比源音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2Mpublic String getDestAudioData()
public void setDestAudioData(String DestAudioData)
DestAudioData - 对比目标音频数据, 音频要求:base64 编码,16k采样率, 16bit位深,pcm或者wav格式, 单声道,音频时长不超过30秒的音频,base64编码数据大小不超过2MCopyright © 2025. All rights reserved.