tencentcloud-sdk-vrs 3.0.794 → 3.0.795
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200824/models.rb +21 -22
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed643e3f694d0cfb7fa8674e474d3e21a24ad354
|
4
|
+
data.tar.gz: 081bfebec210d90e27d487097321ec03b3c4bdc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c10a4ae6c42b4125a95923b2c96f58af62c971344de989d463194c246806408c20dbc1fe2f639b65373ff566d400319ba29285ec7131e381485c65a13719fce3
|
7
|
+
data.tar.gz: f991ab76a305c413928e539aa3d85e3dcf26b9a29e34176b5483bb72940aab4121612faecbb08ab9ca1b4b2656cdcdf0abacf3dd2706b59825c7be5760013f13
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.795
|
data/lib/v20200824/models.rb
CHANGED
@@ -73,10 +73,6 @@ module TencentCloud
|
|
73
73
|
# @type SessionId: String
|
74
74
|
# @param VoiceName: 音色名称
|
75
75
|
# @type VoiceName: String
|
76
|
-
# @param SampleRate: 音频采样率:
|
77
|
-
|
78
|
-
# 16000:16k
|
79
|
-
# @type SampleRate: Integer
|
80
76
|
# @param VoiceGender: 音色性别:
|
81
77
|
|
82
78
|
# 1-male
|
@@ -87,31 +83,34 @@ module TencentCloud
|
|
87
83
|
|
88
84
|
# 1-中文
|
89
85
|
# @type VoiceLanguage: Integer
|
90
|
-
# @param Codec: 音频格式,音频类型(wav,mp3,aac,m4a)
|
91
|
-
# @type Codec: String
|
92
86
|
# @param AudioIdList: 音频ID集合
|
93
87
|
# @type AudioIdList: Array
|
88
|
+
# @param SampleRate: 音频采样率:
|
89
|
+
|
90
|
+
# 16000:16k
|
91
|
+
# @type SampleRate: Integer
|
92
|
+
# @param Codec: 音频格式,音频类型(wav,mp3,aac,m4a)
|
93
|
+
# @type Codec: String
|
94
94
|
# @param CallbackUrl: 回调 URL,用户自行搭建的用于接收结果的服务URL。如果用户使用轮询方式获取识别结果,则无需提交该参数。
|
95
95
|
# 回调采用POST请求方式,Content-Type为application/json,回调数据格式如下:{"TaskId":"xxxxxxxxxxxxxx","Status":2,"StatusStr":"success","VoiceType":xxxxx,"ErrorMsg":""}
|
96
96
|
# @type CallbackUrl: String
|
97
97
|
# @param ModelType: 模型类型 1:在线 2:离线 默认为1
|
98
98
|
# @type ModelType: Integer
|
99
|
-
# @param TaskType:
|
100
|
-
# 默认为0
|
99
|
+
# @param TaskType: 复刻类型。 0 - 轻量版声音复刻(默认)。
|
101
100
|
# @type TaskType: Integer
|
102
|
-
# @param VPRAudioId: 校验音频ID
|
101
|
+
# @param VPRAudioId: 校验音频ID。
|
103
102
|
# @type VPRAudioId: String
|
104
103
|
|
105
|
-
attr_accessor :SessionId, :VoiceName, :
|
104
|
+
attr_accessor :SessionId, :VoiceName, :VoiceGender, :VoiceLanguage, :AudioIdList, :SampleRate, :Codec, :CallbackUrl, :ModelType, :TaskType, :VPRAudioId
|
106
105
|
|
107
|
-
def initialize(sessionid=nil, voicename=nil,
|
106
|
+
def initialize(sessionid=nil, voicename=nil, voicegender=nil, voicelanguage=nil, audioidlist=nil, samplerate=nil, codec=nil, callbackurl=nil, modeltype=nil, tasktype=nil, vpraudioid=nil)
|
108
107
|
@SessionId = sessionid
|
109
108
|
@VoiceName = voicename
|
110
|
-
@SampleRate = samplerate
|
111
109
|
@VoiceGender = voicegender
|
112
110
|
@VoiceLanguage = voicelanguage
|
113
|
-
@Codec = codec
|
114
111
|
@AudioIdList = audioidlist
|
112
|
+
@SampleRate = samplerate
|
113
|
+
@Codec = codec
|
115
114
|
@CallbackUrl = callbackurl
|
116
115
|
@ModelType = modeltype
|
117
116
|
@TaskType = tasktype
|
@@ -121,11 +120,11 @@ module TencentCloud
|
|
121
120
|
def deserialize(params)
|
122
121
|
@SessionId = params['SessionId']
|
123
122
|
@VoiceName = params['VoiceName']
|
124
|
-
@SampleRate = params['SampleRate']
|
125
123
|
@VoiceGender = params['VoiceGender']
|
126
124
|
@VoiceLanguage = params['VoiceLanguage']
|
127
|
-
@Codec = params['Codec']
|
128
125
|
@AudioIdList = params['AudioIdList']
|
126
|
+
@SampleRate = params['SampleRate']
|
127
|
+
@Codec = params['Codec']
|
129
128
|
@CallbackUrl = params['CallbackUrl']
|
130
129
|
@ModelType = params['ModelType']
|
131
130
|
@TaskType = params['TaskType']
|
@@ -200,7 +199,7 @@ module TencentCloud
|
|
200
199
|
# @param StatusStr: 任务状态,waiting:任务等待,doing:任务执行中,success:任务成功,failed:任务失败。
|
201
200
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
202
201
|
# @type StatusStr: String
|
203
|
-
# @param VoiceType: 音色id
|
202
|
+
# @param VoiceType: 音色id。
|
204
203
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
205
204
|
# @type VoiceType: Integer
|
206
205
|
# @param ErrorMsg: 失败原因说明。
|
@@ -255,30 +254,30 @@ module TencentCloud
|
|
255
254
|
# @type TextId: String
|
256
255
|
# @param AudioData: 语音数据 要使用base64编码(采用python语言时注意读取文件时需要转成base64字符串编码,例如:str(base64.b64encode(open("input.aac", mode="rb").read()), encoding='utf-8') )。
|
257
256
|
# @type AudioData: String
|
258
|
-
# @param Codec: 音频格式,音频类型(wav,mp3,aac,m4a)
|
259
|
-
# @type Codec: String
|
260
257
|
# @param TypeId: 1:环境检测 2:音质检测
|
261
258
|
# @type TypeId: Integer
|
259
|
+
# @param Codec: 音频格式,音频类型(wav,mp3,aac,m4a)
|
260
|
+
# @type Codec: String
|
262
261
|
# @param SampleRate: 音频采样率:
|
263
262
|
|
264
263
|
# 16000:16k(默认)
|
265
264
|
# @type SampleRate: Integer
|
266
265
|
|
267
|
-
attr_accessor :TextId, :AudioData, :
|
266
|
+
attr_accessor :TextId, :AudioData, :TypeId, :Codec, :SampleRate
|
268
267
|
|
269
|
-
def initialize(textid=nil, audiodata=nil,
|
268
|
+
def initialize(textid=nil, audiodata=nil, typeid=nil, codec=nil, samplerate=nil)
|
270
269
|
@TextId = textid
|
271
270
|
@AudioData = audiodata
|
272
|
-
@Codec = codec
|
273
271
|
@TypeId = typeid
|
272
|
+
@Codec = codec
|
274
273
|
@SampleRate = samplerate
|
275
274
|
end
|
276
275
|
|
277
276
|
def deserialize(params)
|
278
277
|
@TextId = params['TextId']
|
279
278
|
@AudioData = params['AudioData']
|
280
|
-
@Codec = params['Codec']
|
281
279
|
@TypeId = params['TypeId']
|
280
|
+
@Codec = params['Codec']
|
282
281
|
@SampleRate = params['SampleRate']
|
283
282
|
end
|
284
283
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vrs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.795
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|