tencentcloud-sdk-tts 3.0.660 → 3.0.662

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.
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: 94072f464881b65b08ffd719630179ef595727e3
4
- data.tar.gz: d7ba5c5a935057f5b47fabf1111831437e4c1587
3
+ metadata.gz: cfc8b26114ed800cca131ccf41950700e7544ea4
4
+ data.tar.gz: 01a655076cee92303e6714c4926d1af3ac9d6bd1
5
5
  SHA512:
6
- metadata.gz: 5a5a67318215958714f7bffab719c49aea8dfd9f3252dd06717537b7f4d85b3589a85475e40bb3a4bc8c5f85ac3fe93fbd634a140af31dc563440fefb5eea4e0
7
- data.tar.gz: be243be122c407775fe515d2138f4783473755e429ad2141b930d9f29826e2a0a978aef7fd58dbd9743c288fb0c1f1dfb020ec2f3622341a108a8ba8b32da5d1
6
+ metadata.gz: 39fa61bd901d953108b19baf15c34afb59b65a87d45076814e82d94bb5a103c8054ffb15615f37a747c1168b8be09ad771673490b3a904f675cc944877669e4d
7
+ data.tar.gz: 2843cdebe7ee46dec1deeac71b191143d3380b1407929a063e816b1027cd2361a77248e7e624d803b052a508c98196f5adae9b80ec723f89a8f197a4106ba335
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.660
1
+ 3.0.662
@@ -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.660
4
+ version: 3.0.662
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-15 00:00:00.000000000 Z
11
+ date: 2023-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common