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.
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: c66f66041979e44df7b0a321e98d3a3e38a0edd2
4
- data.tar.gz: 535f1dd44304cfca1c69bfa757c9ff8419e35ba3
3
+ metadata.gz: 68acb8fcf1295abce0c804682bad7515edcf1d97
4
+ data.tar.gz: f8fdbd1ac4ec7d308147fcdbfd6a839196892371
5
5
  SHA512:
6
- metadata.gz: e3174e303f1ac787e31d863092443bde87314b3dc2fbdbc016ab506493945ba6898185d81947028c868619508f6d7e55591d6317aa4da3c04170cd6eaf48be0d
7
- data.tar.gz: 35f284067cf831a493f127fa75c3b87b5ca5f7287168d7082cddf78513da002642aed6b1194801cde0269dd25faa0e433cc1a772bee60e69000f6ac7021437d5
6
+ metadata.gz: 69a912d2501dae0945eebb1181687ecb0fb6a2a102b4a9cb60ef7c85ebb49d79a4510182d53ded7ec3602d7b8ebd29922cdf642a9e9f0c67f0f3720acd9a88b9
7
+ data.tar.gz: 7637d2f3489658f1223e0c878b9f16499d7fe858320a6fc8563f3595a2899dbd24c9878a82311299a7362f776d5317df506b3975fbd2696f8b36a51675daa433
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.554
1
+ 3.0.556
@@ -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.554
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-19 00:00:00.000000000 Z
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