tencentcloud-sdk-tts 3.0.794 → 3.0.796
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: 69fd174cd395c61a4c5360a2da8ecf8df717387f
|
4
|
+
data.tar.gz: 962d92649d8f3180aa68827fc6bc0216c9032cf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3becf063b1a19ce219bacfa976f719fb27dec5c122632aa83f995a011be25b637e05836760fea4445c6a6f15d20f4aabea9dd019115deb0fa0cd4341bc67de1e
|
7
|
+
data.tar.gz: 25b728a63678db8d670e82759f21eba8e8cdbb788069c762b6c47d13bef1dadbcb9387816a60289d3d77d567ef89dd085333e0978920c0da5c0d94ed6718564d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.796
|
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.796
|
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-03
|
11
|
+
date: 2024-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|