tencentcloud-sdk-tts 3.0.453 → 3.0.455

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e45aed9273cd4f202ca78a32dac7d8f50d37fad
4
- data.tar.gz: edf47c9bacddffe6be1d85f756062a2926088cb1
3
+ metadata.gz: 959bdbe69d43af468aa8d09d7264e8358294d4a1
4
+ data.tar.gz: ff4ccdad1050d2d249f1b09a6be73a06ac8c4864
5
5
  SHA512:
6
- metadata.gz: ffbb5ecf97c597fb1a62ed955520153d15a3f6eb3a9f8c5e99b0db2a723d8a3a97b97c5cc9fe82df1bebc1b16cc7ab238f6375f63e127c6fd581587e783f6cb1
7
- data.tar.gz: b403ff81bdb7ec211fbd9cd10d9e6203d86470ed6925b561c412a5c9ea9d4aec89b1c8dbb8595f4c282934203582227f18f4cb03fd7b87b4429a8d202a005487
6
+ metadata.gz: a000cd216071b118c7cf5bb8d99c667ac97ea2c542f88b50987ded043be48dcac155c0b59a435384e08e48ce9379590bf67710e4d8f2ad86ca5b88f5485ecefa
7
+ data.tar.gz: 48a509452ce09a232ca1d74f2aec3a004e5b6856ed037451616153a3faa908c1e5248c4811eaee9447a2159754529aee18688c535d31418f26ec2fc6c5ea9f6f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.453
1
+ 3.0.455
@@ -244,10 +244,12 @@ module TencentCloud
244
244
  # @type Codec: String
245
245
  # @param EnableSubtitle: 是否开启时间戳功能,默认为false。
246
246
  # @type EnableSubtitle: Boolean
247
+ # @param SegmentRate: 断句敏感度,默认值为:0,取值范围:[0,1,2],值越大则敏感度越低,更易断句,此参数建议不要随意调整,可能会影响合成效果。
248
+ # @type SegmentRate: Integer
247
249
 
248
- attr_accessor :Text, :SessionId, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :EnableSubtitle
250
+ attr_accessor :Text, :SessionId, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :EnableSubtitle, :SegmentRate
249
251
 
250
- def initialize(text=nil, sessionid=nil, volume=nil, speed=nil, projectid=nil, modeltype=nil, voicetype=nil, primarylanguage=nil, samplerate=nil, codec=nil, enablesubtitle=nil)
252
+ 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)
251
253
  @Text = text
252
254
  @SessionId = sessionid
253
255
  @Volume = volume
@@ -259,6 +261,7 @@ module TencentCloud
259
261
  @SampleRate = samplerate
260
262
  @Codec = codec
261
263
  @EnableSubtitle = enablesubtitle
264
+ @SegmentRate = segmentrate
262
265
  end
263
266
 
264
267
  def deserialize(params)
@@ -273,6 +276,7 @@ module TencentCloud
273
276
  @SampleRate = params['SampleRate']
274
277
  @Codec = params['Codec']
275
278
  @EnableSubtitle = params['EnableSubtitle']
279
+ @SegmentRate = params['SegmentRate']
276
280
  end
277
281
  end
278
282
 
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.453
4
+ version: 3.0.455
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-17 00:00:00.000000000 Z
11
+ date: 2022-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common