tencentcloud-sdk-tts 3.0.791 → 3.0.793
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/v20190823/models.rb +7 -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: 0a94701f45449805d45be5eb6474111767c68d00
|
4
|
+
data.tar.gz: 49bd2ee688b8201d0dec21a9639121e375ce5ca5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85bed4aa09842be7a820e1cb1b5769c5013935947001b1ce7446dfdc788f89ad9e3b290b2ee13b59c832b2862dcf2bf9dec2fd7671712d51a5bc61ed9831c960
|
7
|
+
data.tar.gz: 84c9fcfa8ed8f79e90745466da2345b009090fe4bec971175806889b84eefd89e03047a91903e2c29e8ee448b7faa23e5e0009aa48d39ad13bf3cfb641bc5300
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.793
|
data/lib/v20190823/models.rb
CHANGED
@@ -274,13 +274,16 @@ module TencentCloud
|
|
274
274
|
# @param SegmentRate: 断句敏感阈值,默认值为:0,取值范围:[0,1,2]。该值越大越不容易断句,模型会更倾向于仅按照标点符号断句。此参数建议不要随意调整,可能会影响合成效果。
|
275
275
|
# @type SegmentRate: Integer
|
276
276
|
# @param EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、撒娇(sajiao)、厌恶(disgusted)、震惊(amaze)、平静(peaceful)、兴奋(exciting)、傲娇(aojiao)、解说(jieshuo)
|
277
|
+
# 示例值:neutral
|
277
278
|
# @type EmotionCategory: String
|
278
279
|
# @param EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;
|
279
280
|
# @type EmotionIntensity: Integer
|
281
|
+
# @param FastVoiceType: 一句话复刻音色id,使用一句话复刻音色时需填写。若使用一句话复刻,VoiceType请填入固定值“200000000”
|
282
|
+
# @type FastVoiceType: String
|
280
283
|
|
281
|
-
attr_accessor :Text, :SessionId, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :EnableSubtitle, :SegmentRate, :EmotionCategory, :EmotionIntensity
|
284
|
+
attr_accessor :Text, :SessionId, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :EnableSubtitle, :SegmentRate, :EmotionCategory, :EmotionIntensity, :FastVoiceType
|
282
285
|
|
283
|
-
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)
|
286
|
+
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, fastvoicetype=nil)
|
284
287
|
@Text = text
|
285
288
|
@SessionId = sessionid
|
286
289
|
@Volume = volume
|
@@ -295,6 +298,7 @@ module TencentCloud
|
|
295
298
|
@SegmentRate = segmentrate
|
296
299
|
@EmotionCategory = emotioncategory
|
297
300
|
@EmotionIntensity = emotionintensity
|
301
|
+
@FastVoiceType = fastvoicetype
|
298
302
|
end
|
299
303
|
|
300
304
|
def deserialize(params)
|
@@ -312,6 +316,7 @@ module TencentCloud
|
|
312
316
|
@SegmentRate = params['SegmentRate']
|
313
317
|
@EmotionCategory = params['EmotionCategory']
|
314
318
|
@EmotionIntensity = params['EmotionIntensity']
|
319
|
+
@FastVoiceType = params['FastVoiceType']
|
315
320
|
end
|
316
321
|
end
|
317
322
|
|
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.793
|
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-03-
|
11
|
+
date: 2024-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|