tencentcloud-sdk-tts 3.0.555 → 3.0.557

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 +40 -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: ff87127a7be05e0211d381d22c38ae38e0946140
4
+ data.tar.gz: e99b103e7ab5c759081b380ef945a8cc063f9a8b
5
5
  SHA512:
6
- metadata.gz: 952b881cd23ceae8437f8e16fa7986256b9471931cc24eb02027150ce4c75e3df13a38d46ab525dac2f83ba68eceaa1fa49ab4326e6735fdd68074efd4c42a39
7
- data.tar.gz: 5f53087030a2b90161c51b43160262bcd9e0f0139c141f8b211ce0e10023a6d81e445120e689dc1b1416f5b6e77decc7a4d9625abf61b0cb2ce3ab40f3c91dc6
6
+ metadata.gz: a0aff2208830ff8929d61062b27e2eaba6754e8d4125b95d7dc9ca5e0f75d65d1d8d7f76747213059b9129e085c600b1e72d37bce2d4983d998d056959b2a2c0
7
+ data.tar.gz: 2c5072bcc7a333ceb8caab534bec76307686a7e2161fa815d1dadc5d6fd9e9fde4a0197f52203e3da9bd753d6da71c7f667c2281535f49f41463685b73bda9a4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.555
1
+ 3.0.557
@@ -244,6 +244,36 @@ module TencentCloud
244
244
  # <li>101054-智友,通用男声</li>
245
245
  # <li>101055-智付,通用女声</li>
246
246
  # <li>101056-智林,东北男声</li>
247
+ # <li>301000-爱小广,多情感通用男声</li>
248
+ # <li>301001-爱小栋,多情感通用男声</li>
249
+ # <li>301002-爱小海,多情感通用男声</li>
250
+ # <li>301003-爱小霞,多情感通用女声</li>
251
+ # <li>301004-爱小玲,多情感通用女声</li>
252
+ # <li>301005-爱小章,多情感通用男声</li>
253
+ # <li>301006-爱小峰,多情感通用男声</li>
254
+ # <li>301007-爱小亮,多情感通用男声</li>
255
+ # <li>301008-爱小博,多情感通用男声</li>
256
+ # <li>301009-爱小芸,多情感通用女声</li>
257
+ # <li>301010-爱小秋,多情感通用女声</li>
258
+ # <li>301011-爱小芳,多情感通用女声</li>
259
+ # <li>301012-爱小琴,多情感通用女声</li>
260
+ # <li>301013-爱小康,多情感通用男声</li>
261
+ # <li>301014-爱小辉,多情感通用男声</li>
262
+ # <li>301015-爱小璐,多情感通用女声</li>
263
+ # <li>301016-爱小阳,多情感通用男声</li>
264
+ # <li>301017-爱小泉,多情感通用男声</li>
265
+ # <li>301018-爱小昆,多情感通用男声</li>
266
+ # <li>301019-爱小诚,多情感通用男声</li>
267
+ # <li>301020-爱小岚,多情感通用女声</li>
268
+ # <li>301021-爱小茹,多情感通用女声</li>
269
+ # <li>301022-爱小蓉,多情感通用女声</li>
270
+ # <li>301023-爱小燕,多情感通用女声</li>
271
+ # <li>301024-爱小莲,多情感通用女声</li>
272
+ # <li>301025-爱小武,多情感通用男声</li>
273
+ # <li>301026-爱小雪,多情感通用女声</li>
274
+ # <li>301027-爱小媛,多情感通用女声</li>
275
+ # <li>301028-爱小娴,多情感通用女声</li>
276
+ # <li>301029-爱小涛,多情感通用男声</li>
247
277
  # @type VoiceType: Integer
248
278
  # @param PrimaryLanguage: 主语言类型:<li>1-中文(默认)</li><li>2-英文</li>
249
279
  # @type PrimaryLanguage: Integer
@@ -255,10 +285,14 @@ module TencentCloud
255
285
  # @type EnableSubtitle: Boolean
256
286
  # @param SegmentRate: 断句敏感阈值,默认值为:0,取值范围:[0,1,2]。该值越大越不容易断句,模型会更倾向于仅按照标点符号断句。此参数建议不要随意调整,可能会影响合成效果。
257
287
  # @type SegmentRate: Integer
288
+ # @param EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)
289
+ # @type EmotionCategory: String
290
+ # @param EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100,不填写为默认值;只有EmotionCategory不为空时生效;
291
+ # @type EmotionIntensity: Integer
258
292
 
259
- attr_accessor :Text, :SessionId, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :EnableSubtitle, :SegmentRate
293
+ attr_accessor :Text, :SessionId, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :EnableSubtitle, :SegmentRate, :EmotionCategory, :EmotionIntensity
260
294
 
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)
295
+ 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
296
  @Text = text
263
297
  @SessionId = sessionid
264
298
  @Volume = volume
@@ -271,6 +305,8 @@ module TencentCloud
271
305
  @Codec = codec
272
306
  @EnableSubtitle = enablesubtitle
273
307
  @SegmentRate = segmentrate
308
+ @EmotionCategory = emotioncategory
309
+ @EmotionIntensity = emotionintensity
274
310
  end
275
311
 
276
312
  def deserialize(params)
@@ -286,6 +322,8 @@ module TencentCloud
286
322
  @Codec = params['Codec']
287
323
  @EnableSubtitle = params['EnableSubtitle']
288
324
  @SegmentRate = params['SegmentRate']
325
+ @EmotionCategory = params['EmotionCategory']
326
+ @EmotionIntensity = params['EmotionIntensity']
289
327
  end
290
328
  end
291
329
 
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.557
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-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common