tencentcloud-sdk-tts 3.0.555 → 3.0.556

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: 1a96346ae813b4f3d172f39968724b9475894b50
4
- data.tar.gz: b89c84dcff57be8e649ebfa3e983ce00acf39bf9
3
+ metadata.gz: 68acb8fcf1295abce0c804682bad7515edcf1d97
4
+ data.tar.gz: f8fdbd1ac4ec7d308147fcdbfd6a839196892371
5
5
  SHA512:
6
- metadata.gz: 952b881cd23ceae8437f8e16fa7986256b9471931cc24eb02027150ce4c75e3df13a38d46ab525dac2f83ba68eceaa1fa49ab4326e6735fdd68074efd4c42a39
7
- data.tar.gz: 5f53087030a2b90161c51b43160262bcd9e0f0139c141f8b211ce0e10023a6d81e445120e689dc1b1416f5b6e77decc7a4d9625abf61b0cb2ce3ab40f3c91dc6
6
+ metadata.gz: 69a912d2501dae0945eebb1181687ecb0fb6a2a102b4a9cb60ef7c85ebb49d79a4510182d53ded7ec3602d7b8ebd29922cdf642a9e9f0c67f0f3720acd9a88b9
7
+ data.tar.gz: 7637d2f3489658f1223e0c878b9f16499d7fe858320a6fc8563f3595a2899dbd24c9878a82311299a7362f776d5317df506b3975fbd2696f8b36a51675daa433
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.555
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.555
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