tencentcloud-sdk-tts 3.0.554 → 3.0.556
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190823/models.rb +10 -2
- 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: 68acb8fcf1295abce0c804682bad7515edcf1d97
|
|
4
|
+
data.tar.gz: f8fdbd1ac4ec7d308147fcdbfd6a839196892371
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69a912d2501dae0945eebb1181687ecb0fb6a2a102b4a9cb60ef7c85ebb49d79a4510182d53ded7ec3602d7b8ebd29922cdf642a9e9f0c67f0f3720acd9a88b9
|
|
7
|
+
data.tar.gz: 7637d2f3489658f1223e0c878b9f16499d7fe858320a6fc8563f3595a2899dbd24c9878a82311299a7362f776d5317df506b3975fbd2696f8b36a51675daa433
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.556
|
data/lib/v20190823/models.rb
CHANGED
|
@@ -255,10 +255,14 @@ module TencentCloud
|
|
|
255
255
|
# @type EnableSubtitle: Boolean
|
|
256
256
|
# @param SegmentRate: 断句敏感阈值,默认值为:0,取值范围:[0,1,2]。该值越大越不容易断句,模型会更倾向于仅按照标点符号断句。此参数建议不要随意调整,可能会影响合成效果。
|
|
257
257
|
# @type SegmentRate: Integer
|
|
258
|
+
# @param EmotionCategory: 控制合成音频的情感,仅支持情绪音色使用。取值: peaceful、exciting、thrill、neutral、sad、angry、cute、fear、poetry、happy、regretful、exciting_strong、aojiao、sajiao、story、raido、call、jieshuo等等;
|
|
259
|
+
# @type EmotionCategory: String
|
|
260
|
+
# @param EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100,不填写为默认值;只有EmotionCategory不为空时生效;
|
|
261
|
+
# @type EmotionIntensity: Integer
|
|
258
262
|
|
|
259
|
-
attr_accessor :Text, :SessionId, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :EnableSubtitle, :SegmentRate
|
|
263
|
+
attr_accessor :Text, :SessionId, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :EnableSubtitle, :SegmentRate, :EmotionCategory, :EmotionIntensity
|
|
260
264
|
|
|
261
|
-
def initialize(text=nil, sessionid=nil, volume=nil, speed=nil, projectid=nil, modeltype=nil, voicetype=nil, primarylanguage=nil, samplerate=nil, codec=nil, enablesubtitle=nil, segmentrate=nil)
|
|
265
|
+
def initialize(text=nil, sessionid=nil, volume=nil, speed=nil, projectid=nil, modeltype=nil, voicetype=nil, primarylanguage=nil, samplerate=nil, codec=nil, enablesubtitle=nil, segmentrate=nil, emotioncategory=nil, emotionintensity=nil)
|
|
262
266
|
@Text = text
|
|
263
267
|
@SessionId = sessionid
|
|
264
268
|
@Volume = volume
|
|
@@ -271,6 +275,8 @@ module TencentCloud
|
|
|
271
275
|
@Codec = codec
|
|
272
276
|
@EnableSubtitle = enablesubtitle
|
|
273
277
|
@SegmentRate = segmentrate
|
|
278
|
+
@EmotionCategory = emotioncategory
|
|
279
|
+
@EmotionIntensity = emotionintensity
|
|
274
280
|
end
|
|
275
281
|
|
|
276
282
|
def deserialize(params)
|
|
@@ -286,6 +292,8 @@ module TencentCloud
|
|
|
286
292
|
@Codec = params['Codec']
|
|
287
293
|
@EnableSubtitle = params['EnableSubtitle']
|
|
288
294
|
@SegmentRate = params['SegmentRate']
|
|
295
|
+
@EmotionCategory = params['EmotionCategory']
|
|
296
|
+
@EmotionIntensity = params['EmotionIntensity']
|
|
289
297
|
end
|
|
290
298
|
end
|
|
291
299
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-tts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.556
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-04-
|
|
11
|
+
date: 2023-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|