tencentcloud-sdk-tts 3.0.453 → 3.0.454

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: a9119c49b9d2c958387585b121e9cb35f85b2d68
4
+ data.tar.gz: 8d218ce8f992bf519e531e8ceb1a352fae523cb5
5
5
  SHA512:
6
- metadata.gz: ffbb5ecf97c597fb1a62ed955520153d15a3f6eb3a9f8c5e99b0db2a723d8a3a97b97c5cc9fe82df1bebc1b16cc7ab238f6375f63e127c6fd581587e783f6cb1
7
- data.tar.gz: b403ff81bdb7ec211fbd9cd10d9e6203d86470ed6925b561c412a5c9ea9d4aec89b1c8dbb8595f4c282934203582227f18f4cb03fd7b87b4429a8d202a005487
6
+ metadata.gz: 7101404b825d65c473e423a437e6901cb7e56cc81bffa8679bb53d5affc95f8d947414f725a92caf6fd1ca5290d93a6cb23e2276bd0da617777232fd58f123e5
7
+ data.tar.gz: 4b71daca36eaa955c6be72d5a686339f085d0e3f2a9a0f3a4111c3e0d22d4ff0b0eab3f6273a6dfbc2db3d16359d0cdc2ca504738c15c3bedf9a643c98fa63ac
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.453
1
+ 3.0.454
@@ -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.454
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-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common