tencentcloud-sdk-tts 3.0.661 → 3.0.663

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190823/models.rb +10 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a260c9a8d75cbe2e76e150054cd5aa22a9dd2050
4
- data.tar.gz: 0908bebe75be6b1d3c1989bdc068e41377feb2bc
3
+ metadata.gz: f22bfb33b26b31b9925343c9e340766511df475e
4
+ data.tar.gz: 8d3f231a8534246325880d84cacd78838777fab1
5
5
  SHA512:
6
- metadata.gz: f8deb702745861b483337230fe98eb6f4220099b9297d2b7d51e4ef2321e64fc3580e089aa82da2846674c1d842637d75f9fc06f172e91462bd8fd77b99aa895
7
- data.tar.gz: dad7df6b1291b49cbabddf4b8ce78702bc56ed7bb799122584b07d7ccf30a5fa479e10b9d5c04d103d1220573d6c4b63efb943d00766c677ef98d6869b495dc5
6
+ metadata.gz: 632d55b9c7efc24c29efa22f53ff1618f03dd481c492033ab3780e9ea5976534b3941302958fabb6c363384d20d019618e23a9534b2cc842d2f296ebe23e566f
7
+ data.tar.gz: cfa9cb8627b58e026933ea15fa03dfc67d4f7552ac459c4cdd3cf2a72164d67ca8bda12dffc00d460932114efcf3c96b4a4de3cb2f2e7d68657bac37a96610d8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.661
1
+ 3.0.663
@@ -43,10 +43,14 @@ module TencentCloud
43
43
  # @type EnableSubtitle: Boolean
44
44
  # @param VoiceoverDialogueSplit: 旁白与对白文本解析,分别合成相应风格(仅适用于旁对白音色10510000、100510000),默认 false
45
45
  # @type VoiceoverDialogueSplit: Boolean
46
+ # @param EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、撒娇(sajiao)、厌恶(disgusted)、震惊(amaze)、平静(peaceful)、兴奋(exciting)、傲娇(aojiao)、解说(jieshuo)
47
+ # @type EmotionCategory: String
48
+ # @param EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效。
49
+ # @type EmotionIntensity: Integer
46
50
 
47
- attr_accessor :Text, :ModelType, :Volume, :Speed, :ProjectId, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :CallbackUrl, :EnableSubtitle, :VoiceoverDialogueSplit
51
+ attr_accessor :Text, :ModelType, :Volume, :Speed, :ProjectId, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :CallbackUrl, :EnableSubtitle, :VoiceoverDialogueSplit, :EmotionCategory, :EmotionIntensity
48
52
 
49
- def initialize(text=nil, modeltype=nil, volume=nil, speed=nil, projectid=nil, voicetype=nil, primarylanguage=nil, samplerate=nil, codec=nil, callbackurl=nil, enablesubtitle=nil, voiceoverdialoguesplit=nil)
53
+ def initialize(text=nil, modeltype=nil, volume=nil, speed=nil, projectid=nil, voicetype=nil, primarylanguage=nil, samplerate=nil, codec=nil, callbackurl=nil, enablesubtitle=nil, voiceoverdialoguesplit=nil, emotioncategory=nil, emotionintensity=nil)
50
54
  @Text = text
51
55
  @ModelType = modeltype
52
56
  @Volume = volume
@@ -59,6 +63,8 @@ module TencentCloud
59
63
  @CallbackUrl = callbackurl
60
64
  @EnableSubtitle = enablesubtitle
61
65
  @VoiceoverDialogueSplit = voiceoverdialoguesplit
66
+ @EmotionCategory = emotioncategory
67
+ @EmotionIntensity = emotionintensity
62
68
  end
63
69
 
64
70
  def deserialize(params)
@@ -74,6 +80,8 @@ module TencentCloud
74
80
  @CallbackUrl = params['CallbackUrl']
75
81
  @EnableSubtitle = params['EnableSubtitle']
76
82
  @VoiceoverDialogueSplit = params['VoiceoverDialogueSplit']
83
+ @EmotionCategory = params['EmotionCategory']
84
+ @EmotionIntensity = params['EmotionIntensity']
77
85
  end
78
86
  end
79
87
 
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.661
4
+ version: 3.0.663
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-09-18 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common