tencentcloud-sdk-tts 3.0.790 → 3.0.792
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: 019beffc99096ce4169fa08483498646294a3f77
|
4
|
+
data.tar.gz: c562afd37c064bea7d8075a6f21275745b1e7fa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba69a9ec342663844d2f31ef0dae18ab2fe28debea9af599ed59dbf6dcf2b574d701d1e8ce215ed868b9d2e796ccee44f21555241e3b6e59e56acd6d05a161cc
|
7
|
+
data.tar.gz: 38a2658bfbca61713e9e424d813eb4c0c3e6b742153270128ab225a589607a9cdb5bcdb36dae8a6e1a3acc3e5fe43deb6cb289d60ee6fe66533c76439d306484
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.792
|
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.792
|
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
|