tencentcloud-sdk-tts 3.0.452 → 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: 4f104cb7e0d326b58503bd09700ac726355754ab
4
- data.tar.gz: 79b122c1205410f4af15b26a3d1e08b26cde9e34
3
+ metadata.gz: a9119c49b9d2c958387585b121e9cb35f85b2d68
4
+ data.tar.gz: 8d218ce8f992bf519e531e8ceb1a352fae523cb5
5
5
  SHA512:
6
- metadata.gz: 56e1309a3107bfa4952578a8adf549502489d844f198734b846bb7884566523690a6dd2b2478f51b2e04c0165de7cb04db547b077f0b526d7074c49075618691
7
- data.tar.gz: 1b1ebd64bd21d5b10fc91d6710a67445dd71ab1ec483ad7a3219b6cdb1a9d3b9b0dcf9d50bcc5c3949d275714aee1043d745d6457f1416cf9827611d3aeb9e21
6
+ metadata.gz: 7101404b825d65c473e423a437e6901cb7e56cc81bffa8679bb53d5affc95f8d947414f725a92caf6fd1ca5290d93a6cb23e2276bd0da617777232fd58f123e5
7
+ data.tar.gz: 4b71daca36eaa955c6be72d5a686339f085d0e3f2a9a0f3a4111c3e0d22d4ff0b0eab3f6273a6dfbc2db3d16359d0cdc2ca504738c15c3bedf9a643c98fa63ac
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.452
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.452
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-15 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
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20190823/models.rb
37
- - lib/v20190823/client.rb
38
36
  - lib/tencentcloud-sdk-tts.rb
37
+ - lib/v20190823/client.rb
38
+ - lib/v20190823/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: