tencentcloud-sdk-tts 3.0.793 → 3.0.795
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190823/models.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd397241d1b7925fe00636acacc89381f70a96f5
|
4
|
+
data.tar.gz: 46855309f84e2f9d33c87865597c66ab82ec2fdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 326519d5de2a06cb807fdcd8c8b9156b58139c9efd1fdc83c9e4af263de420d1b0445d20fdbb96a2a66d36d3d7eaacf707f8260b7385de2cce6a216b35f22885
|
7
|
+
data.tar.gz: 74e0b54d00f3a15ba76ea43d5f253c16225a51cc302c216aba482e13b957b85d0483d76b9f2c125e5b184c3d22d815a828d4ab02246f549aaccd6b10be7f0a96
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.795
|
data/lib/v20190823/models.rb
CHANGED
@@ -21,14 +21,14 @@ module TencentCloud
|
|
21
21
|
class CreateTtsTaskRequest < TencentCloud::Common::AbstractModel
|
22
22
|
# @param Text: 合成语音的源文本,按UTF-8编码统一计算,最多支持10万字符
|
23
23
|
# @type Text: String
|
24
|
-
# @param ModelType: 模型类型,1-默认模型。
|
25
|
-
# @type ModelType: Integer
|
26
24
|
# @param Volume: 音量大小,范围:[0,10],分别对应11个等级的音量,默认为0,代表正常音量。没有静音选项。
|
27
25
|
# @type Volume: Float
|
28
26
|
# @param Speed: 语速,范围:[-2,2],分别对应不同语速:<li>-2代表0.6倍</li><li>-1代表0.8倍</li><li>0代表1.0倍(默认)</li><li>1代表1.2倍</li><li>2代表1.5倍</li>如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。<br>参数值与实际语速转换,可参考[代码示例](https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz)
|
29
27
|
# @type Speed: Float
|
30
28
|
# @param ProjectId: 项目id,用户自定义,默认为0。
|
31
29
|
# @type ProjectId: Integer
|
30
|
+
# @param ModelType: 模型类型,1-默认模型。
|
31
|
+
# @type ModelType: Integer
|
32
32
|
# @param VoiceType: 音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见[购买指南](https://cloud.tencent.com/document/product/1073/34112)。完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
|
33
33
|
# @type VoiceType: Integer
|
34
34
|
# @param PrimaryLanguage: 主语言类型:<li>1-中文(默认)</li><li>2-英文</li><li>3-日文</li>
|
@@ -48,14 +48,14 @@ module TencentCloud
|
|
48
48
|
# @param EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效。
|
49
49
|
# @type EmotionIntensity: Integer
|
50
50
|
|
51
|
-
attr_accessor :Text, :
|
51
|
+
attr_accessor :Text, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :CallbackUrl, :EnableSubtitle, :VoiceoverDialogueSplit, :EmotionCategory, :EmotionIntensity
|
52
52
|
|
53
|
-
def initialize(text=nil,
|
53
|
+
def initialize(text=nil, volume=nil, speed=nil, projectid=nil, modeltype=nil, voicetype=nil, primarylanguage=nil, samplerate=nil, codec=nil, callbackurl=nil, enablesubtitle=nil, voiceoverdialoguesplit=nil, emotioncategory=nil, emotionintensity=nil)
|
54
54
|
@Text = text
|
55
|
-
@ModelType = modeltype
|
56
55
|
@Volume = volume
|
57
56
|
@Speed = speed
|
58
57
|
@ProjectId = projectid
|
58
|
+
@ModelType = modeltype
|
59
59
|
@VoiceType = voicetype
|
60
60
|
@PrimaryLanguage = primarylanguage
|
61
61
|
@SampleRate = samplerate
|
@@ -69,10 +69,10 @@ module TencentCloud
|
|
69
69
|
|
70
70
|
def deserialize(params)
|
71
71
|
@Text = params['Text']
|
72
|
-
@ModelType = params['ModelType']
|
73
72
|
@Volume = params['Volume']
|
74
73
|
@Speed = params['Speed']
|
75
74
|
@ProjectId = params['ProjectId']
|
75
|
+
@ModelType = params['ModelType']
|
76
76
|
@VoiceType = params['VoiceType']
|
77
77
|
@PrimaryLanguage = params['PrimaryLanguage']
|
78
78
|
@SampleRate = params['SampleRate']
|
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.
|
4
|
+
version: 3.0.795
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|